diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-20 21:50:46 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2004-08-20 21:50:46 +0000 |
commit | 421ca9206a5d86f01a1b43b2ad01403133c8ca31 (patch) | |
tree | bcabd17ac32b552712dccd6f08d33ba285e7b2f2 /games/asc | |
parent | 695000f8779ca7eaaf9c912895ed6dda0cac177e (diff) | |
download | ports-421ca9206a5d86f01a1b43b2ad01403133c8ca31.tar.gz ports-421ca9206a5d86f01a1b43b2ad01403133c8ca31.zip |
Notes
Diffstat (limited to 'games/asc')
-rw-r--r-- | games/asc/Makefile | 12 |
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> |