diff options
author | danfe <danfe@FreeBSD.org> | 2005-05-04 16:21:20 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2005-05-04 16:21:20 +0800 |
commit | b5a79ab067cd31509eddeecfbaef40c805340054 (patch) | |
tree | 0ac5af03029ae69a27c0fef0c7160692bb2e4370 /games/uhexen | |
parent | f19c278d5ff45fc960ff18c976ad562a94325f98 (diff) | |
download | freebsd-ports-gnome-b5a79ab067cd31509eddeecfbaef40c805340054.tar.gz freebsd-ports-gnome-b5a79ab067cd31509eddeecfbaef40c805340054.tar.zst freebsd-ports-gnome-b5a79ab067cd31509eddeecfbaef40c805340054.zip |
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/Makefile | 6 |
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 |