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/Makefile | |
parent | 2b91036f517808981c9c6d2a49bf4861936d18d9 (diff) | |
download | freebsd-ports-gnome-9e77c34b55ad5f09668f9893e22e0500633dd797.tar.gz freebsd-ports-gnome-9e77c34b55ad5f09668f9893e22e0500633dd797.tar.zst freebsd-ports-gnome-9e77c34b55ad5f09668f9893e22e0500633dd797.zip |
Respect NOPORTDOCS
Diffstat (limited to 'news/ubh/Makefile')
-rw-r--r-- | news/ubh/Makefile | 5 |
1 files changed, 4 insertions, 1 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> |