Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jan 2005 10:20:40 +0100 (CET)
From:      Jean-Yves Lefort <jylefort@brutele.be>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/76599: Update port: emulators/linux-pete-mesagpu (cleanups, fix uninstall)
Message-ID:  <20050123092040.422A922E1A@jsite.lefort.net>
Resent-Message-ID: <200501230930.j0N9UO9s021828@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         76599
>Category:       ports
>Synopsis:       Update port: emulators/linux-pete-mesagpu (cleanups, fix uninstall)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 23 09:30:24 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Jean-Yves Lefort
>Release:        FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD jsite.lefort.net 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Thu Dec 2 15:08:28 CET 2004 jylefort@jsite.lefort.net:/usr/obj/usr/src/sys/JSITE i386
>Description:
>How-To-Repeat:
>Fix:
diff -ruN /usr/ports/emulators/linux-pete-mesagpu/Makefile linux-pete-mesagpu/Makefile
--- /usr/ports/emulators/linux-pete-mesagpu/Makefile	Sat Jan  1 05:04:11 2005
+++ linux-pete-mesagpu/Makefile	Sun Jan 23 10:05:48 2005
@@ -9,9 +9,9 @@
 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 @@
 # 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 @@
 
 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 -ruN /usr/ports/emulators/linux-pete-mesagpu/pkg-descr linux-pete-mesagpu/pkg-descr
--- /usr/ports/emulators/linux-pete-mesagpu/pkg-descr	Sat Dec 27 07:25:06 2003
+++ linux-pete-mesagpu/pkg-descr	Sun Jan 23 10:13:19 2005
@@ -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 -ruN /usr/ports/emulators/linux-pete-mesagpu/pkg-plist linux-pete-mesagpu/pkg-plist
--- /usr/ports/emulators/linux-pete-mesagpu/pkg-plist	Sat Dec 27 07:25:06 2003
+++ linux-pete-mesagpu/pkg-plist	Sun Jan 23 10:07:05 2005
@@ -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%%
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050123092040.422A922E1A>