From owner-svn-ports-all@FreeBSD.ORG Sun Mar 9 12:11:17 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E3F65DB2; Sun, 9 Mar 2014 12:11:17 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C4B3E187; Sun, 9 Mar 2014 12:11:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s29CBHS7029700; Sun, 9 Mar 2014 12:11:17 GMT (envelope-from rene@svn.freebsd.org) Received: (from rene@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s29CBHn0029697; Sun, 9 Mar 2014 12:11:17 GMT (envelope-from rene@svn.freebsd.org) Message-Id: <201403091211.s29CBHn0029697@svn.freebsd.org> From: Rene Ladan Date: Sun, 9 Mar 2014 12:11:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r347565 - head/games/warsow-data 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.17 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, 09 Mar 2014 12:11:18 -0000 Author: rene Date: Sun Mar 9 12:11:17 2014 New Revision: 347565 URL: http://svnweb.freebsd.org/changeset/ports/347565 QAT: https://qat.redports.org/buildarchive/r347565/ Log: games/warsow-data: - Unexpire - Update to 1.0.2 - Stage support - Update master sites - Add license information - Drop pkg-plist in favor of dynamic plist Remove NO_PACKAGE while here Thid port should probably be cleaned up to use USES=zip:infozip PR: ports/185651 Submitted by: Sender Ghost Approved by: maintainer timeout (acm, 2 months for PR + deprecation time) Deleted: head/games/warsow-data/pkg-plist Modified: head/games/warsow-data/Makefile head/games/warsow-data/distinfo Modified: head/games/warsow-data/Makefile ============================================================================== --- head/games/warsow-data/Makefile Sun Mar 9 12:01:27 2014 (r347564) +++ head/games/warsow-data/Makefile Sun Mar 9 12:11:17 2014 (r347565) @@ -2,67 +2,59 @@ # $FreeBSD$ PORTNAME= data -PORTVERSION= 0.6.2 +PORTVERSION= 1.0.2 CATEGORIES= games -MASTER_SITES= http://www.zcdn.org/dl/ \ +MASTER_SITES= SF/warsow.mirror/Warsow%20${PORTVERSION:R}${PORTVERSION:E} \ + http://www.warsow.net:1337/~warsow/${PORTVERSION:R}${PORTVERSION:E}/ \ http://static.warsow.net/release/:mappack \ http://rewq.de/scratch/wsw05/:mappack PKGNAMEPREFIX= warsow- -DISTNAME= ${PKGNAMEPREFIX:S/-//}_0.61_unified -DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \ - ${PKGNAMEPREFIX:S/-//}_0.62_update${EXTRACT_SUFX} +DISTNAME= ${PKGNAMEPREFIX:S/-//}_${PORTVERSION:R}${PORTVERSION:E} DIST_SUBDIR= ${PKGNAMEPREFIX:S/-//} MAINTAINER= acm@FreeBSD.org COMMENT= Warsow data files -# Package size below is for default set of OPTIONS -NO_PACKAGE= Package will be 574MB, set FORCE_PACKAGE if you really want it - -DEPRECATED= Broken for more than 6 month -EXPIRATION_DATE= 2013-12-22 - -BROKEN= warsow_0.61_unified.zip is unfetchable +LICENSE= WARSOW GPLv2 +LICENSE_COMB= multi +LICENSE_NAME_WARSOW= Warsow Content License +LICENSE_FILE_WARSOW= ${WRKSRC}/docs/license.txt +LICENSE_PERMS_WARSOW= dist-mirror pkg-mirror auto-accept # Game port is restricted to these architectures, so it makes no sense to # package game data port as well (even it is not being technically built) ONLY_FOR_ARCHS= i386 amd64 -USE_ZIP= yes - NO_BUILD= yes DATADIR= ${PREFIX}/share/${PKGNAMEPREFIX:S/-//} DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX:S/-//} -TXTDOCS= bots_navigation.txt changelog.txt contact.txt \ - dedicated_server_quide.txt demoavi.txt democams.txt \ - features.txt huds.txt license.txt mousefilter.txt \ - query_protocols.txt -PORTDOCS= 0.4_renderer_changes.png ${TXTDOCS} + +PORTDATA= basewsw +PORTDOCS= * OPTIONS_DEFINE= MAPPACK DOCS OPTIONS_DEFAULT= MAPPACK MAPPACK_DESC= Install community map pack -NO_STAGE= yes .include .if ${PORT_OPTIONS:MMAPPACK} -DISTFILES+= warsow_comunity_map_pack_01${EXTRACT_SUFX}:mappack -PLIST_SUB+= MAPPACK="" -.else -PLIST_SUB+= MAPPACK="@comment " +MAPPACK_FILE= warsow_comunity_map_pack_01.zip +DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${MAPPACK_FILE}:mappack +EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} +EXTRACT_DEPENDS+= ${UNZIP_CMD}:${PORTSDIR}/archivers/unzip +PORTDATA+= previews .endif -do-install: - @${MKDIR} ${DATADIR} - cd ${WRKSRC} && ${COPYTREE_SHARE} basewsw ${DATADIR} - cd ${WRKDIR} && ${COPYTREE_SHARE} basewsw ${DATADIR} +post-extract: .if ${PORT_OPTIONS:MMAPPACK} - cd ${WRKDIR} && ${COPYTREE_SHARE} previews ${DATADIR} -.endif -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - cd ${WRKSRC}/docs && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} + @${UNZIP_CMD} -qo ${DISTDIR}/${DIST_SUBDIR}/${MAPPACK_FILE} -d ${WRKSRC} .endif +do-install: + @${MKDIR} ${STAGEDIR}${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + .include Modified: head/games/warsow-data/distinfo ============================================================================== --- head/games/warsow-data/distinfo Sun Mar 9 12:01:27 2014 (r347564) +++ head/games/warsow-data/distinfo Sun Mar 9 12:11:17 2014 (r347565) @@ -1,6 +1,4 @@ -SHA256 (warsow/warsow_0.61_unified.zip) = fbabfd3e531ce5371fb5e8cd5113ed7606d5c89e6c52ec083bf178aa1bd9abac -SIZE (warsow/warsow_0.61_unified.zip) = 473053649 -SHA256 (warsow/warsow_0.62_update.zip) = d16309bfc39929a47efe71d5dd28a790c16a7de07232f68fc9672407bebda278 -SIZE (warsow/warsow_0.62_update.zip) = 11553787 +SHA256 (warsow/warsow_1.02.tar.gz) = fe7e1469347f30822b1919d1f3e36a27b72435067b88df6310d8a65760d8252a +SIZE (warsow/warsow_1.02.tar.gz) = 531283708 SHA256 (warsow/warsow_comunity_map_pack_01.zip) = 58b84b10d5fbaa22e29d59194b8c5ebbc633356fbc6545a715e44a73bdd3c7e7 SIZE (warsow/warsow_comunity_map_pack_01.zip) = 130057143