aboutsummaryrefslogtreecommitdiffstats
path: root/games/asc
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-08-21 05:50:46 +0800
committerpav <pav@FreeBSD.org>2004-08-21 05:50:46 +0800
commitb16c8fc85bdeeff23de9ed2f3bc8705ece71c133 (patch)
treef14e7c22a1e275ff55acc9ff37829b31c6f63636 /games/asc
parent1bbab031595575d74850bba2a81d47909462d39e (diff)
downloadfreebsd-ports-gnome-b16c8fc85bdeeff23de9ed2f3bc8705ece71c133.tar.gz
freebsd-ports-gnome-b16c8fc85bdeeff23de9ed2f3bc8705ece71c133.tar.zst
freebsd-ports-gnome-b16c8fc85bdeeff23de9ed2f3bc8705ece71c133.zip
- Convert to OPTIONS
PR: ports/70686 Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw> (maintainer)
Diffstat (limited to 'games/asc')
-rw-r--r--games/asc/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/games/asc/Makefile b/games/asc/Makefile
index a2f4b837bc41..eb352b690e91 100644
--- a/games/asc/Makefile
+++ b/games/asc/Makefile
@@ -12,10 +12,6 @@ CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= asc-hq
DISTNAME= ${PORTNAME}-source-${PORTVERSION}
-.if defined(WITH_MUSIC)
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} frontiers.mp3 time_to_strike.mp3 machine_wars.mp3
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-.endif
MAINTAINER= yinjieh@csie.nctu.edu.tw
COMMENT= A turn based, multiplayer strategic game with very nice graphics
@@ -35,7 +31,13 @@ CONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags`" \
CONFIGURE_ARGS= --disable-paraguitest
+OPTIONS= MUSIC "Install extra music files" off
+
+.include <bsd.port.pre.mk>
+
.if defined(WITH_MUSIC)
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} frontiers.mp3 time_to_strike.mp3 machine_wars.mp3
+EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
PLIST_SUB+= MUSIC:=""
.else
PLIST_SUB+= MUSIC:="@comment "
@@ -57,4 +59,4 @@ pre-build:
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>