aboutsummaryrefslogtreecommitdiff
path: root/databases/ocaml-mysql
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-10 15:24:12 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-10 15:24:12 +0000
commita812006ba730010bcc7624de90a3a1bf0c19eab7 (patch)
treefb75efe1380fd1911ddd291f08eb93c3eddd1aea /databases/ocaml-mysql
parentc8468db7fa2c713580313307fe3ff947cd74aacd (diff)
downloadports-a812006ba730010bcc7624de90a3a1bf0c19eab7.tar.gz
ports-a812006ba730010bcc7624de90a3a1bf0c19eab7.zip
Notes
Diffstat (limited to 'databases/ocaml-mysql')
-rw-r--r--databases/ocaml-mysql/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/databases/ocaml-mysql/Makefile b/databases/ocaml-mysql/Makefile
index 8f85c1948ecb..9ec11c839703 100644
--- a/databases/ocaml-mysql/Makefile
+++ b/databases/ocaml-mysql/Makefile
@@ -29,18 +29,14 @@ PORTDOCS= *
OPTIONS_DEFINE= DOCS
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOCS}
-ALL_TARGET+= htdoc
-
-post-install:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/doc/mysql/html/* ${STAGEDIR}${DOCSDIR}
-.endif
+DOCS_ALL_TARGET= htdoc
post-patch:
${REINPLACE_CMD} 's,OCAMLFIND_INSTFLAGS=,OCAMLFIND_INSTFLAGS=-ldconf ignore ,' \
${WRKSRC}/Makefile.in
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/mysql/html/* ${STAGEDIR}${DOCSDIR}
+
.include <bsd.port.mk>