aboutsummaryrefslogtreecommitdiffstats
path: root/net/pchar
diff options
context:
space:
mode:
authorbmah <bmah@FreeBSD.org>2008-07-15 12:53:46 +0800
committerbmah <bmah@FreeBSD.org>2008-07-15 12:53:46 +0800
commit671b39735b640f75e14ab4e7ffa4dbaabcf16059 (patch)
tree0112df0440febe7a6b80840dd0afd0c359854dba /net/pchar
parent626602942b46913b9ed7ec7959752471c4cdfac7 (diff)
downloadfreebsd-ports-graphics-671b39735b640f75e14ab4e7ffa4dbaabcf16059.tar.gz
freebsd-ports-graphics-671b39735b640f75e14ab4e7ffa4dbaabcf16059.tar.zst
freebsd-ports-graphics-671b39735b640f75e14ab4e7ffa4dbaabcf16059.zip
Fix build with NOPORTDOCS.
Pointed out by: itetcu@ (and ports tinderbox)
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 991e9c31028..93b0791d7b0 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 92dc83c7a62..e4a1bfa531e 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%%