mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-07 06:40:06 +00:00
- Fix uninstall, cleanup
PR: ports/76599 Submitted by: Jean-Yves Lefort <jylefort@brutele.be> (maintainer)
This commit is contained in:
parent
02d27753dd
commit
a37d6a3f38
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=127657
@ -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}
|
||||
|
@ -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
|
||||
|
@ -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%%
|
||||
|
Loading…
Reference in New Issue
Block a user