diff options
author | mezz <mezz@FreeBSD.org> | 2007-02-21 06:19:26 +0800 |
---|---|---|
committer | mezz <mezz@FreeBSD.org> | 2007-02-21 06:19:26 +0800 |
commit | 6b8e7551f3e00c20d2b2245259d4370283bd65f7 (patch) | |
tree | f4ba9a65185b8346c4e96eb1b20b5e14d232c171 /devel/libsigc++20 | |
parent | 6c0601c35e4a68ee582111e20eaa3fd88531ace1 (diff) | |
download | freebsd-ports-gnome-6b8e7551f3e00c20d2b2245259d4370283bd65f7.tar.gz freebsd-ports-gnome-6b8e7551f3e00c20d2b2245259d4370283bd65f7.tar.zst freebsd-ports-gnome-6b8e7551f3e00c20d2b2245259d4370283bd65f7.zip |
Respect NOPORTDOCS.
PR: ports/109180
Submitted by: rafan
Diffstat (limited to 'devel/libsigc++20')
-rw-r--r-- | devel/libsigc++20/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/devel/libsigc++20/Makefile b/devel/libsigc++20/Makefile index d02972c06b59..26f99a25a0d6 100644 --- a/devel/libsigc++20/Makefile +++ b/devel/libsigc++20/Makefile @@ -31,5 +31,10 @@ PLIST_SUB= VERSION="2.0" API_VERSION="2.0" post-patch: @${REINPLACE_CMD} -e "/^SUBDIRS =/s|tests||; \ /^SUBDIRS =/s|examples||" ${WRKSRC}/Makefile.in +.if defined(NOPORTDOCS) + @${REINPLACE_CMD} -e "/^install-data-am:/s/install-libsigc_docDATA//; \ + s/^\(SUBDIRS =\).*/\1/" \ + ${WRKSRC}/docs/Makefile.in +.endif .include <bsd.port.mk> |