ports/70686: Enable OPTIONS feature of ports/games/asc

Ying-Chieh Chen yinjieh at csie.nctu.edu.tw
Fri Aug 20 05:40:21 UTC 2004


>Number:         70686
>Category:       ports
>Synopsis:       Enable OPTIONS feature of ports/games/asc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 20 05:40:20 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Ying-Chieh Chen
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
NCTU CSIE
>Environment:
System: FreeBSD alumni 4.10-STABLE FreeBSD 4.10-STABLE #25: Fri Jul 2 07:46:15 CST 2004 wcpan at ccduty:/bsdhome/bsd4/obj/bsdhome/bsd4/src/sys/CSIEBSD i386


	
>Description:

	Enable OPTIONS feature of ports/games/asc
	Please commit it, thanks!

>How-To-Repeat:

	cd /usr/ports/games/asc
	Apply the patch
	make install

>Fix:

--- asc.patch begins here ---
diff -ruN /usr/ports/games/asc/Makefile asc/Makefile
--- /usr/ports/games/asc/Makefile	Tue Mar 16 12:23:38 2004
+++ asc/Makefile	Fri Aug 20 13:30:17 2004
@@ -12,10 +12,6 @@
 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 at csie.nctu.edu.tw
 COMMENT=	A turn based, multiplayer strategic game with very nice graphics
@@ -35,6 +31,15 @@
 
 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}
+.endif
+
 .if defined(WITH_MUSIC)
 PLIST_SUB+=	MUSIC:=""
 .else
@@ -57,4 +62,4 @@
 post-install:
 	@${CAT} ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- asc.patch ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list