diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-04-13 19:47:03 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-04-13 19:47:03 +0000 |
commit | 837c9dce6cbd40162cfce9e508f185f8945e7789 (patch) | |
tree | 9852567439fc365fc10fb30023d7d6efeff2f1ce /games/magicor | |
parent | e26dc6414d6f8708bf64cb7800f9fe740674e9e4 (diff) | |
download | ports-837c9dce6cbd40162cfce9e508f185f8945e7789.tar.gz ports-837c9dce6cbd40162cfce9e508f185f8945e7789.zip |
- Fix shebangs
- Cosmetic fixes
Notes
Notes:
svn path=/head/; revision=438475
Diffstat (limited to 'games/magicor')
-rw-r--r-- | games/magicor/Makefile | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/games/magicor/Makefile b/games/magicor/Makefile index c072e8030ccd..33fff5cb847d 100644 --- a/games/magicor/Makefile +++ b/games/magicor/Makefile @@ -3,7 +3,7 @@ PORTNAME= magicor PORTVERSION= 1.1 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= games MASTER_SITES= SF DISTFILES= ${PORTNAME}-source-${PORTVERSION}${EXTRACT_SUFX} \ @@ -17,7 +17,8 @@ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${PYTHON_SITELIBDIR}/pygame/__init__.py:devel/py-game -USES= python +USES= python shebangfix +SHEBANG_FILES= *.py NO_BUILD= yes NO_ARCH= yes @@ -49,9 +50,9 @@ post-patch: @${FIND} ${WRKSRC}/magicor -name "*.pyc" -delete do-install: - cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ - cd ${WRKSRC}/magicor && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/magicor/ - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/magicor + @cd ${WRKSRC}/data && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/ + @cd ${WRKSRC}/magicor && ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/magicor/ + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/magicor ${INSTALL_SCRIPT} ${WRKSRC}/Magicor.py ${STAGEDIR}${PREFIX}/bin/magicor ${INSTALL_DATA} ${WRKSRC}/etc/magicor.conf \ ${STAGEDIR}${PREFIX}/etc/magicor/magicor.conf.sample @@ -62,7 +63,7 @@ do-install-EDITOR-on: ${STAGEDIR}${PREFIX}/etc/magicor/magicor-editor.conf.sample do-install-DOCS-on: - ${MKDIR} ${STAGEDIR}${DOCSDIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}/ .include <bsd.port.mk> |