diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2002-06-07 01:50:41 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2002-06-07 01:50:41 +0000 |
commit | 3842be24171bd26fb70d2551ccf75d9cddff3e53 (patch) | |
tree | 2c4653bb2fd44d8a894999e7e859dfc58735e4e5 /news | |
parent | Fix a format string vulnerability which appears to be exploitable, and (diff) |
Respect NOPORTDOCS
Notes
Notes:
svn path=/head/; revision=60744
Diffstat (limited to '')
-rw-r--r-- | news/ubh/Makefile | 5 | ||||
-rw-r--r-- | news/ubh/pkg-plist | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/news/ubh/Makefile b/news/ubh/Makefile index c1efc99dd4e5..78ccedb9ee57 100644 --- a/news/ubh/Makefile +++ b/news/ubh/Makefile @@ -30,7 +30,10 @@ pre-patch: do-install: ${INSTALL_SCRIPT} ${WRKSRC}/ubh ${PREFIX}/bin - ${CP} -R ${WRKSRC}/doc ${PREFIX}/share/doc/ubh ${CP} -R ${WRKSRC}/examples ${PREFIX}/share/ubh +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/ubh + ${INSTALL_DATA} ${WRKSRC}/doc/ubh.html ${PREFIX}/share/doc/ubh +.endif .include <bsd.port.mk> diff --git a/news/ubh/pkg-plist b/news/ubh/pkg-plist index 3fb2c7c597c6..483bee4e52c1 100644 --- a/news/ubh/pkg-plist +++ b/news/ubh/pkg-plist @@ -2,5 +2,5 @@ bin/ubh share/ubh/ubhrc share/ubh/newsrc @dirrm share/ubh -share/doc/ubh/ubh.html -@dirrm share/doc/ubh +%%PORTDOCS%%share/doc/ubh/ubh.html +%%PORTDOCS%%@dirrm share/doc/ubh |