aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql++3
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-03 21:48:44 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-03 21:48:44 +0000
commit4586d2ad5c8db1208ef17384b5c1df8aa36a3f9e (patch)
treea217c2f6b9317591e25a1528cad83dd0d6c1510b /databases/mysql++3
parentf7622d1fc81f368c475b5acccae9b33957754f02 (diff)
Notes
Diffstat (limited to 'databases/mysql++3')
-rw-r--r--databases/mysql++3/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/databases/mysql++3/Makefile b/databases/mysql++3/Makefile
index 54d0136de631..8ad9c03f5021 100644
--- a/databases/mysql++3/Makefile
+++ b/databases/mysql++3/Makefile
@@ -23,16 +23,14 @@ CONFLICTS= ${PORTNAME}*-1.*
PORTDOCS= *
PORTEXAMPLES= *
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-install:
-.ifndef(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} pdf ${STAGEDIR}${DOCSDIR})
(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} html ${STAGEDIR}${DOCSDIR})
-.endif
-.ifndef(NOPORTEXAMPLES)
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.h ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.cpp ${STAGEDIR}${EXAMPLESDIR}
-.endif
.include <bsd.port.mk>