aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-01-12 11:36:31 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-01-12 11:36:31 +0800
commit183920f7e3165930ed8d3c844102d7950c354667 (patch)
tree97b50cd82daa9b3b03612d910cfaccb342c9f329 /graphics
parente1e81b12076b0d045318fba4c304fb70d1f533c1 (diff)
downloadfreebsd-ports-gnome-183920f7e3165930ed8d3c844102d7950c354667.tar.gz
freebsd-ports-gnome-183920f7e3165930ed8d3c844102d7950c354667.tar.zst
freebsd-ports-gnome-183920f7e3165930ed8d3c844102d7950c354667.zip
- SUB_FILES += pkg-message
- Use DOCSDIR in pkg-plist PR: ports/142555 Submitted by: Sevan Janiyan <venture37@geeklan.co.uk>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/qvplay/Makefile3
-rw-r--r--graphics/qvplay/files/pkg-message.in1
-rw-r--r--graphics/qvplay/pkg-message1
-rw-r--r--graphics/qvplay/pkg-plist16
4 files changed, 11 insertions, 10 deletions
diff --git a/graphics/qvplay/Makefile b/graphics/qvplay/Makefile
index cd7b7a18da4b..bc8b017b2bc1 100644
--- a/graphics/qvplay/Makefile
+++ b/graphics/qvplay/Makefile
@@ -21,6 +21,7 @@ MAN1= qvplay.1 qvrec.1 qvalldel.1
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 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/../../${file} ${DOCSDIR}
.endfor
.endif
- @${SED} -e 's#/usr/local#${PREFIX}#' ${PKGMESSAGE}
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/graphics/qvplay/files/pkg-message.in b/graphics/qvplay/files/pkg-message.in
new file mode 100644
index 000000000000..e9347015ee7f
--- /dev/null
+++ b/graphics/qvplay/files/pkg-message.in
@@ -0,0 +1 @@
+Documents for qvplay can be found at: %%DOCSDIR%%
diff --git a/graphics/qvplay/pkg-message b/graphics/qvplay/pkg-message
deleted file mode 100644
index 8e92d9e3ee77..000000000000
--- a/graphics/qvplay/pkg-message
+++ /dev/null
@@ -1 +0,0 @@
-Documents for qvplay can be found at: /usr/local/share/doc/qvplay
diff --git a/graphics/qvplay/pkg-plist b/graphics/qvplay/pkg-plist
index c7b4c3f36796..c25f2f03f58f 100644
--- a/graphics/qvplay/pkg-plist
+++ b/graphics/qvplay/pkg-plist
@@ -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%%