Date: Wed, 18 Feb 2004 14:20:40 +0100 (CET) From: Volker Stolz <stolz@i2.informatik.rwth-aachen.de> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/63012: [patch] games/uhexen: Unbreak, OPTIONS & PLISTify (bento) Message-ID: <200402181320.i1IDKeVK013699@menelaos.informatik.rwth-aachen.de> Resent-Message-ID: <200402181330.i1IDUCis069595@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 63012 >Category: ports >Synopsis: [patch] games/uhexen: Unbreak, OPTIONS & PLISTify (bento) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Feb 18 05:30:12 PST 2004 >Closed-Date: >Last-Modified: >Originator: Volker Stolz >Release: FreeBSD 4.9-STABLE i386 >Organization: Lehrstuhl für Informatik II >Environment: System: FreeBSD menelaos.informatik.rwth-aachen.de 4.9-STABLE FreeBSD 4.9-STABLE #12: Mon Dec 8 15:14:27 CET 2003 root@menelaos.informatik.rwth-aachen.de:/usr/obj/usr/src/sys/MENELAOS i386 >Description: - Fix PLIST - Use PLIST_* while here - Use OPTIONS while here. The old option is kept for backwards compatibility. Noticed by: bento/kris >How-To-Repeat: http://bento.freebsd.org/errorlogs/i386-5-latest/uhexen-0.601_1.log >Fix: Removed file: pkg-plist --- uhexen begins here --- diff -urN /usr/ports/games/uhexen/Makefile uhexen/Makefile --- /usr/ports/games/uhexen/Makefile Wed Feb 11 14:24:11 2004 +++ uhexen/Makefile Wed Feb 18 14:08:49 2004 @@ -19,29 +19,38 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Yet another port of Hexen, popular game from Raven Softrware +OPTIONS= NOWAD "Don't install WAD file" off + +USE_SDL= mixer sdl +USE_X_PREFIX= yes +USE_GMAKE= yes + +.include <bsd.port.pre.mk> + +.if defined(WITH_NOWAD) +WITHOUT_WAD= yes +.endif + .if !defined(WITHOUT_WAD) EXTRACT_DEPENDS=unzip:${PORTSDIR}/archivers/unzip .endif -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +PLIST_FILES= bin/uhexen %%DATADIR%%/.keep_me %%WAD%%%%DATADIR%%/hexen.wad +PLIST_DIRS= %%DATADIR%% -USE_SDL= mixer sdl -USE_X_PREFIX= yes -USE_GMAKE= yes +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} .if defined(WITHOUT_WAD) -PLIST_SUB= WAD:="@comment " +PLIST_SUB= WAD="@comment " .else -PLIST_SUB= WAD:="" +PLIST_SUB= WAD="" .endif -BROKEN= "Broken pkg-plist" - pre-everything:: @${ECHO} "" @${ECHO} "You may use the following build options:" @${ECHO} "" - @${ECHO} " WITHOUT_WAD=yes Don't install the wad file." + @${ECHO} " WITH_NOWAD=yes Don't install the wad file." @${ECHO} "" post-extract: @@ -58,4 +67,4 @@ .endif ${TOUCH} ${DATADIR}/.keep_me -.include <bsd.port.mk> +.include <bsd.port.post.mk> --- uhexen ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402181320.i1IDKeVK013699>