ports/185237: [UPDATE] games/d2x-xl to v1.17.5

Hardy Schumacher hardy.schumacher at gmx.de
Fri Dec 27 20:30:00 UTC 2013


>Number:         185237
>Category:       ports
>Synopsis:       [UPDATE] games/d2x-xl to v1.17.5
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 27 20:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Hardy Schumacher
>Release:        FreeBSD-9.2
>Organization:
>Environment:
FreeBSD gamma.low.org 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255996: Thu Oct  3 20:40:04 CEST 2013     root at gamma.low.org:/usr/obj/usr/src/sys/LOW_GAMMA  i386
>Description:
Update for port games/d2x-xl to v1.17.5 is available. It contains bugfixes and enhancements.
New version requires 7zip, so I had to change dependency to archivers/p7zip.
Furthermore I've added license information to the port, and simplified the exclusion for sparc64.
>How-To-Repeat:
n/a
>Fix:


Patch attached with submission follows:

diff -ruN /usr/ports/games/d2x-xl/Makefile ./d2x-xl/Makefile
--- /usr/ports/games/d2x-xl/Makefile	2013-09-21 20:18:13.000000000 +0200
+++ ./d2x-xl/Makefile	2013-12-27 21:17:38.000000000 +0100
@@ -2,34 +2,34 @@
 # $FreeBSD: head/games/d2x-xl/Makefile 327730 2013-09-20 17:36:33Z bapt $
 
 PORTNAME=	d2x-xl
-PORTVERSION=	1.14.121
-PORTREVISION=	7
+PORTVERSION=	1.17.5
 CATEGORIES=	games
-MASTER_SITES=	SF/d2x-xl/Linux/Archive:source \
-		SF/d2x-xl/Linux:source \
+MASTER_SITES=	SF/d2x-xl/Linux:source \
 		SF/d2x-xl/Data:data \
-		http://www.descent2.de/downloads/:source,data
-DISTFILES=	${PORTNAME}-src-${PORTVERSION}.rar:source \
-		${PORTNAME}-data-${DATAVERSION}.rar:data
+		http://www.descent2.de/files/:source,data
+DISTFILES=	${PORTNAME}-src-${PORTVERSION}.7z:source \
+		${PORTNAME}-data-${DATAVERSION}.7z:data
 
 MAINTAINER=	aragon at phat.za.net
 COMMENT=	Community Unix port of Descent 2 Game
 
-EXTRACT_DEPENDS=	unrar:${PORTSDIR}/archivers/unrar
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+EXTRACT_DEPENDS=	p7zip:${PORTSDIR}/archivers/p7zip
 RUN_DEPENDS=	unrar:${PORTSDIR}/archivers/unrar
 
-DATAVERSION=	1.14.95
+DATAVERSION=	1.15.295
 
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-debug --enable-release=yes \
 		--with-sharepath=${PREFIX}/share/d2x-xl
 USE_SDL=	sdl mixer image
-USES=		gmake motif
+USES=		dos2unix gmake motif
+DOS2UNIX_FILES=	missing depcomp
 USE_AUTOTOOLS=	aclocal autoheader automake autoconf
 AUTOMAKE_ARGS=	--add-missing --copy
 
-USE_DOS2UNIX=	missing depcomp
-
 SUB_FILES=	pkg-message
 
 OPTIONS_DEFINE=	OPENGL
@@ -38,9 +38,8 @@
 NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
-.if ${ARCH} == "sparc64"
-BROKEN=		Does not compile on sparc64
-.endif
+NOT_FOR_ARCHS=	sparc64
+NOT_FOR_ARCHS_REASON=	Does not compile on ${ARCH}
 
 .if ${PORT_OPTIONS:MOPENGL}
 USE_GL=		gl glu
@@ -52,8 +51,8 @@
 do-extract:
 	@${MKDIR} ${WRKSRC}
 	@cd ${WRKSRC} && \
-		unrar x -o+ ${DISTDIR}/${PORTNAME}-src-${PORTVERSION}.rar >/dev/null && \
-		unrar x -o+ ${PORTNAME}-makefiles.rar >/dev/null && \
+		p7zip -d ${DISTDIR}/${PORTNAME}-src-${PORTVERSION}.7z >/dev/null && \
+		p7zip -d ${PORTNAME}-makefiles.7z >/dev/null && \
 		${CHMOD} +x configure
 
 post-patch:
@@ -66,7 +65,7 @@
 do-install:
 	@${MKDIR} ${DATADIR}
 	@cd ${DATADIR} && \
-		unrar x -o+ ${DISTDIR}/${PORTNAME}-data-${DATAVERSION}.rar >/dev/null
+		p7zip -d ${DISTDIR}/${PORTNAME}-data-${DATAVERSION}.7z >/dev/null
 	${INSTALL_PROGRAM} ${WRKSRC}/d2x-xl ${PREFIX}/bin/d2x-xl
 	@${CAT} ${PKGMESSAGE}
 
diff -ruN /usr/ports/games/d2x-xl/distinfo ./d2x-xl/distinfo
--- /usr/ports/games/d2x-xl/distinfo	2012-12-26 19:41:34.000000000 +0100
+++ ./d2x-xl/distinfo	2013-12-27 20:48:43.000000000 +0100
@@ -1,4 +1,4 @@
-SHA256 (d2x-xl-src-1.14.121.rar) = 410cce88b54ceeac3a62260e1d5bc420e7f4b758943014a23cad3012bdb8126b
-SIZE (d2x-xl-src-1.14.121.rar) = 1751369
-SHA256 (d2x-xl-data-1.14.95.rar) = bf1d877aba1987c0d529e8dbfbc55a1c5e374556f89ecb860bfd6942f9430625
-SIZE (d2x-xl-data-1.14.95.rar) = 9034850
+SHA256 (d2x-xl-src-1.17.5.7z) = e14e4815b2d1964b5c5a7524ae94d43af85ed8636acc6ea4cee130593ea27cd1
+SIZE (d2x-xl-src-1.17.5.7z) = 2217581
+SHA256 (d2x-xl-data-1.15.295.7z) = b5f7d1547704b737790e262d86a3c5f9db400dfbfda0f3297ea0c22c544e77b6
+SIZE (d2x-xl-data-1.15.295.7z) = 36903234


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list