ports/170730: [pkgng] mplayer-skins plist generation

Thomas Zander thomas.e.zander at googlemail.com
Sat Aug 18 08:00:26 UTC 2012


>Number:         170730
>Category:       ports
>Synopsis:       [pkgng] mplayer-skins plist generation
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 18 08:00:25 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Thomas Zander
>Release:        FreeBSD 9.1-PRERELEASE
>Organization:
>Environment:
>Description:
I received via pm a suggestion to fix the mplayer-skin port for pkgng.
Apparently the problem is that pkgng picks up its metadata dir when doing a reinstall.
>How-To-Repeat:

>Fix:
The attached patch is supposed to fix the problem.
Could someone from the pkgng team please check whether this is the recommended way to deal with the issue? Thanks.

Patch attached with submission follows:

diff -ruN /usr/ports/multimedia/mplayer-skins/Makefile mplayer-skins/Makefile
--- /usr/ports/multimedia/mplayer-skins/Makefile	2012-01-11 20:16:58.000000000 +0100
+++ mplayer-skins/Makefile	2012-08-18 09:32:13.722445544 +0200
@@ -72,8 +72,8 @@
 .endif
 
 do-install:
-# both anotate and create target directories
-	@for dir in `cd ${WRKDIR} && ${FIND} . -type d ! -name ".*" | ${SORT} -r` ; do \
+# anotate and create target directories
+	@for dir in `cd ${WRKDIR} && ${FIND} ./* -type d | ${SORT} -r` ; do \
 		${MKDIR} "${PREFIX}/${myDATADIR}/$${dir#./}" ; \
 		LAST_DIR="$${dir#./}"; \
 	done && \
@@ -81,8 +81,8 @@
 .ifdef(WITH_SKIN_DEFAULT)
 	@${LN} -sfh "${PREFIX}/${myDATADIR}/Blue" "${PREFIX}/${myDATADIR}/default"
 .endif
-# both anotate installed and install files
-	@for f in `cd ${WRKDIR} && ${FIND} . -type f ! -name ".*" | ${SORT}` ; do \
+# anotate installed and install files
+	@for f in `cd ${WRKDIR} && ${FIND} ./* -type f | ${SORT}` ; do \
 		${INSTALL_DATA} "${WRKDIR}/$${f#./}" ${PREFIX}/${myDATADIR}/$${f#./} ; \
 	done
 # add marker file


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list