ports/88185: [patch] vumeter-0.9.2 packing list fix
Stuart Barkley
stuartb at 4gh.net
Sat Oct 29 17:00:29 UTC 2005
>Number: 88185
>Category: ports
>Synopsis: [patch] vumeter-0.9.2 packing list fix
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sat Oct 29 17:00:27 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Stuart Barkley
>Release: FreeBSD 5.3-RELEASE i386
>Organization:
>Environment:
System: FreeBSD freeman.4gh.net 5.3-RELEASE FreeBSD 5.3-RELEASE #1: Tue Mar 8 19:56:41 EST 2005 stuartb at freeman.4gh.net:/usr/src/sys/i386/compile/4GH i386
>Description:
The update to version 0.9.2 changed the way the dafault skins are
installed. It copies the files to the wrong place (VU_Meter_skins/skins
instead of VU_Meter_skins) and also breaks the packing list.
>How-To-Repeat:
cd /usr/ports/graphics/xmms-vumeter
make package
>Fix:
Index: graphics/xmms-vumeter/Makefile
===================================================================
RCS file: /data/freebsd-cvs/ports/graphics/xmms-vumeter/Makefile,v
retrieving revision 1.3
diff -u -r1.3 Makefile
--- graphics/xmms-vumeter/Makefile 10 Oct 2005 22:05:16 -0000 1.3
+++ graphics/xmms-vumeter/Makefile 29 Oct 2005 16:27:58 -0000
@@ -23,11 +23,15 @@
USE_REINPLACE= yes
DATADIR= ${PREFIX}/share/xmms/VU_Meter_skins
+PLIST_SUB= DATADIR="${DATADIR:S,^${PREFIX}/,,}"
post-patch:
@${REINPLACE_CMD} -e 's|/usr|${PREFIX}|' ${WRKSRC}/src/vumeter.h
post-install:
- @${CP} -R ${WRKSRC}/skins ${DATADIR}
+.for s in default default.mirror default.oldxmms
+ ${MKDIR} ${DATADIR}/${s}
+ ${INSTALL_DATA} ${WRKSRC}/skins/${s}/* ${DATADIR}/${s}
+.endfor
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list