aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Culot <culot@FreeBSD.org>2014-02-28 13:52:18 +0000
committerFrederic Culot <culot@FreeBSD.org>2014-02-28 13:52:18 +0000
commit34aad93b3473b0cb886ac8147463d322eac35fe0 (patch)
treef7e6915bc587b1331935a8f9e7e4695fc0d8c893
parenta42ba1b11b8fef99af76378614a6819351c7a361 (diff)
downloadports-34aad93b3473b0cb886ac8147463d322eac35fe0.tar.gz
ports-34aad93b3473b0cb886ac8147463d322eac35fe0.zip
Notes
-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>