summaryrefslogtreecommitdiffstats
path: root/games/uhexen
diff options
context:
space:
mode:
authordanfe <danfe@FreeBSD.org>2005-05-04 08:21:20 +0000
committerdanfe <danfe@FreeBSD.org>2005-05-04 08:21:20 +0000
commitb5a79ab067cd31509eddeecfbaef40c805340054 (patch)
tree0ac5af03029ae69a27c0fef0c7160692bb2e4370 /games/uhexen
parentf19c278d5ff45fc960ff18c976ad562a94325f98 (diff)
downloadFreeBSD-ports-b5a79ab067cd31509eddeecfbaef40c805340054.zip
FreeBSD-ports-b5a79ab067cd31509eddeecfbaef40c805340054.tar.gz
Refactor parts or previous change to stop breaking POLA when not using
OPTIONS but command line -DFOO arguments instead.
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 ec189df..5f05d8d 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
OpenPOWER on IntegriCloud