From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Aug 20 05:40:21 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CC1416A4CE for ; Fri, 20 Aug 2004 05:40:21 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D973B43D48 for ; Fri, 20 Aug 2004 05:40:20 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i7K5eKi9035093 for ; Fri, 20 Aug 2004 05:40:20 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7K5eK6K035081; Fri, 20 Aug 2004 05:40:20 GMT (envelope-from gnats) Resent-Date: Fri, 20 Aug 2004 05:40:20 GMT Resent-Message-Id: <200408200540.i7K5eK6K035081@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ying-Chieh Chen Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B968116A4CE for ; Fri, 20 Aug 2004 05:36:08 +0000 (GMT) Received: from alumni.csie.nctu.edu.tw (alumni.csie.nctu.edu.tw [140.113.209.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2B52843D3F for ; Fri, 20 Aug 2004 05:36:08 +0000 (GMT) (envelope-from yinjieh@csie.nctu.edu.tw) Received: from alumni.csie.nctu.edu.tw (yinjieh@localhost [127.0.0.1]) i7K5a2LG007890 for ; Fri, 20 Aug 2004 13:36:02 +0800 (CST) Received: (from yinjieh@localhost) by alumni.csie.nctu.edu.tw (8.12.11/8.12.3/Submit) id i7K5a2Ps007889; Fri, 20 Aug 2004 13:36:02 +0800 (CST) Message-Id: <200408200536.i7K5a2Ps007889@alumni.csie.nctu.edu.tw> Date: Fri, 20 Aug 2004 13:36:02 +0800 (CST) From: Ying-Chieh Chen To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/70686: Enable OPTIONS feature of ports/games/asc X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Ying-Chieh Chen List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Aug 2004 05:40:21 -0000 >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@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@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 + +.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 +.include --- asc.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: