aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2014-02-28 21:52:18 +0800
committerculot <culot@FreeBSD.org>2014-02-28 21:52:18 +0800
commit99d58e933ac294b73682ffbb11d5c26472914e87 (patch)
treef7e6915bc587b1331935a8f9e7e4695fc0d8c893 /games
parent3a0c7f41b92040f429186437e24a4073ab9b185e (diff)
downloadfreebsd-ports-gnome-99d58e933ac294b73682ffbb11d5c26472914e87.tar.gz
freebsd-ports-gnome-99d58e933ac294b73682ffbb11d5c26472914e87.tar.zst
freebsd-ports-gnome-99d58e933ac294b73682ffbb11d5c26472914e87.zip
- Support staging
- Convert to USES framework - Update LICENSE (BSD 2-clause) - Remove leading article from COMMENT
Diffstat (limited to 'games')
-rw-r--r--games/oldrunner/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/games/oldrunner/Makefile b/games/oldrunner/Makefile
index 70ec39820ae6..897294c153a5 100644
--- a/games/oldrunner/Makefile
+++ b/games/oldrunner/Makefile
@@ -8,29 +8,27 @@ MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= culot
MAINTAINER= culot@FreeBSD.org
-COMMENT= A textmode remake of Broderbund's LodeRunner
+COMMENT= Textmode remake of Broderbund's LodeRunner
-LICENSE= BSD
+LICENSE= BSD2CLAUSE
+USES= gmake
HAS_CONFIGURE= yes
-USE_GMAKE= yes
MAKEFILE= GNUmakefile
-MAN6= oldrunner.6
WRKSRC= ${WRKDIR}/${PORTNAME}
-PLIST_FILES= bin/oldrunner ${DATADIR_REL}/original.lvl
+PLIST_FILES= bin/oldrunner ${DATADIR_REL}/original.lvl man/man6/oldrunner.6.gz
PLIST_DIRS= ${DATADIR_REL}
-NO_STAGE= yes
post-patch:
${REINPLACE_CMD} -e '/LEVELS_PATH/s,/usr/local/share/oldrunner,${DATADIR},g' \
${WRKSRC}/cfg.h
do-install:
- ${MKDIR} ${DATADIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/oldrunner ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/levels/original.lvl ${DATADIR}
- ${INSTALL_MAN} ${WRKSRC}/oldrunner.6 ${MANPREFIX}/man/man6
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/oldrunner ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/levels/original.lvl ${STAGEDIR}${DATADIR}
+ ${INSTALL_MAN} ${WRKSRC}/oldrunner.6 ${STAGEDIR}${MANPREFIX}/man/man6
.include <bsd.port.mk>