diff options
Diffstat (limited to 'emulators/linux-peops-spu')
-rw-r--r-- | emulators/linux-peops-spu/Makefile | 17 | ||||
-rw-r--r-- | emulators/linux-peops-spu/distinfo | 4 | ||||
-rw-r--r-- | emulators/linux-peops-spu/pkg-descr | 2 | ||||
-rw-r--r-- | emulators/linux-peops-spu/pkg-plist | 18 |
4 files changed, 22 insertions, 19 deletions
diff --git a/emulators/linux-peops-spu/Makefile b/emulators/linux-peops-spu/Makefile index 75621ba75206..a9e0fc2d2c61 100644 --- a/emulators/linux-peops-spu/Makefile +++ b/emulators/linux-peops-spu/Makefile @@ -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@brutele.be COMMENT= A PSEmu Pro SPU plugin using the OSS interface (Linux version) @@ -28,6 +27,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 @@ -36,7 +39,7 @@ PSEMUPRO_CFGFILES_DIR= ${LOCALBASE}/share/psemupro/cfg 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 @@ do-install: .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 --git a/emulators/linux-peops-spu/distinfo b/emulators/linux-peops-spu/distinfo index 5244eea59883..2c5ad4ad30da 100644 --- a/emulators/linux-peops-spu/distinfo +++ b/emulators/linux-peops-spu/distinfo @@ -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 --git a/emulators/linux-peops-spu/pkg-descr b/emulators/linux-peops-spu/pkg-descr index 6dd57f490938..58f52505e081 100644 --- a/emulators/linux-peops-spu/pkg-descr +++ b/emulators/linux-peops-spu/pkg-descr @@ -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 --git a/emulators/linux-peops-spu/pkg-plist b/emulators/linux-peops-spu/pkg-plist index d12304aa2893..2440ebaedaa5 100644 --- a/emulators/linux-peops-spu/pkg-plist +++ b/emulators/linux-peops-spu/pkg-plist @@ -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 -@dirrm lib/psemupro/plugins -@dirrm lib/psemupro -@dirrm libexec/psemupro/cfg -@dirrm libexec/psemupro -@dirrm share/psemupro/cfg -@dirrm share/psemupro -%%PORTDOCS%%%%DOCSDIR%%/readme_1_7.txt -%%PORTDOCS%%%%DOCSDIR%%/version_1_7.txt +@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_%%MAJOR%%_%%MINOR%%.txt +%%PORTDOCS%%%%DOCSDIR%%/version_%%MAJOR%%_%%MINOR%%.txt %%PORTDOCS%%@dirrm %%DOCSDIR%% |