aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-08-18 00:33:46 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-08-18 00:33:46 +0000
commit6d15871f7d257fd1ae8cb9093355d4c6b497efb9 (patch)
tree16733adcfcfb878907d4db935ab472554f47f2e1 /games
parent575c73348a7b63a7e51fe12dd28177d6475f2ae0 (diff)
downloadports-6d15871f7d257fd1ae8cb9093355d4c6b497efb9.tar.gz
ports-6d15871f7d257fd1ae8cb9093355d4c6b497efb9.zip
Notes
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}