aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2006-08-18 08:33:46 +0800
committeralepulver <alepulver@FreeBSD.org>2006-08-18 08:33:46 +0800
commitbc8f5d2f913da806666273700090b499c395e71e (patch)
tree3ef99e94aa4dc70c74a2bb5796de4b0edb06ffdd /games
parent0536b8ca5ed3555d6c3f575d3afec0400e385972 (diff)
downloadfreebsd-ports-gnome-bc8f5d2f913da806666273700090b499c395e71e.tar.gz
freebsd-ports-gnome-bc8f5d2f913da806666273700090b499c395e71e.tar.zst
freebsd-ports-gnome-bc8f5d2f913da806666273700090b499c395e71e.zip
- Fix building.
Diffstat (limited to 'games')
-rw-r--r--games/duke3d-data/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/games/duke3d-data/Makefile b/games/duke3d-data/Makefile
index 3821d5ace81c..ba1b515c760e 100644
--- a/games/duke3d-data/Makefile
+++ b/games/duke3d-data/Makefile
@@ -22,8 +22,6 @@ DISTFILES= #
MAINTAINER= alepulver@FreeBSD.org
COMMENT= Duke Nukem 3D Data
-BROKEN= Does not build
-
USE_ZIP= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
@@ -39,16 +37,20 @@ DATADIR= ${DN3DDIR}
.if defined(WITH_SHAREWARE)
DISTFILES+= 3dduke13.zip
PLIST_SUB+= SHAREWARE=""
+.else
+PLIST_SUB+= SHAREWARE="@comment "
+SUB_FILES+= pkg-message
+.endif
+.if defined(WITH_SHAREWARE)
post-extract:
@cd ${WRKSRC} && ${UNZIP_CMD} -qo DN3DSW13.SHR
+.endif
do-install:
+.if defined(WITH_SHAREWARE)
${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/DUKE3D.GRP ${DATADIR}/duke3d.grp
-.else
-PLIST_SUB+= SHAREWARE="@comment "
-SUB_FILES+= pkg-message
post-install:
@${ECHO_CMD}