ports/76598: Update port: emulators/linux-peops-spu to 1.9

Jean-Yves Lefort jylefort at brutele.be
Sun Jan 23 09:20:27 UTC 2005


>Number:         76598
>Category:       ports
>Synopsis:       Update port: emulators/linux-peops-spu to 1.9
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 23 09:20:26 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Thu Dec 2 15:08:28 CET 2004 jylefort at jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/emulators/linux-peops-spu/Makefile linux-peops-spu/Makefile
--- /usr/ports/emulators/linux-peops-spu/Makefile	Sat Jan  1 05:04:11 2005
+++ linux-peops-spu/Makefile	Sun Jan 23 10:01:30 2005
@@ -6,12 +6,11 @@
 #
 
 PORTNAME=	peops-spu
-PORTVERSION=	1.7
-PORTREVISION=	1
+PORTVERSION=	1.9
 CATEGORIES=	emulators linux
-MASTER_SITES=	http://home.t-online.de/home/PeteBernert/
+MASTER_SITES=	http://www.pbernert.com/
 PKGNAMEPREFIX=	linux-
-DISTNAME=	spupeopsoss107
+DISTNAME=	spupeopsoss${MAJOR}0${MINOR}
 
 MAINTAINER=	jylefort at brutele.be
 COMMENT=	A PSEmu Pro SPU plugin using the OSS interface (Linux version)
@@ -28,6 +27,10 @@
 # because as a side effect it brands the binary as FreeBSD.
 STRIP=
 
+MAJOR=		${PORTVERSION:R}
+MINOR=		${PORTVERSION:E}
+PLIST_SUB+=	MAJOR=${MAJOR} MINOR=${MINOR}
+
 .include <bsd.port.pre.mk>
 
 PSEMUPRO_PLUGINS_DIR=	${LOCALBASE}/lib/psemupro/plugins
@@ -36,7 +39,7 @@
 
 do-install:
 	${MKDIR} ${PSEMUPRO_PLUGINS_DIR}
-	${INSTALL_PROGRAM} ${WRKSRC}/libspuPeopsOSS.so.1.0.7 ${PSEMUPRO_PLUGINS_DIR}
+	${INSTALL_PROGRAM} ${WRKSRC}/libspuPeopsOSS.so.${MAJOR}.0.${MINOR} ${PSEMUPRO_PLUGINS_DIR}
 
 	${MKDIR} ${PSEMUPRO_CFGBINS_DIR}
 	${INSTALL_PROGRAM} ${WRKSRC}/cfgPeopsOSS ${PSEMUPRO_CFGBINS_DIR}
@@ -47,8 +50,8 @@
 .if !defined(NOPORTDOCS)
 	${MKDIR} ${DOCSDIR}
 	${INSTALL_DATA} \
-		${WRKSRC}/readme_1_7.txt \
-		${WRKSRC}/version_1_7.txt \
+		${WRKSRC}/readme_${MAJOR}_${MINOR}.txt \
+		${WRKSRC}/version_${MAJOR}_${MINOR}.txt \
 		${DOCSDIR}
 .endif
 
diff -ruN /usr/ports/emulators/linux-peops-spu/distinfo linux-peops-spu/distinfo
--- /usr/ports/emulators/linux-peops-spu/distinfo	Sat Apr  3 05:10:21 2004
+++ linux-peops-spu/distinfo	Sun Jan 23 10:02:05 2005
@@ -1,2 +1,2 @@
-MD5 (spupeopsoss107.tar.gz) = 4019c4593deb0e6d342aee065239410d
-SIZE (spupeopsoss107.tar.gz) = 61984
+MD5 (spupeopsoss109.tar.gz) = b42b316576f9f81775f78d62b3567b16
+SIZE (spupeopsoss109.tar.gz) = 40695
diff -ruN /usr/ports/emulators/linux-peops-spu/pkg-descr linux-peops-spu/pkg-descr
--- /usr/ports/emulators/linux-peops-spu/pkg-descr	Sat Dec 27 07:25:06 2003
+++ linux-peops-spu/pkg-descr	Sun Jan 23 09:59:39 2005
@@ -1,6 +1,6 @@
 P.E.Op.S. OSS SPU is a PSEmu Pro SPU plugin using the OSS interface.
 
-This is the Linux version, tested with emulators/linux-epsxe.
+This is the Linux version, tested with emulators/linux-ePSXe.
 
 WWW: http://sourceforge.net/projects/peops/
 
diff -ruN /usr/ports/emulators/linux-peops-spu/pkg-plist linux-peops-spu/pkg-plist
--- /usr/ports/emulators/linux-peops-spu/pkg-plist	Sat Dec 27 07:25:06 2003
+++ linux-peops-spu/pkg-plist	Sun Jan 23 10:03:03 2005
@@ -1,12 +1,12 @@
-lib/psemupro/plugins/libspuPeopsOSS.so.1.0.7
+lib/psemupro/plugins/libspuPeopsOSS.so.%%MAJOR%%.0.%%MINOR%%
 libexec/psemupro/cfg/cfgPeopsOSS
 share/psemupro/cfg/spuPeopsOSS.cfg
- at dirrm lib/psemupro/plugins
- at dirrm lib/psemupro
- at dirrm libexec/psemupro/cfg
- at dirrm libexec/psemupro
- at dirrm share/psemupro/cfg
- at dirrm share/psemupro
-%%PORTDOCS%%%%DOCSDIR%%/readme_1_7.txt
-%%PORTDOCS%%%%DOCSDIR%%/version_1_7.txt
+ at unexec rmdir %D/lib/psemupro/plugins 2>/dev/null || true
+ at unexec rmdir %D/lib/psemupro 2>/dev/null || true
+ at unexec rmdir %D/libexec/psemupro/cfg 2>/dev/null || true
+ at unexec rmdir %D/libexec/psemupro 2>/dev/null || true
+ at unexec rmdir %D/share/psemupro/cfg 2>/dev/null || true
+ at unexec rmdir %D/share/psemupro 2>/dev/null || true
+%%PORTDOCS%%%%DOCSDIR%%/readme_%%MAJOR%%_%%MINOR%%.txt
+%%PORTDOCS%%%%DOCSDIR%%/version_%%MAJOR%%_%%MINOR%%.txt
 %%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list