aboutsummaryrefslogtreecommitdiff
path: root/emulators/linux-pete-mesagpu
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2005-01-29 20:46:24 +0000
committerPav Lucistnik <pav@FreeBSD.org>2005-01-29 20:46:24 +0000
commita37d6a3f380c119c91d4f090fee74ca8e908877c (patch)
treecf15b9c4449793e0038003bd16c10f83d6309bb8 /emulators/linux-pete-mesagpu
parent02d27753dd727b4711f46dc506fd454df5e39d67 (diff)
downloadports-a37d6a3f380c119c91d4f090fee74ca8e908877c.tar.gz
ports-a37d6a3f380c119c91d4f090fee74ca8e908877c.zip
Notes
Diffstat (limited to 'emulators/linux-pete-mesagpu')
-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%%