Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2014 19:56:49 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r369290 - head/games/warsow-data
Message-ID:  <201409251956.s8PJunfN063712@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Sep 25 19:56:48 2014
New Revision: 369290
URL: http://svnweb.freebsd.org/changeset/ports/369290
QAT: https://qat.redports.org/buildarchive/r369290/

Log:
  - Update to v1.51
  
  PR:		190968
  Submitted by:	lightside@gmx.com

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	Thu Sep 25 19:53:17 2014	(r369289)
+++ head/games/warsow-data/Makefile	Thu Sep 25 19:56:48 2014	(r369290)
@@ -1,20 +1,16 @@
 # Created by: Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
 # $FreeBSD$
 
-PORTNAME=	data
-PORTVERSION=	1.5
-PORTREVISION=	2
+PORTNAME=	warsow-data
+PORTVERSION=	1.51
 CATEGORIES=	games
 MASTER_SITES=	SF/warsow.mirror/Warsow%20${PORTVERSION} \
 		http://www.warsow.net:1337/~warsow/${PORTVERSION}/ \
 		http://www.warsow.eu/:mappack \
 		LOCAL/nemysis/games:mappack
-
-PKGNAMEPREFIX=	warsow-
-DISTNAME=	${PKGNAMEPREFIX:S/-//}_${PORTVERSION:S/.//}_unified
+DISTNAME=	warsow_${PORTVERSION}_unified
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
-DIST_SUBDIR=	${PKGNAMEPREFIX:S/-//}
 
 MAINTAINER=	games@FreeBSD.org
 COMMENT=	Warsow data files
@@ -25,18 +21,17 @@ LICENSE_NAME_WARSOW=	Warsow Content Lice
 LICENSE_FILE_WARSOW=	${WRKSRC}/docs/license.txt
 LICENSE_PERMS_WARSOW=	dist-mirror pkg-mirror auto-accept
 
-RUN_DEPENDS=	warsow:${PORTSDIR}/games/warsow
-
 # 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
 
-WRKSRC=		${WRKDIR}/${PKGNAMEPREFIX:S/-//}_15
+WRKSRC=		${WRKDIR}/warsow_15
 NO_BUILD=	yes
-DATADIR=	${PREFIX}/share/${PKGNAMEPREFIX:S/-//}
-DOCSDIR=	${PREFIX}/share/doc/${PKGNAMEPREFIX:S/-//}
+DATADIR=	${PREFIX}/share/warsow
+DOCSDIR=	${PREFIX}/share/doc/warsow
 
-PORTDOCS=	*.txt
+PORTDATA=	basewsw
+PORTDOCS=	*
 
 OPTIONS_DEFINE=	DOCS MAPPACK
 OPTIONS_DEFAULT=	MAPPACK
@@ -46,24 +41,16 @@ MAPPACK_DESC=		Install community map pac
 
 .if ${PORT_OPTIONS:MMAPPACK}
 MAPPACK_FILE=	warsow_comunity_map_pack_01.zip
-DISTFILES+=	 ${MAPPACK_FILE}:mappack
+DISTFILES+=	${MAPPACK_FILE}:mappack
 EXTRACT_DEPENDS+=	${UNZIP_CMD}:${PORTSDIR}/archivers/unzip
-.endif
+PORTDATA+=	previews
 
 post-extract:
-.if ${PORT_OPTIONS:MMAPPACK}
-	@${UNZIP_CMD} -qo ${DISTDIR}/${DIST_SUBDIR}/${MAPPACK_FILE} -d ${WRKSRC}
+	@${UNZIP_CMD} -qo ${DISTDIR}/${MAPPACK_FILE} -d ${WRKSRC}
 .endif
 
 do-install:
-	@${MKDIR} ${STAGEDIR}${DATADIR}
-	cd ${WRKSRC} && ${COPYTREE_SHARE} basewsw ${STAGEDIR}${DATADIR}
-
-.if ${PORT_OPTIONS:MMAPPACK}
-	cd ${WRKSRC} && ${COPYTREE_SHARE} previews ${STAGEDIR}${DATADIR}
-.endif
-
-	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${COPYTREE_SHARE} "${PORTDATA}" ${STAGEDIR}${DATADIR}
+	cd ${WRKSRC}/docs && ${COPYTREE_SHARE} "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/warsow-data/distinfo
==============================================================================
--- head/games/warsow-data/distinfo	Thu Sep 25 19:53:17 2014	(r369289)
+++ head/games/warsow-data/distinfo	Thu Sep 25 19:56:48 2014	(r369290)
@@ -1,4 +1,4 @@
-SHA256 (warsow/warsow_15_unified.tar.gz) = 4b4715d45339bdabfc94d4385df4defac0974743061f63e6a025460ab24668d7
-SIZE (warsow/warsow_15_unified.tar.gz) = 584507931
-SHA256 (warsow/warsow_comunity_map_pack_01.zip) = 58b84b10d5fbaa22e29d59194b8c5ebbc633356fbc6545a715e44a73bdd3c7e7
-SIZE (warsow/warsow_comunity_map_pack_01.zip) = 130057143
+SHA256 (warsow_1.51_unified.tar.gz) = 94510d85e4a245b5f8c0c715ae41b1d162c96e06dbfe75ccd99fffb9a76426b5
+SIZE (warsow_1.51_unified.tar.gz) = 601553865
+SHA256 (warsow_comunity_map_pack_01.zip) = 58b84b10d5fbaa22e29d59194b8c5ebbc633356fbc6545a715e44a73bdd3c7e7
+SIZE (warsow_comunity_map_pack_01.zip) = 130057143



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409251956.s8PJunfN063712>