aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2016-06-30 12:03:07 +0800
committermi <mi@FreeBSD.org>2016-06-30 12:03:07 +0800
commit588b4560201bd84f66acdf1574431a6837b18e71 (patch)
tree9bcd1ff466e6d18dcd0fe1abf805624ced4353a3
parent845ad7b1b808f5c3b664a3bc2f5539ea92533623 (diff)
downloadfreebsd-ports-graphics-588b4560201bd84f66acdf1574431a6837b18e71.tar.gz
freebsd-ports-graphics-588b4560201bd84f66acdf1574431a6837b18e71.tar.zst
freebsd-ports-graphics-588b4560201bd84f66acdf1574431a6837b18e71.zip
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 11b69cdeccb..4e3e62a01b4 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}