diff options
author | bmah <bmah@FreeBSD.org> | 2008-07-15 12:53:46 +0800 |
---|---|---|
committer | bmah <bmah@FreeBSD.org> | 2008-07-15 12:53:46 +0800 |
commit | 671b39735b640f75e14ab4e7ffa4dbaabcf16059 (patch) | |
tree | 0112df0440febe7a6b80840dd0afd0c359854dba /net/pchar | |
parent | 626602942b46913b9ed7ec7959752471c4cdfac7 (diff) | |
download | freebsd-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/Makefile | 4 | ||||
-rw-r--r-- | net/pchar/pkg-plist | 8 |
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%% |