aboutsummaryrefslogtreecommitdiff
path: root/games/uhexen
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2005-05-04 08:21:20 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2005-05-04 08:21:20 +0000
commit6eb3a2070846df09aac6f2d5827a40431c2303b4 (patch)
treed34def88eba16085b4d8a8908eab1bce1e7edccb /games/uhexen
parent0767681905bd53f73f5363086414ff96ae324947 (diff)
downloadports-6eb3a2070846df09aac6f2d5827a40431c2303b4.tar.gz
ports-6eb3a2070846df09aac6f2d5827a40431c2303b4.zip
Notes
Diffstat (limited to 'games/uhexen')
-rw-r--r--games/uhexen/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/uhexen/Makefile b/games/uhexen/Makefile
index ec189df9bb4d..5f05d8d07047 100644
--- a/games/uhexen/Makefile
+++ b/games/uhexen/Makefile
@@ -24,7 +24,7 @@ OPTIONS= WAD "Install demo-version WAD file" on \
.include <bsd.port.pre.mk>
-.if defined(WITH_WAD)
+.if !defined(WITHOUT_WAD)
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} hexen.zip
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
EXTRACT_DEPENDS= unzip:${PORTSDIR}/archivers/unzip
@@ -43,7 +43,7 @@ PLIST_DIRS= %%DATADIR%%
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
post-extract:
-.if defined(WITH_WAD)
+.if !defined(WITHOUT_WAD)
@${LOCALBASE}/bin/unzip -qo ${_DISTDIR}/hexen.zip \
-d ${WRKSRC}
.endif
@@ -51,7 +51,7 @@ post-extract:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/uhexen ${PREFIX}/bin
@${MKDIR} ${DATADIR}
-.if defined(WITH_WAD)
+.if !defined(WITHOUT_WAD)
${INSTALL_DATA} ${WRKSRC}/hexen.wad ${DATADIR}
.endif
@${TOUCH} ${DATADIR}/.keep_me