diff options
author | Wesley Shields <wxs@FreeBSD.org> | 2008-11-04 16:23:34 +0000 |
---|---|---|
committer | Wesley Shields <wxs@FreeBSD.org> | 2008-11-04 16:23:34 +0000 |
commit | a0e3ff7389e0e4e302ba7e23932ca5f10fe583a3 (patch) | |
tree | f609af9858e688b4bc713b7e0fc0682f774f6cbb /devel/libcheck | |
parent | - Update to 0.39 (diff) |
Respect NOPORTDOCS and NOPORTEXAMPLES.
Noticed by: QAT
Notes
Notes:
svn path=/head/; revision=222382
Diffstat (limited to 'devel/libcheck')
-rw-r--r-- | devel/libcheck/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/libcheck/Makefile b/devel/libcheck/Makefile index fe49ce423819..03e4e9207e36 100644 --- a/devel/libcheck/Makefile +++ b/devel/libcheck/Makefile @@ -25,4 +25,17 @@ EXAMPLESDIR= ${PREFIX}/share/examples/check-${PORTVERSION} INFO= check +post-patch: +.ifdef (NOPORTDOCS) + @${REINPLACE_CMD} \ + 's/^install-data-am: install-docDATA/install-data-am:/' \ + ${WRKSRC}/Makefile.in +.endif +.ifdef (NOPORTEXAMPLES) + @${REINPLACE_CMD} -e \ + 's/^\(install-data-am:\) install-exampleDATA install-examplesrcDATA/\1/; \ + s/.*install-exampletestsDATA \(install-info-am\)/\1/' \ + ${WRKSRC}/doc/Makefile.in +.endif + .include <bsd.port.mk> |