FreeBSD Bugzilla – Attachment 128797 Details for
Bug 172679
[PATCH] games/pyawale: Makefile clearly, simplified, OptionsNG, take maintainership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pyawale-0.4.0_3.patch
pyawale-0.4.0_3.patch (text/plain), 9.09 KB, created by
nemysis
on 2012-10-14 00:30:00 UTC
(
hide
)
Description:
pyawale-0.4.0_3.patch
Filename:
MIME Type:
Creator:
nemysis
Created:
2012-10-14 00:30:00 UTC
Size:
9.09 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/games/pyawale/Makefile ./Makefile >--- /usr/ports/games/pyawale/Makefile 2012-06-01 07:19:12.000000000 +0200 >+++ ./Makefile 2012-10-13 21:40:10.000000000 +0200 >@@ -7,47 +7,60 @@ > > PORTNAME= pyawale > PORTVERSION= 0.4.0 >-PORTREVISION= 2 >-CATEGORIES= games >+PORTREVISION= 3 >+CATEGORIES= games python > MASTER_SITES= http://download.gna.org/pyawale/ > >-MAINTAINER= ports@FreeBSD.org >+MAINTAINER= nemysis@gmx.ch > COMMENT= African board game > > LICENSE= GPLv2 > >-RUN_DEPENDS= py*-game>=1.7.1:${PORTSDIR}/devel/py-game >+RUN_DEPENDS= ${PYGAME} > > USE_PYTHON= yes > >+PLIST_FILES= bin/${PORTNAME} \ >+ share/applications/${PORTNAME}.desktop \ >+ share/pixmaps/${PORTNAME}.png >+PLIST_DIRSTRY= share/applications >+ >+PORTDATA= * >+PORTDOCS= * >+ >+DOCSRCDIR1= ${WRKSRC} >+DOC_FILES1= AUTHORS ChangeLog LISEZMOI NEWS README >+ >+DOCSRCDIR2= ${WRKSRC}/docs >+DOCSDIR2= ${DOCSDIR}/docs >+DOC_FILES2= *.rest *.html *.jpg >+ >+SUB_FILES= ${PORTNAME} >+ >+.include <bsd.port.options.mk> >+ >+post-patch: >+ @${FIND} ${WRKSRC} -name '*.py' | ${XARGS} \ >+ ${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' >+ @${FIND} ${WRKSRC} -name "*.bak" -delete >+ > do-build: >- @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/src >- @${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}/src >- @${ECHO_CMD} "#!/bin/sh" > ${WRKSRC}/${PORTNAME} >- @${ECHO_CMD} "exec ${PYTHON_CMD} \ >- ${PYTHONPREFIX_SITELIBDIR}/pyAwale/${PORTNAME}.py" \ >- >> ${WRKSRC}/${PORTNAME} >+ @${PYTHON_CMD} -m compileall ${WRKSRC} >+ @${PYTHON_CMD} -O -m compileall ${WRKSRC} > > do-install: >- ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin >- @${MKDIR} ${PYTHONPREFIX_SITELIBDIR}/pyAwale >- @(cd ${WRKSRC}/src \ >- && ${COPYTREE_SHARE} . ${PYTHONPREFIX_SITELIBDIR}/pyAwale) >- @${MKDIR} ${PREFIX}/share/applications >- ${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.desktop \ >- ${PREFIX}/share/applications >- @${MKDIR} ${PREFIX}/share/pixmaps >- ${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.png \ >- ${PREFIX}/share/pixmaps >-.if !defined(NOPORTDOCS) >- @${MKDIR} ${DOCSDIR} >-.for i in AUTHORS ChangeLog NEWS README >- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} >-.endfor >- @${MKDIR} ${DOCSDIR}/docs >- ${INSTALL_DATA} ${WRKSRC}/docs/*.jpg ${DOCSDIR}/docs >- ${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}/docs >- ${INSTALL_DATA} ${WRKSRC}/docs/*.rest ${DOCSDIR}/docs >+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin >+ ${MKDIR} ${DATADIR} >+ @(cd ${WRKSRC}/src && ${COPYTREE_SHARE} \* ${DATADIR}) >+ ${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.png ${PREFIX}/share/pixmaps >+ ${MKDIR} ${PREFIX}/share/applications >+ ${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.desktop ${PREFIX}/share/applications >+ >+.if ${PORT_OPTIONS:MDOCS} >+ ${MKDIR} ${DOCSDIR} >+ ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${DOCSDIR} >+ ${MKDIR} ${DOCSDIR2} >+ ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${DOCSDIR2} > .endif > > .include <bsd.port.mk> >diff -ruN --exclude=CVS /usr/ports/games/pyawale/files/pyawale.in ./files/pyawale.in >--- /usr/ports/games/pyawale/files/pyawale.in 1970-01-01 01:00:00.000000000 +0100 >+++ ./files/pyawale.in 2012-10-13 21:17:50.000000000 +0200 >@@ -0,0 +1,7 @@ >+#!/bin/sh >+# >+# $FreeBSD$ >+# >+ >+cd "%%DATADIR%%" >+exec /usr/bin/env python ./pyawale.py >diff -ruN --exclude=CVS /usr/ports/games/pyawale/pkg-descr ./pkg-descr >--- /usr/ports/games/pyawale/pkg-descr 2009-01-09 00:49:40.000000000 +0100 >+++ ./pkg-descr 2012-10-14 01:13:09.000000000 +0200 >@@ -1,5 +1,13 @@ > Awale or Oware is a game of great antiquity, and has been played around >-the world in various forms for millenia. Currently it is the official >-board game of Africa. Wikipedia: Oware >+the world in various forms for millenia. Currently it is the official >+board game of Africa. >+ >+Wikipedia Oware >+ >+Member of the Mancala family of board games. There are many variants >+to the rules of this game, which is for two players. This version is >+between a player and the computer. >+ >+Wikipedia Mancala > > WWW: https://gna.org/projects/pyawale/ >diff -ruN --exclude=CVS /usr/ports/games/pyawale/pkg-plist ./pkg-plist >--- /usr/ports/games/pyawale/pkg-plist 2012-03-24 17:25:28.000000000 +0100 >+++ ./pkg-plist 1970-01-01 01:00:00.000000000 +0100 >@@ -1,99 +0,0 @@ >-bin/pyawale >-%%PYTHON_SITELIBDIR%%/pyAwale/__init__.py >-%%PYTHON_SITELIBDIR%%/pyAwale/__init__.pyc >-%%PYTHON_SITELIBDIR%%/pyAwale/__init__.pyo >-%%PYTHON_SITELIBDIR%%/pyAwale/awale.py >-%%PYTHON_SITELIBDIR%%/pyAwale/awale.pyc >-%%PYTHON_SITELIBDIR%%/pyAwale/awale.pyo >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_board_closed.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_board_empty.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_0.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_1.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_10.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_11.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_12.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_13.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_14.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_15.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_16.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_17.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_18.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_19.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_2.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_20.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_21.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_22.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_23.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_24.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_25.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_3.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_4.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_5.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_6.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_7.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_8.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_north_9.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_0.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_10d.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_11d.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_12d.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_12d_13.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_14d.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_15d.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_1d.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_2c.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_3b.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_4D.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_5d.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_6c.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_7b.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_8e.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_seed_9d.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_0.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_1.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_10.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_11.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_12.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_13.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_14.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_15.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_16.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_17.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_18.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_19.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_2.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_20.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_21.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_22.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_23.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_24.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_25.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_3.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_4.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_5.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_6.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_7.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_8.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/awale_south_9.png >-%%PYTHON_SITELIBDIR%%/pyAwale/images/freesansbold.ttf >-%%PYTHON_SITELIBDIR%%/pyAwale/pyawale.py >-%%PYTHON_SITELIBDIR%%/pyAwale/pyawale.pyc >-%%PYTHON_SITELIBDIR%%/pyAwale/pyawale.pyo >-share/applications/pyawale.desktop >-%%PORTDOCS%%%%DOCSDIR%%/AUTHORS >-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog >-%%PORTDOCS%%%%DOCSDIR%%/NEWS >-%%PORTDOCS%%%%DOCSDIR%%/README >-%%PORTDOCS%%%%DOCSDIR%%/docs/awale_algos.rest >-%%PORTDOCS%%%%DOCSDIR%%/docs/awale_module.rest >-%%PORTDOCS%%%%DOCSDIR%%/docs/pyawale.html >-%%PORTDOCS%%%%DOCSDIR%%/docs/pyawale.rest >-%%PORTDOCS%%%%DOCSDIR%%/docs/pyawale_end.jpg >-%%PORTDOCS%%%%DOCSDIR%%/docs/pyawale_gui.jpg >-%%PORTDOCS%%%%DOCSDIR%%/docs/pyawale_intro.jpg >-share/pixmaps/pyawale.png >-%%PORTDOCS%%@dirrm %%DOCSDIR%%/docs >-%%PORTDOCS%%@dirrm %%DOCSDIR%% >-@dirrmtry share/applications >-@dirrm %%PYTHON_SITELIBDIR%%/pyAwale/images >-@dirrm %%PYTHON_SITELIBDIR%%/pyAwale
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 172679
: 128797 |
128798