diff options
Diffstat (limited to 'emulators/linux-peops-softgpu/Makefile')
-rw-r--r-- | emulators/linux-peops-softgpu/Makefile | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/emulators/linux-peops-softgpu/Makefile b/emulators/linux-peops-softgpu/Makefile index 21b6c0a64da4..9e5d85ee8cae 100644 --- a/emulators/linux-peops-softgpu/Makefile +++ b/emulators/linux-peops-softgpu/Makefile @@ -6,12 +6,11 @@ # PORTNAME= peops-softgpu -PORTVERSION= 1.15 -PORTREVISION= 1 +PORTVERSION= 1.16 CATEGORIES= emulators linux -MASTER_SITES= http://home.t-online.de/home/PeteBernert/ +MASTER_SITES= http://www.pbernert.com/ PKGNAMEPREFIX= linux- -DISTNAME= gpupeopssoftx115 +DISTNAME= gpupeopssoftx${MAJOR}${MINOR} MAINTAINER= jylefort@brutele.be COMMENT= A PSEmu Pro GPU plugin using a software X11 renderer (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}/libgpuPeopsSoftX.so.1.0.15 ${PSEMUPRO_PLUGINS_DIR} + ${INSTALL_PROGRAM} ${WRKSRC}/libgpuPeopsSoftX.so.${MAJOR}.0.${MINOR} ${PSEMUPRO_PLUGINS_DIR} ${MKDIR} ${PSEMUPRO_CFGBINS_DIR} ${INSTALL_PROGRAM} ${WRKSRC}/cfgPeopsSoft ${PSEMUPRO_CFGBINS_DIR} @@ -47,8 +50,8 @@ do-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} \ - ${WRKSRC}/peops_soft_readme_1_15.txt \ - ${WRKSRC}/peops_soft_version_1_15.txt \ + ${WRKSRC}/peops_soft_readme_${MAJOR}_${MINOR}.txt \ + ${WRKSRC}/peops_soft_version_${MAJOR}_${MINOR}.txt \ ${DOCSDIR} .endif |