ports/153885: [patch] update opensfx

Ilya A. Arhipov micro at heavennet.ru
Tue Jan 11 08:00:28 UTC 2011


>Number:         153885
>Category:       ports
>Synopsis:       [patch] update opensfx
>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:   Tue Jan 11 08:00:20 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Ilya A. Arhipov
>Release:        FreeBSD 9.0-CURRENT
>Organization:
>Environment:
FreeBSD micro 9.0-CURRENT FreeBSD 9.0-CURRENT #2 r216383M: Sun Dec 12 02:58:14 MSK 2010     root at micro:/usr/obj/usr/src/head/sys/MICROKERNEL  amd64
>Description:
Update opensfx
Change MASTER_SITES
Fix install directory
>How-To-Repeat:

>Fix:
see attach

Patch attached with submission follows:

diff -Nru opensfx_old/Makefile opensfx/Makefile
--- opensfx_old/Makefile	2010-11-04 22:17:48.000000000 +0300
+++ opensfx/Makefile	2011-01-11 10:08:56.339123034 +0300
@@ -7,9 +7,11 @@
 
 PORTNAME=	opensfx
 PORTVERSION=	0.2.3
+PORTREVISION=	1
 CATEGORIES=	games
-MASTER_SITES=	http://ftp.snt.utwente.nl/pub/games/openttd/binaries/extra/opensfx/${PORTVERSION}/ \
-		http://gb.binaries.openttd.org/binaries/extra/opensfx/${PORTVERSION}/
+MASTER_SITES=	http://gb.binaries.openttd.org/binaries/extra/${PORTNAME}/${PORTVERSION}/ \
+		http://de.binaries.openttd.org/binaries/extra/${PORTNAME}/${PORTVERSION}/ \
+		http://cz.binaries.openttd.org/openttd/binaries/extra/${PORTNAME}/${PORTVERSION}/
 DISTNAME=	${PORTNAME}-${PORTVERSION}-all
 
 MAINTAINER=	micro at heavennet.ru
@@ -18,12 +20,9 @@
 USE_ZIP=	yes
 NO_BUILD=	yes
 
-post-extract:
-	@${FIND} ${WRKDIR}/opensfx-${PORTVERSION} -type f -name "*.txt" -exec ${MV} {} {}-sfx \;
-
 do-install:
-	${MKDIR} ${PREFIX}/share/openttd/data
+	${MKDIR} ${PREFIX}/share/openttd/data/opensfx
 	${INSTALL_DATA} ${WRKDIR}/opensfx-${PORTVERSION}/* \
-		${PREFIX}/share/openttd/data
+		${PREFIX}/share/openttd/data/opensfx
 
 .include <bsd.port.mk>
diff -Nru opensfx_old/pkg-plist opensfx/pkg-plist
--- opensfx_old/pkg-plist	2010-11-04 22:17:48.000000000 +0300
+++ opensfx/pkg-plist	2011-01-11 05:10:00.000000000 +0300
@@ -1,7 +1,8 @@
-share/openttd/data/changelog.txt-sfx
-share/openttd/data/license.txt-sfx
-share/openttd/data/opensfx.cat
-share/openttd/data/opensfx.obs
-share/openttd/data/readme.txt-sfx
+share/openttd/data/opensfx/changelog.txt
+share/openttd/data/opensfx/license.txt
+share/openttd/data/opensfx/opensfx.cat
+share/openttd/data/opensfx/opensfx.obs
+share/openttd/data/opensfx/readme.txt
+ at dirrmtry share/openttd/data/opensfx
 @dirrmtry share/openttd/data
 @dirrmtry share/openttd


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



More information about the freebsd-ports-bugs mailing list