aboutsummaryrefslogtreecommitdiff
path: root/games/linux-doom3
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-16 03:17:37 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-16 03:17:37 +0000
commitbfbed3d4ffb36c77487db2292965e4644a1c148b (patch)
tree1a37636c81c99df253b8d5c0729783c6c6446033 /games/linux-doom3
parent2253c40e5fbc0929e3b36a02073af6e557cba714 (diff)
downloadports-bfbed3d4ffb36c77487db2292965e4644a1c148b.tar.gz
ports-bfbed3d4ffb36c77487db2292965e4644a1c148b.zip
Notes
Diffstat (limited to 'games/linux-doom3')
-rw-r--r--games/linux-doom3/Makefile22
1 files changed, 8 insertions, 14 deletions
diff --git a/games/linux-doom3/Makefile b/games/linux-doom3/Makefile
index 6d176b602b4a..2627744b5966 100644
--- a/games/linux-doom3/Makefile
+++ b/games/linux-doom3/Makefile
@@ -26,7 +26,6 @@ NO_CDKEY_DESC= Use older version which doesn't require cd key
DATADIR= ${PREFIX}/lib/${PKGNAMEPREFIX}${PORTNAME}
SUB_FILES= doom3 doom3-ded pkg-message
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNO_CDKEY}
@@ -49,25 +48,20 @@ post-extract:
.endif
do-install:
- ${MKDIR} ${DATADIR}/base
+ @${MKDIR} ${STAGEDIR}${DATADIR}/base
cd ${WRKSRC}/base && \
- ${INSTALL_DATA} game01.pk4 pak*.pk4 ${DATADIR}/base
+ ${INSTALL_DATA} game01.pk4 pak*.pk4 ${STAGEDIR}${DATADIR}/base
cd ${WRKSRC}/bin/Linux/x86 && \
- ${INSTALL_PROGRAM} doom.x86 doomded.x86 ${DATADIR}
+ ${INSTALL_PROGRAM} doom.x86 doomded.x86 ${STAGEDIR}${DATADIR}
.if empty(PORT_OPTIONS:MNO_CDKEY)
- ${MKDIR} ${DATADIR}/d3xp
+ @${MKDIR} ${STAGEDIR}${DATADIR}/d3xp
cd ${WRKSRC}/d3xp && \
- ${INSTALL_DATA} game01.pk4 pak*.pk4 ${DATADIR}/d3xp
- ${CP} -r ${WRKSRC}/pb ${DATADIR}
+ ${INSTALL_DATA} game01.pk4 pak*.pk4 ${STAGEDIR}${DATADIR}/d3xp
+ ${CP} -r ${WRKSRC}/pb ${STAGEDIR}${DATADIR}
.endif
- ${INSTALL_DATA} ${WRKSRC}/doom3.png ${PREFIX}/share/pixmaps
+ ${INSTALL_DATA} ${WRKSRC}/doom3.png ${STAGEDIR}${PREFIX}/share/pixmaps
.for f in doom3 doom3-ded
- ${INSTALL_PROGRAM} ${WRKDIR}/${f} ${PREFIX}/bin/${PKGNAMEPREFIX}${f}
+ ${INSTALL_PROGRAM} ${WRKDIR}/${f} ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}${f}
.endfor
-post-install:
- @${ECHO_CMD}
- @${CAT} ${PKGMESSAGE}
- @${ECHO_CMD}
-
.include <bsd.port.mk>