aboutsummaryrefslogtreecommitdiff
path: root/databases/mysql++1
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++1
parentf7622d1fc81f368c475b5acccae9b33957754f02 (diff)
downloadports-4586d2ad5c8db1208ef17384b5c1df8aa36a3f9e.tar.gz
ports-4586d2ad5c8db1208ef17384b5c1df8aa36a3f9e.zip
Notes
Diffstat (limited to 'databases/mysql++1')
-rw-r--r--databases/mysql++1/Makefile4
-rw-r--r--databases/mysql++1/pkg-plist34
2 files changed, 19 insertions, 19 deletions
diff --git a/databases/mysql++1/Makefile b/databases/mysql++1/Makefile
index 54ca1f04629a..3f296032d3a8 100644
--- a/databases/mysql++1/Makefile
+++ b/databases/mysql++1/Makefile
@@ -20,8 +20,9 @@ USE_LDCONFIG= yes
CONFLICTS= ${PORTNAME}*-2.*
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-install:
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}/userman/html ${STAGEDIR}${DOCSDIR}/refman/html
@${INSTALL_DATA} ${WRKSRC}/doc/userman/html/* ${STAGEDIR}${DOCSDIR}/userman/html
@${INSTALL_DATA} ${WRKSRC}/doc/refman/html/* ${STAGEDIR}${DOCSDIR}/refman/html
@@ -36,6 +37,5 @@ post-install:
${SED} -e "s|-lmysqlpp|-L${PREFIX}/lib -L${LOCALBASE}/lib/mysql -lmysqlpp|" \
> ${STAGEDIR}${EXAMPLESDIR}/Makefile
@${RM} -f ${STAGEDIR}${EXAMPLESDIR}/Makefile.temp
-.endif
.include <bsd.port.mk>
diff --git a/databases/mysql++1/pkg-plist b/databases/mysql++1/pkg-plist
index f842f216eead..cfb3a6cc3abe 100644
--- a/databases/mysql++1/pkg-plist
+++ b/databases/mysql++1/pkg-plist
@@ -338,26 +338,26 @@ lib/libmysqlpp.so.4
%%PORTDOCS%%%%DOCSDIR%%/userman/html/ar01s06.html
%%PORTDOCS%%%%DOCSDIR%%/userman/html/ar01s07.html
%%PORTDOCS%%%%DOCSDIR%%/userman/html/index.html
-%%PORTDOCS%%%%EXAMPLESDIR%%/Makefile
-%%PORTDOCS%%%%EXAMPLESDIR%%/README
-%%PORTDOCS%%%%EXAMPLESDIR%%/cgi_image.cpp
-%%PORTDOCS%%%%EXAMPLESDIR%%/custom1.cpp
-%%PORTDOCS%%%%EXAMPLESDIR%%/custom2.cpp
-%%PORTDOCS%%%%EXAMPLESDIR%%/custom3.cpp
-%%PORTDOCS%%%%EXAMPLESDIR%%/custom4.cpp
-%%PORTDOCS%%%%EXAMPLESDIR%%/custom5.cpp
-%%PORTDOCS%%%%EXAMPLESDIR%%/dbinfo.cpp
-%%PORTDOCS%%%%EXAMPLESDIR%%/fieldinf1.cpp
-%%PORTDOCS%%%%EXAMPLESDIR%%/load_file.cpp
-%%PORTDOCS%%%%EXAMPLESDIR%%/resetdb.cpp
-%%PORTDOCS%%%%EXAMPLESDIR%%/simple1.cpp
-%%PORTDOCS%%%%EXAMPLESDIR%%/updel.cpp
-%%PORTDOCS%%%%EXAMPLESDIR%%/util.cpp
-%%PORTDOCS%%%%EXAMPLESDIR%%/util.h
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cgi_image.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/custom1.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/custom2.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/custom3.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/custom4.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/custom5.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dbinfo.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fieldinf1.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/load_file.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/resetdb.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple1.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/updel.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/util.cpp
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/util.h
@dirrm include/mysql++
%%PORTDOCS%%@dirrm %%DOCSDIR%%/refman/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/refman
%%PORTDOCS%%@dirrm %%DOCSDIR%%/userman/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/userman
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%