ports/70721: [UPDATE] Enable OPTIONS feature of ports/games/duke3d

Ying-Chieh Chen yinjieh at csie.nctu.edu.tw
Fri Aug 20 15:20:41 UTC 2004


>Number:         70721
>Category:       ports
>Synopsis:       [UPDATE] Enable OPTIONS feature of ports/games/duke3d
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 20 15:20: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/duke3d

>How-To-Repeat:

	Apply the patch.

>Fix:

	

--- duke3d.patch begins here ---
diff -ruN /usr/ports/games/duke3d/Makefile duke3d/Makefile
--- /usr/ports/games/duke3d/Makefile	Mon Aug 16 09:13:13 2004
+++ duke3d/Makefile	Fri Aug 20 21:25:46 2004
@@ -28,13 +28,11 @@
 PROG_FILES=	${WRKSRC}/source/${PORTNAME} ${WRKSRC}/source/buildengine/build
 DOC_FILES=	README BUILDLIC.TXT CONTRIB TODO CHANGELOG ../../readme.txt ../../gnu.txt
 
-pre-everything::
-.ifndef(WITHOUT_DOSBOX)
-	@${ECHO_MSG} ""
-	@${ECHO_MSG} "Define WITHOUT_DOSBOX to disable the dependency on dosbox."
-	@${ECHO_MSG} "Then however you will not be able to change the Duke3D config."
-	@${ECHO_MSG} ""
+OPTIONS=	DOSBOX "dependency on dosbox" on
+
+.include <bsd.port.pre.mk>
 
+.ifndef(WITHOUT_DOSBOX)
 RUN_DEPENDS=	${LOCALBASE}/bin/dosbox:${PORTSDIR}/emulators/dosbox
 .endif
 
@@ -78,4 +76,4 @@
 .endif
 	@${SED} -e 's|%%DOCSDIR%%|${DOCSDIR}|' ${PKGMESSAGE}
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- duke3d.patch ends here ---


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



More information about the freebsd-ports-bugs mailing list