aboutsummaryrefslogtreecommitdiff
path: root/games/linux-majesty-demo
diff options
context:
space:
mode:
authorMarcus von Appen <mva@FreeBSD.org>2014-01-17 18:09:49 +0000
committerMarcus von Appen <mva@FreeBSD.org>2014-01-17 18:09:49 +0000
commit5421b82e0c67876529de7045d54d1568f3c5b19b (patch)
tree2b65a485569e3865758b6c652b2cab9902a09e2a /games/linux-majesty-demo
parent87e0a5dabe45374ac5b1fcc67c1757edeed7dbeb (diff)
downloadports-5421b82e0c67876529de7045d54d1568f3c5b19b.tar.gz
ports-5421b82e0c67876529de7045d54d1568f3c5b19b.zip
Notes
Diffstat (limited to 'games/linux-majesty-demo')
-rw-r--r--games/linux-majesty-demo/Makefile18
1 files changed, 8 insertions, 10 deletions
diff --git a/games/linux-majesty-demo/Makefile b/games/linux-majesty-demo/Makefile
index 9ce11093c2ce..43029359e70d 100644
--- a/games/linux-majesty-demo/Makefile
+++ b/games/linux-majesty-demo/Makefile
@@ -22,7 +22,6 @@ DATADIR= ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
SUB_FILES= majesty
PORTDOCS= README README.licenses EULA
-NO_STAGE= yes
.include <bsd.port.pre.mk>
do-extract:
@@ -35,15 +34,14 @@ do-build:
${BRANDELF} -t Linux ${WRKSRC}/bin/Linux/x86/maj_demo.dynamic
do-install:
- @${MKDIR} ${DATADIR}
+ @${MKDIR} ${STAGEDIR}${DATADIR}
@cd ${WRKSRC}/bin/Linux/x86 && \
- ${INSTALL_PROGRAM} maj_demo maj_demo.dynamic ${DATADIR}
- @${INSTALL_PROGRAM} ${WRKDIR}/majesty ${PREFIX}/bin/${PKGNAMEPREFIX}majesty
- @${CP} -R ${WRKSRC}/quests ${DATADIR}
- @${CP} -R ${WRKSRC}/data ${DATADIR}
-.if !defined (NOPORTDOCS)
- @${INSTALL} -d ${DOCSDIR}
- @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} maj_demo maj_demo.dynamic ${STAGEDIR}${DATADIR}
+ @${INSTALL_PROGRAM} ${WRKDIR}/majesty \
+ ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}majesty
+ @${CP} -R ${WRKSRC}/quests ${STAGEDIR}${DATADIR}
+ @${CP} -R ${WRKSRC}/data ${STAGEDIR}${DATADIR}
+ @${INSTALL} -d ${STAGEDIR}${DOCSDIR}
+ @cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.post.mk>