From owner-svn-ports-all@FreeBSD.ORG Sun May 11 11:08:53 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C850A926; Sun, 11 May 2014 11:08:53 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B59142990; Sun, 11 May 2014 11:08:53 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4BB8r9p016385; Sun, 11 May 2014 11:08:53 GMT (envelope-from bar@svn.freebsd.org) Received: (from bar@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4BB8r4B016383; Sun, 11 May 2014 11:08:53 GMT (envelope-from bar@svn.freebsd.org) Message-Id: <201405111108.s4BB8r4B016383@svn.freebsd.org> From: Barbara Guida Date: Sun, 11 May 2014 11:08:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353671 - head/games/vavoom-extras X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 May 2014 11:08:54 -0000 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 +.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 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 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/