From b5a79ab067cd31509eddeecfbaef40c805340054 Mon Sep 17 00:00:00 2001 From: danfe Date: Wed, 4 May 2005 08:21:20 +0000 Subject: Refactor parts or previous change to stop breaking POLA when not using OPTIONS but command line -DFOO arguments instead. --- games/uhexen/Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'games/uhexen') 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 -.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 -- cgit