aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-02-17 17:48:14 +0800
committermiwi <miwi@FreeBSD.org>2014-02-17 17:48:14 +0800
commitc2e0c8fa69278e3a40d94fb4c9b24a8281923d48 (patch)
tree3b440004f73c67ef82e89e24d6344b9c01f2c703 /games
parent3de76f079829c8d67821b0201f6a013ea270da18 (diff)
downloadfreebsd-ports-gnome-c2e0c8fa69278e3a40d94fb4c9b24a8281923d48.tar.gz
freebsd-ports-gnome-c2e0c8fa69278e3a40d94fb4c9b24a8281923d48.tar.zst
freebsd-ports-gnome-c2e0c8fa69278e3a40d94fb4c9b24a8281923d48.zip
- Stage support
Diffstat (limited to 'games')
-rw-r--r--games/nwndata/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/games/nwndata/Makefile b/games/nwndata/Makefile
index 2d172105ce47..c0e33e84001a 100644
--- a/games/nwndata/Makefile
+++ b/games/nwndata/Makefile
@@ -37,18 +37,17 @@ NO_BUILD= yes
WRKSRC= ${WRKDIR}/nwn
NO_PACKAGE= Compressed package is in excess of 1 GB
-NO_STAGE= yes
do-install:
- ${MKDIR} ${DATADIR}
+ ${MKDIR} ${STAGEDIR}${DATADIR}
.if defined(NWN_DIAMOND)
7z e -y -x'r!*.dll' -x'r!*.exe' -o${WRKSRC}/Kingmaker\
${CDROM_MOUNT}/KingmakerSetup.exe
.for zipfile in Data_Shared.zip Data_linux.zip data/XP1.zip data/XP2.zip
- (cd ${DATADIR} && ${UNZIP_CMD} -o ${CDROM_MOUNT}/${zipfile})
+ (cd ${STAGEDIR}${DATADIR} && ${UNZIP_CMD} -o ${CDROM_MOUNT}/${zipfile})
.endfor
.else
(cd ${WRKSRC} && ${FIND} . -print | \
- ${CPIO} -pdmuv -R${SHAREOWN}:${SHAREGRP} ${DATADIR})
+ ${CPIO} -pdmuv -R${SHAREOWN}:${SHAREGRP} ${STAGEDIR}${DATADIR})
.endif
.include <bsd.port.mk>