diff options
author | swills <swills@FreeBSD.org> | 2014-03-28 19:51:47 +0000 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2014-03-28 19:51:47 +0000 |
commit | 9778be45288b59383fa4e5802c4dd93138fd457f (patch) | |
tree | 3a86a028733b2f1cc123cc30b73982c140ba0ba0 | |
parent | df2c5b57ca6096cccefd625b2bd219b602b73235 (diff) | |
download | FreeBSD-ports-9778be45288b59383fa4e5802c4dd93138fd457f.zip FreeBSD-ports-9778be45288b59383fa4e5802c4dd93138fd457f.tar.gz |
- 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)
-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 e12393c..c3fba2e 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> |