diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2014-05-02 15:44:31 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2014-05-02 15:44:31 +0000 |
commit | 57e1777e91936a84f4ca0ca0ab62fdc9da78cf30 (patch) | |
tree | e6b1a7c7ffffd837564fbbe1f9a0848492688cc0 /games/pyawale | |
parent | b243855f9fc4ac76491afe1408b402df03c025d4 (diff) | |
download | ports-57e1777e91936a84f4ca0ca0ab62fdc9da78cf30.tar.gz ports-57e1777e91936a84f4ca0ca0ab62fdc9da78cf30.zip |
Notes
Diffstat (limited to 'games/pyawale')
-rw-r--r-- | games/pyawale/Makefile | 16 | ||||
-rw-r--r-- | games/pyawale/files/pyawale.in | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/games/pyawale/Makefile b/games/pyawale/Makefile index c38a2ca9a91a..a9573219544b 100644 --- a/games/pyawale/Makefile +++ b/games/pyawale/Makefile @@ -7,7 +7,7 @@ PORTREVISION= 5 CATEGORIES= games python MASTER_SITES= http://download.gna.org/pyawale/ -MAINTAINER= nemysis@FreeBSD.org +MAINTAINER= games@FreeBSD.org COMMENT= African board game LICENSE= GPLv2 @@ -29,8 +29,6 @@ DOC_FILES2= *.rest *.html *.jpg OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-patch: @${FIND} ${WRKSRC} -name '*.py' | ${XARGS} \ ${REINPLACE_CMD} -e 's|/usr/bin/python|${PYTHON_CMD}|' @@ -41,15 +39,17 @@ do-build: @${PYTHON_CMD} -O -m compileall ${WRKSRC} do-install: + @${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' \ + ${WRKDIR}/${PORTNAME} ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ @(cd ${WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}) - ${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.png ${STAGEDIR}${PREFIX}/share/pixmaps/ - @${MKDIR} ${STAGEDIR}${DESKTOPDIR} - ${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} + ${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.png \ + ${STAGEDIR}${PREFIX}/share/pixmaps/ + ${INSTALL_DATA} ${WRKSRC}/docs/${PORTNAME}.desktop \ + ${STAGEDIR}${DESKTOPDIR} - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR2} + ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} .include <bsd.port.mk> diff --git a/games/pyawale/files/pyawale.in b/games/pyawale/files/pyawale.in index 209558ce87df..3e6b25f7648b 100644 --- a/games/pyawale/files/pyawale.in +++ b/games/pyawale/files/pyawale.in @@ -4,4 +4,4 @@ # cd "%%DATADIR%%" -exec /usr/bin/env python ./pyawale.py +exec %%PYTHON_CMD%% ./pyawale.py |