diff options
author | Steve Wills <swills@FreeBSD.org> | 2014-03-28 19:51:47 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2014-03-28 19:51:47 +0000 |
commit | b4de3489678ce3d2a0a423bc213c835987d3980d (patch) | |
tree | 3a86a028733b2f1cc123cc30b73982c140ba0ba0 /games/hohlin/Makefile | |
parent | 3b7b7e5f1ed1e297a8ce85b6f6039ecd2b525778 (diff) | |
download | ports-b4de3489678ce3d2a0a423bc213c835987d3980d.tar.gz ports-b4de3489678ce3d2a0a423bc213c835987d3980d.zip |
- Stagify
- Remove NOPORTDOCS and USE_BZIP2
PR: ports/187503
Submitted by: Johannes Jost Meixner <xmj@chaot.net>
Approved by: maintainer timeout (jmohacsi@bsd.hu, >2 weeks)
Notes
Notes:
svn path=/head/; revision=349455
Diffstat (limited to 'games/hohlin/Makefile')
-rw-r--r-- | games/hohlin/Makefile | 37 |
1 files changed, 17 insertions, 20 deletions
diff --git a/games/hohlin/Makefile b/games/hohlin/Makefile index e12393cc54d4..c3fba2eef336 100644 --- a/games/hohlin/Makefile +++ b/games/hohlin/Makefile @@ -3,7 +3,7 @@ PORTNAME= hohlin PORTVERSION= 1.01 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games #MASTER_SITES= http://retrospec.sgn.net/download.php?id=63&path=games/hoh/bin/ #requires post to download @@ -16,32 +16,29 @@ COMMENT= Remake of the classic spectrum game Head over Heels WRKSRC= ${WRKDIR}/hoh-install-${PORTVERSION}/ -USE_BZIP2= YES +USES= tar:bzip2 USE_LINUX= yes USE_LINUX_APPS= xorglibs -ONLY_FOR_ARCHS= i386 +ONLY_FOR_ARCHS= i386 amd64 SHORTPORTVERSION=${PORTVERSION:C/([0-9]*)\.([0-9]*)/\1\2/} -NO_STAGE= yes -.include <bsd.port.pre.mk> +.include <bsd.port.options.mk> do-build: ${BRANDELF} -t Linux ${WRKSRC}/data/HoH do-install: - ${MKDIR} ${DATADIR} - ${INSTALL_PROGRAM} ${WRKSRC}/data/HoH ${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/data/HoHOriginal.dat ${DATADIR} - ${MKDIR} ${DATADIR}/Sound - ${INSTALL_DATA} ${WRKSRC}/data/Sound/Sound.dat ${DATADIR}/Sound/ - ${INSTALL_DATA} ${WRKSRC}/data/Sound/Game.ogg ${DATADIR}/Sound/ - ${INSTALL_DATA} ${WRKSRC}/data/Sound/Theme.ogg ${DATADIR}/Sound/ + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_PROGRAM} ${WRKSRC}/data/HoH ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/data/HoHOriginal.dat ${STAGEDIR}${DATADIR} + ${MKDIR} ${STAGEDIR}${DATADIR}/Sound + ${INSTALL_DATA} ${WRKSRC}/data/Sound/Sound.dat ${STAGEDIR}${DATADIR}/Sound/ + ${INSTALL_DATA} ${WRKSRC}/data/Sound/Game.ogg ${STAGEDIR}${DATADIR}/Sound/ + ${INSTALL_DATA} ${WRKSRC}/data/Sound/Theme.ogg ${STAGEDIR}${DATADIR}/Sound/ ${SED} -e 's:%%DATADIR%%:${DATADIR}:g' ${FILESDIR}/hoh.sh > \ - ${PREFIX}/bin/HoH - ${CHMOD} +x ${PREFIX}/bin/HoH -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/docs/* ${DOCSDIR} -.endif - -.include <bsd.port.post.mk> + ${STAGEDIR}${PREFIX}/bin/HoH + ${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/HoH + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${CP} -R ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} + +.include <bsd.port.mk> |