Date: Sun, 11 May 2014 11:08:53 +0000 (UTC) From: Barbara Guida <bar@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353671 - head/games/vavoom-extras Message-ID: <201405111108.s4BB8r4B016383@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bar Date: Sun May 11 11:08:53 2014 New Revision: 353671 URL: http://svnweb.freebsd.org/changeset/ports/353671 QAT: https://qat.redports.org/buildarchive/r353671/ Log: - Support STAGEDIR - Use options helpers - Add LICENSE - Define LEGAL_PACKAGE - Pet portlint Modified: head/games/vavoom-extras/Makefile head/games/vavoom-extras/pkg-descr Modified: head/games/vavoom-extras/Makefile ============================================================================== --- head/games/vavoom-extras/Makefile Sun May 11 10:58:06 2014 (r353670) +++ head/games/vavoom-extras/Makefile Sun May 11 11:08:53 2014 (r353671) @@ -16,6 +16,8 @@ MASTER_SITES= SF/vavoom/Resources/vmodel MAINTAINER= bar@FreeBSD.org COMMENT= Doom, Doom II, Heretic, Hexen, and Strife source port (extras) +LICENSE= GPLv2 + RUN_DEPENDS= vavoom:${PORTSDIR}/games/vavoom DATADIR= ${PREFIX}/share/vavoom @@ -23,7 +25,8 @@ DATADIR= ${PREFIX}/share/vavoom USES= zip NO_BUILD= yes NO_WRKSUBDIR= yes -NO_PACKAGE= package could be up to 655MB; set FORCE_PACKAGE if you really want it +LEGAL_PACKAGE= package could be up to 655MB; set FORCE_PACKAGE if you really want it +NO_PACKAGE= ${LEGAL_PACKAGE} OPTIONS_MULTI= EXTRA OPTIONS_MULTI_EXTRA= MODELS SOUNDTRACKS TEXTURES @@ -33,45 +36,34 @@ MODELS_DESC= Install 3D models (17MB) SOUNDTRACKS_DESC= Install enhanced soundtracks (482MB) TEXTURES_DESC= Install high resolution textures (157MB) -NO_STAGE= yes -.include <bsd.port.options.mk> +.for f in doom heretic hexen strife +MODELS_DISTFILES+= vmodels-${f}-1.4.3${EXTRACT_SUFX}:vmd \ + vmodels-${f}-1.4.3${EXTRACT_SUFX}:vmhr \ + vmodels-${f}-1.4.3${EXTRACT_SUFX}:vmhx \ + vmodels-${f}-1.4.3${EXTRACT_SUFX}:vms +.endfor + +.for f in doom doom1 doom2 +TEXTURES_DISTFILES+= vtextures-${f}-1.1${EXTRACT_SUFX}:vt11 +.endfor + +.for f in heretic hexen plutonia strife tnt +TEXTURES_DISTFILES+= vtextures-${f}-1.0${EXTRACT_SUFX}:vt10 +.endfor + +.for f in doom1 doom2 heretic hexen tnt plutonia +SOUNDTRACKS_DISTFILES+= vmusic-${f}-1.0${EXTRACT_SUFX}:vmu +.endfor -.if ${PORT_OPTIONS:MMODELS} -DISTFILES+= vmodels-doom-1.4.3.zip:vmd -DISTFILES+= vmodels-heretic-1.4.3.zip:vmhr -DISTFILES+= vmodels-hexen-1.4.3.zip:vmhx -DISTFILES+= vmodels-strife-1.4.3.zip:vms -PLIST_SUB+= MODELS="" -.else -PLIST_SUB+= MODELS="@comment " -.endif - -.if ${PORT_OPTIONS:MTEXTURES} -. for f in doom doom1 doom2 -DISTFILES+= vtextures-${f}-1.1${EXTRACT_SUFX}:vt11 -. endfor -. for f in heretic hexen plutonia strife tnt -DISTFILES+= vtextures-${f}-1.0${EXTRACT_SUFX}:vt10 -. endfor -PLIST_SUB+= TEXTURES="" -.else -PLIST_SUB+= TEXTURES="@comment " -.endif - -.if ${PORT_OPTIONS:MSOUNDTRACKS} -. for f in doom1 doom2 heretic hexen tnt plutonia -DISTFILES+= vmusic-${f}-1.0${EXTRACT_SUFX}:vmu -. endfor -PLIST_SUB+= SOUNDTRACKS="" -.else -PLIST_SUB+= SOUNDTRACKS="@comment " -.endif +OPTIONS_SUB= yes + +.include <bsd.port.options.mk> post-extract: @${FIND} ${WRKSRC} -type f -name "*.txt" -delete do-install: - cd ${WRKSRC} && ${FIND} basev -type f \ - -exec ${INSTALL_DATA} {} ${DATADIR}/{} \; + @${MKDIR} ${STAGEDIR}${DATADIR} + @cd ${WRKSRC} && ${COPYTREE_SHARE} basev ${STAGEDIR}${DATADIR} .include <bsd.port.mk> Modified: head/games/vavoom-extras/pkg-descr ============================================================================== --- head/games/vavoom-extras/pkg-descr Sun May 11 10:58:06 2014 (r353670) +++ head/games/vavoom-extras/pkg-descr Sun May 11 11:08:53 2014 (r353671) @@ -6,4 +6,4 @@ This port optionally installs the follow For the supported games. -WWW: http://www.vavoom-engine.com/ +WWW: http://www.vavoom-engine.com/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405111108.s4BB8r4B016383>