diff options
author | danfe <danfe@FreeBSD.org> | 2004-08-31 15:33:46 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2004-08-31 15:33:46 +0800 |
commit | 990d90c8bd27900ff80c588a37c95a4c7bae7c25 (patch) | |
tree | c1520852d232b04fb0d62d932e91be460c4bce86 /games/fuhquake/Makefile | |
parent | 924858b9421fc83f08099a956f8646dad44e5fc3 (diff) | |
download | freebsd-ports-gnome-990d90c8bd27900ff80c588a37c95a4c7bae7c25.tar.gz freebsd-ports-gnome-990d90c8bd27900ff80c588a37c95a4c7bae7c25.tar.zst freebsd-ports-gnome-990d90c8bd27900ff80c588a37c95a4c7bae7c25.zip |
- Add WITH_SKYBOXES knob
- Augment mirror list
- Fix one small typo
- Bump PORTREVISION
Approved by: fjoe (mentor)
Diffstat (limited to 'games/fuhquake/Makefile')
-rw-r--r-- | games/fuhquake/Makefile | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/games/fuhquake/Makefile b/games/fuhquake/Makefile index a486251268fa..067fd00e58b3 100644 --- a/games/fuhquake/Makefile +++ b/games/fuhquake/Makefile @@ -7,9 +7,13 @@ PORTNAME= fuhquake PORTVERSION= 0.31 +PORTREVISION= 1 CATEGORIES= games MASTER_SITES= http://www.fuhquake.net/files/releases/v${PORTVERSION}/:q \ + http://www.fuhquake.net/files/extras/:s \ ftp://gibbage.mine.nu/clients/fuhquake/releases/v${PORTVERSION}/:q \ + http://gamefiles.blueyonder.co.uk/blueyondergames/quake/quakeworld/clients/fuhquake/source/:q \ + http://gamefiles.blueyonder.co.uk/blueyondergames/quake/quakeworld/clients/fuhquake/addons/:s \ http://danfe.machos.ru/distfiles/qw/:p \ http://freebsd.nsu.ru/distfiles/qw/:p DISTNAME= ${PORTNAME}-source-v${PORTVERSION} @@ -30,6 +34,14 @@ PLIST_SUB+= SHAREWARE="" PLIST_SUB+= SHAREWARE="@comment " .endif +.if defined(WITH_SKYBOXES) +DISTFILES+= ${PORTNAME}-skyboxes${EXTRACT_SUFX}:s +EXTRACT_ONLY+= ${PORTNAME}-skyboxes${EXTRACT_SUFX} +PLIST_SUB+= SKYBOXES="" +.else +PLIST_SUB+= SKYBOXES="@comment " +.endif + .if exists(${LOCALBASE}/lib/libvga.so.1) WITH_SVGA= yes .endif @@ -92,9 +104,12 @@ pre-everything:: .if !defined(WITHOUT_GLX) @${ECHO_MSG} "Define WITHOUT_GLX to disable building of GLX client" .endif -.if defined(WITH_SHAREWARE_DATA) +.if !defined(WITH_SHAREWARE_DATA) @${ECHO_MSG} "Define WITH_SHAREWARE_DATA to install demo version game data" .endif +.if !defined(WITH_SKYBOXES) + @${ECHO_MSG} "Define WITH_SKYBOXES to install additional skyboxes pak" +.endif .if !defined(WITH_OPTIMIZED_CFLAGS) @${ECHO_MSG} "Define WITH_OPTIMIZED_CFLAGS to enable extra optimization options" .endif @@ -138,6 +153,9 @@ do-install: ${INSTALL_DATA} ${_DISTDIR}/q1-shareware-pak0.pak \ ${DATADIR}/id1/pak0.pak .endif +.if defined(WITH_SKYBOXES) + ${INSTALL_DATA} ${WRKDIR}/pakX.pak ${DATADIR}/qw/pak0.pak +.endif .if !defined(NOPORTDOCS) @${MKDIR} ${DOCSDIR} . for txt in FAQ-v0.30-b585 FuhQuake-v0.31-FAQ benchmark config_manager crosshairs \ |