ports/76599: Update port: emulators/linux-pete-mesagpu (cleanups, fix uninstall)
Jean-Yves Lefort
jylefort at brutele.be
Sun Jan 23 09:30:25 UTC 2005
>Number: 76599
>Category: ports
>Synopsis: Update port: emulators/linux-pete-mesagpu (cleanups, fix uninstall)
>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:30:24 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-pete-mesagpu/Makefile linux-pete-mesagpu/Makefile
--- /usr/ports/emulators/linux-pete-mesagpu/Makefile Sat Jan 1 05:04:11 2005
+++ linux-pete-mesagpu/Makefile Sun Jan 23 10:05:48 2005
@@ -9,9 +9,9 @@
PORTVERSION= 1.75
PORTREVISION= 1
CATEGORIES= emulators linux
-MASTER_SITES= http://home.t-online.de/home/PeteBernert/
+MASTER_SITES= http://www.pbernert.com/
PKGNAMEPREFIX= linux-
-DISTNAME= gpupetemesagl175
+DISTNAME= gpupetemesagl${MAJOR}${MINOR}
MAINTAINER= jylefort at brutele.be
COMMENT= A PSEmu Pro GPU plugin using an OpenGL renderer (Linux version)
@@ -29,6 +29,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
@@ -37,7 +41,7 @@
do-install:
${MKDIR} ${PSEMUPRO_PLUGINS_DIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/libgpuPeteMesaGL.so.1.0.75 ${PSEMUPRO_PLUGINS_DIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/libgpuPeteMesaGL.so.${MAJOR}.0.${MINOR} ${PSEMUPRO_PLUGINS_DIR}
${MKDIR} ${PSEMUPRO_CFGBINS_DIR}
${INSTALL_PROGRAM} ${WRKSRC}/cfgPeteMesaGL ${PSEMUPRO_CFGBINS_DIR}
diff -ruN /usr/ports/emulators/linux-pete-mesagpu/pkg-descr linux-pete-mesagpu/pkg-descr
--- /usr/ports/emulators/linux-pete-mesagpu/pkg-descr Sat Dec 27 07:25:06 2003
+++ linux-pete-mesagpu/pkg-descr Sun Jan 23 10:13:19 2005
@@ -1,9 +1,9 @@
Pete's MesaGL GPU is a PSEmu Pro GPU plugin using a
hardware-accelerated OpenGL renderer.
-This is the Linux version, tested with emulators/linux-epsxe.
+This is the Linux version, tested with emulators/linux-ePSXe.
-WWW: http://home.t-online.de/home/PeteBernert/#Pete's%20MesaGL%20GPU
+WWW: http://www.pbernert.com/
- Jean-Yves Lefort
jylefort at brutele.be
diff -ruN /usr/ports/emulators/linux-pete-mesagpu/pkg-plist linux-pete-mesagpu/pkg-plist
--- /usr/ports/emulators/linux-pete-mesagpu/pkg-plist Sat Dec 27 07:25:06 2003
+++ linux-pete-mesagpu/pkg-plist Sun Jan 23 10:07:05 2005
@@ -1,12 +1,12 @@
-lib/psemupro/plugins/libgpuPeteMesaGL.so.1.0.75
+lib/psemupro/plugins/libgpuPeteMesaGL.so.%%MAJOR%%.0.%%MINOR%%
libexec/psemupro/cfg/cfgPeteMesaGL
share/psemupro/cfg/gpuPeteMesaGL.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%%share/doc/pete-mesagpu/readme.txt
-%%PORTDOCS%%share/doc/pete-mesagpu/version.txt
-%%PORTDOCS%%@dirrm share/doc/pete-mesagpu
+ 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.txt
+%%PORTDOCS%%%%DOCSDIR%%/version.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list