ports/142555: [patch] graphics/qvplay switch to using macros in plist & use $SUB_FILES to dynamically adjust pkg-message
Sevan Janiyan
venture37 at geeklan.co.uk
Sun Jan 10 00:50:01 UTC 2010
>Number: 142555
>Category: ports
>Synopsis: [patch] graphics/qvplay switch to using macros in plist & use $SUB_FILES to dynamically adjust pkg-message
>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: Sun Jan 10 00:50:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Sevan Janiyan
>Release:
>Organization:
>Environment:
>Description:
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/graphics/qvplay/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- Makefile 10 Apr 2004 17:26:39 -0000 1.14
+++ Makefile 10 Jan 2010 00:36:13 -0000
@@ -21,6 +21,7 @@
MYPORTDOCS= FAQ.txt HISTORY PROTOCOL.txt PROTOCOL.eng \
README README.eng README.FreeBSD
+SUB_FILES= pkg-message
pre-patch:
@${MKDIR} ${WRKSRC}
@@ -35,6 +36,6 @@
${INSTALL_DATA} ${WRKSRC}/../../${file} ${DOCSDIR}
.endfor
.endif
- @${SED} -e 's#/usr/local#${PREFIX}#' ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
Index: pkg-message
===================================================================
RCS file: pkg-message
diff -N pkg-message
--- pkg-message 24 Nov 1999 03:16:05 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1 +0,0 @@
-Documents for qvplay can be found at: /usr/local/share/doc/qvplay
Index: pkg-plist
===================================================================
RCS file: /home/ncvs/ports/graphics/qvplay/pkg-plist,v
retrieving revision 1.3
diff -u -r1.3 pkg-plist
--- pkg-plist 24 Dec 2001 02:15:48 -0000 1.3
+++ pkg-plist 10 Jan 2010 00:36:13 -0000
@@ -1,11 +1,11 @@
bin/qvalldel
bin/qvplay
bin/qvrec
-%%PORTDOCS%%share/doc/qvplay/FAQ.txt
-%%PORTDOCS%%share/doc/qvplay/HISTORY
-%%PORTDOCS%%share/doc/qvplay/PROTOCOL.eng
-%%PORTDOCS%%share/doc/qvplay/PROTOCOL.txt
-%%PORTDOCS%%share/doc/qvplay/README
-%%PORTDOCS%%share/doc/qvplay/README.FreeBSD
-%%PORTDOCS%%share/doc/qvplay/README.eng
-%%PORTDOCS%%@dirrm share/doc/qvplay
+%%PORTDOCS%%%%DOCSDIR%%/FAQ.txt
+%%PORTDOCS%%%%DOCSDIR%%/HISTORY
+%%PORTDOCS%%%%DOCSDIR%%/PROTOCOL.eng
+%%PORTDOCS%%%%DOCSDIR%%/PROTOCOL.txt
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
+%%PORTDOCS%%%%DOCSDIR%%/README.eng
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
Index: files/pkg-message.in
===================================================================
RCS file: files/pkg-message.in
diff -N files/pkg-message.in
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/pkg-message.in 10 Jan 2010 00:36:13 -0000
@@ -0,0 +1 @@
+Documents for qvplay can be found at: %%DOCSDIR%%
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list