aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-01-30 04:46:24 +0800
committerpav <pav@FreeBSD.org>2005-01-30 04:46:24 +0800
commit7e73f66d4e07b9785bedba5c8de34099d05c3b5b (patch)
tree927e7c51ae1698e9af3e1b20ce4a6f14a9c0de4b /emulators
parentd9f6cbaf82d60766ddbb4b5e7266c3dc8047b4b8 (diff)
downloadfreebsd-ports-gnome-7e73f66d4e07b9785bedba5c8de34099d05c3b5b.tar.gz
freebsd-ports-gnome-7e73f66d4e07b9785bedba5c8de34099d05c3b5b.tar.zst
freebsd-ports-gnome-7e73f66d4e07b9785bedba5c8de34099d05c3b5b.zip
- Fix uninstall, cleanup
PR: ports/76599 Submitted by: Jean-Yves Lefort <jylefort@brutele.be> (maintainer)
Diffstat (limited to 'emulators')
-rw-r--r--emulators/linux-pete-mesagpu/Makefile10
-rw-r--r--emulators/linux-pete-mesagpu/pkg-descr4
-rw-r--r--emulators/linux-pete-mesagpu/pkg-plist20
3 files changed, 19 insertions, 15 deletions
diff --git a/emulators/linux-pete-mesagpu/Makefile b/emulators/linux-pete-mesagpu/Makefile
index 62376601c190..5794a7898ed4 100644
--- a/emulators/linux-pete-mesagpu/Makefile
+++ b/emulators/linux-pete-mesagpu/Makefile
@@ -9,9 +9,9 @@ PORTNAME= pete-mesagpu
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@brutele.be
COMMENT= A PSEmu Pro GPU plugin using an OpenGL renderer (Linux version)
@@ -29,6 +29,10 @@ ONLY_FOR_ARCHS= i386
# 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 @@ PSEMUPRO_CFGFILES_DIR= ${LOCALBASE}/share/psemupro/cfg
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 --git a/emulators/linux-pete-mesagpu/pkg-descr b/emulators/linux-pete-mesagpu/pkg-descr
index 351e21eecc86..896b35bb0bb7 100644
--- a/emulators/linux-pete-mesagpu/pkg-descr
+++ b/emulators/linux-pete-mesagpu/pkg-descr
@@ -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@brutele.be
diff --git a/emulators/linux-pete-mesagpu/pkg-plist b/emulators/linux-pete-mesagpu/pkg-plist
index 46f157bd3a0b..755a13cd64aa 100644
--- a/emulators/linux-pete-mesagpu/pkg-plist
+++ b/emulators/linux-pete-mesagpu/pkg-plist
@@ -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
-@dirrm lib/psemupro/plugins
-@dirrm lib/psemupro
-@dirrm libexec/psemupro/cfg
-@dirrm libexec/psemupro
-@dirrm share/psemupro/cfg
-@dirrm share/psemupro
-%%PORTDOCS%%share/doc/pete-mesagpu/readme.txt
-%%PORTDOCS%%share/doc/pete-mesagpu/version.txt
-%%PORTDOCS%%@dirrm share/doc/pete-mesagpu
+@unexec rmdir %D/lib/psemupro/plugins 2>/dev/null || true
+@unexec rmdir %D/lib/psemupro 2>/dev/null || true
+@unexec rmdir %D/libexec/psemupro/cfg 2>/dev/null || true
+@unexec rmdir %D/libexec/psemupro 2>/dev/null || true
+@unexec rmdir %D/share/psemupro/cfg 2>/dev/null || true
+@unexec rmdir %D/share/psemupro 2>/dev/null || true
+%%PORTDOCS%%%%DOCSDIR%%/readme.txt
+%%PORTDOCS%%%%DOCSDIR%%/version.txt
+%%PORTDOCS%%@dirrm %%DOCSDIR%%