diff options
author | kris <kris@FreeBSD.org> | 2002-06-07 09:50:41 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2002-06-07 09:50:41 +0800 |
commit | 9e77c34b55ad5f09668f9893e22e0500633dd797 (patch) | |
tree | 37cebb7572ffcf2dac5cdbf70aa69c8b5db5e74d /news/ubh | |
parent | 2b91036f517808981c9c6d2a49bf4861936d18d9 (diff) | |
download | freebsd-ports-graphics-9e77c34b55ad5f09668f9893e22e0500633dd797.tar.gz freebsd-ports-graphics-9e77c34b55ad5f09668f9893e22e0500633dd797.tar.zst freebsd-ports-graphics-9e77c34b55ad5f09668f9893e22e0500633dd797.zip |
Respect NOPORTDOCS
Diffstat (limited to 'news/ubh')
-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 c1efc99dd4e..78ccedb9ee5 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 3fb2c7c597c..483bee4e52c 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 |