aboutsummaryrefslogtreecommitdiff
path: root/net/pchar
diff options
context:
space:
mode:
authorBruce A. Mah <bmah@FreeBSD.org>2008-07-15 04:53:46 +0000
committerBruce A. Mah <bmah@FreeBSD.org>2008-07-15 04:53:46 +0000
commit0600ff55da053ad0c46ae16dfb33801b3e828596 (patch)
treec18d8fac750aac73fab0269ab473b231b3ac8d0e /net/pchar
parent82fa8aac77c1cd4c85af8ce5ba79e73735ed7134 (diff)
Fix build with NOPORTDOCS.
Pointed out by: itetcu@ (and ports tinderbox)
Notes
Notes: svn path=/head/; revision=216860
Diffstat (limited to 'net/pchar')
-rw-r--r--net/pchar/Makefile4
-rw-r--r--net/pchar/pkg-plist8
2 files changed, 6 insertions, 6 deletions
diff --git a/net/pchar/Makefile b/net/pchar/Makefile
index 991e9c310288..93b0791d7b0e 100644
--- a/net/pchar/Makefile
+++ b/net/pchar/Makefile
@@ -25,8 +25,8 @@ CONFIGURE_ARGS= --with-pcap
.if !defined(NOPORTDOCS)
post-install:
- @${MKDIR} ${PREFIX}/share/doc/pchar
- cd ${WRKSRC} ; ${INSTALL_DATA} README CHANGES FAQ ${PREFIX}/share/doc/pchar
+ @${MKDIR} ${DOCSDIR}
+ cd ${WRKSRC} ; ${INSTALL_DATA} README CHANGES FAQ ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
diff --git a/net/pchar/pkg-plist b/net/pchar/pkg-plist
index 92dc83c7a626..e4a1bfa531e0 100644
--- a/net/pchar/pkg-plist
+++ b/net/pchar/pkg-plist
@@ -1,6 +1,6 @@
@comment $FreeBSD$
sbin/pchar
-share/doc/pchar/CHANGES
-share/doc/pchar/FAQ
-share/doc/pchar/README
-@dirrm share/doc/pchar
+%%PORTDOCS%%%%DOCSDIR%%/CHANGES
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%@dirrm %%DOCSDIR%%