aboutsummaryrefslogtreecommitdiff
path: root/databases/tora
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/tora
parentc8468db7fa2c713580313307fe3ff947cd74aacd (diff)
downloadports-a812006ba730010bcc7624de90a3a1bf0c19eab7.tar.gz
ports-a812006ba730010bcc7624de90a3a1bf0c19eab7.zip
Notes
Diffstat (limited to 'databases/tora')
-rw-r--r--databases/tora/Makefile9
1 files changed, 3 insertions, 6 deletions
diff --git a/databases/tora/Makefile b/databases/tora/Makefile
index bb6b263acaf1..603dbf1bcf16 100644
--- a/databases/tora/Makefile
+++ b/databases/tora/Makefile
@@ -43,14 +43,11 @@ ORACLE_BUILD_DEPENDS= ${ORACLE_HOME}/lib/libclntsh.a:${PORTSDIR}/databases/oracl
ORACLE_RUN_DEPENDS= ${ORACLE_HOME}/network/admin/tnsnames.ora:${PORTSDIR}/databases/oracle8-client
ORACLE_CONFIGURE_ON= --with-oracle=${ORACLE_HOME} --with-oci-version=${ORACLE_VER:tu}
-.include <bsd.port.options.mk>
-
-post-patch:
-.if ${PORT_OPTIONS:MDOCS}
+post-patch-DOCS-on:
@${REINPLACE_CMD} 's|/etc/torarc|${PREFIX}/etc/torarc|' \
${PREFIX2FIX:S|^|${WRKSRC}/|}
-.else
+
+post-patch-DOCS-off:
@${REINPLACE_CMD} 's|test doc|test|' ${WRKSRC}/Makefile.am
-.endif
.include <bsd.port.mk>