summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2016-06-30 04:03:07 +0000
committermi <mi@FreeBSD.org>2016-06-30 04:03:07 +0000
commit7f83df9b30ddf27b5e631f5ca0ccf5b90fbd7515 (patch)
tree9bcd1ff466e6d18dcd0fe1abf805624ced4353a3
parentfb287be81bfd1faf9e924441545833cfee3a02d2 (diff)
downloadFreeBSD-ports-7f83df9b30ddf27b5e631f5ca0ccf5b90fbd7515.zip
FreeBSD-ports-7f83df9b30ddf27b5e631f5ca0ccf5b90fbd7515.tar.gz
Handle the EXAMPLES-option being disabled the same way DOCS
is handled. Remove gratutious inclusion of bsd.port.options.mk PR: 197074
-rw-r--r--graphics/tesseract/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/graphics/tesseract/Makefile b/graphics/tesseract/Makefile
index 11b69cd..4e3e62a 100644
--- a/graphics/tesseract/Makefile
+++ b/graphics/tesseract/Makefile
@@ -41,13 +41,11 @@ post-patch:
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g' \
${WRKSRC}/Makefile.in
-.include <bsd.port.options.mk>
-
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS:Nhtml} ${STAGEDIR}${DOCSDIR}
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR}
-post-install:
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@cd ${WRKSRC} && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
OpenPOWER on IntegriCloud