diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-04-14 03:47:03 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-04-14 03:47:03 +0800 |
commit | 855890c4e80b7cd95fe3fd004c4537ac576d8c8e (patch) | |
tree | 9852567439fc365fc10fb30023d7d6efeff2f1ce /games | |
parent | a93ea4c4ab5a6cba437266196f0dfa6c79b5ad19 (diff) | |
download | freebsd-ports-gnome-855890c4e80b7cd95fe3fd004c4537ac576d8c8e.tar.gz freebsd-ports-gnome-855890c4e80b7cd95fe3fd004c4537ac576d8c8e.tar.zst freebsd-ports-gnome-855890c4e80b7cd95fe3fd004c4537ac576d8c8e.zip |
- Fix shebangs
- Cosmetic fixes
Diffstat (limited to 'games')
-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> |