aboutsummaryrefslogtreecommitdiff
path: root/databases/postgresql-plruby
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-13 09:52:05 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-01-13 09:52:05 +0000
commit33c0e0a97e864b35de9aee04f6eaba86458acef7 (patch)
tree7b7c2fc03f459474769b9b78578c990d5897dff4 /databases/postgresql-plruby
parent6a68ca1decff96edb8bc97725d87cdc9d5ff5e40 (diff)
downloadports-33c0e0a97e864b35de9aee04f6eaba86458acef7.tar.gz
ports-33c0e0a97e864b35de9aee04f6eaba86458acef7.zip
Notes
Diffstat (limited to 'databases/postgresql-plruby')
-rw-r--r--databases/postgresql-plruby/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/databases/postgresql-plruby/Makefile b/databases/postgresql-plruby/Makefile
index 053f2dabd413..65de7053857a 100644
--- a/databases/postgresql-plruby/Makefile
+++ b/databases/postgresql-plruby/Makefile
@@ -14,7 +14,7 @@ USE_GITHUB= yes
GH_ACCOUNT= CraigCottingham
GH_TAGNAME= f8d9ced
-USES+= uidfix tar:bzip2 pgsql
+USES= uidfix pgsql
WANT_PGSQL= server
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
@@ -36,27 +36,25 @@ OPTIONS_DEFINE= DOCS
PKGMESSAGE= ${WRKDIR}/createlang.sql
-.include <bsd.port.options.mk>
-
post-fetch:
cd ${PGSQL_PORTDIR} && ${MAKE} -DBATCH patch
post-build:
${SED} 's,!!PLRUBY_SO!!,${RUBY_SITEARCHLIBDIR}/plruby.so,' \
${FILESDIR}/createlang.sql > ${WRKDIR}/createlang.sql
-.if ${PORT_OPTIONS:MDOCS}
+
+post-build-DOCS-on:
cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc
-.endif
post-install:
@${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
${INSTALL_DATA} ${WRKDIR}/createlang.sql ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/
-.if ${PORT_OPTIONS:MDOCS}
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
cd ${WRKSRC}/ && ${COPYTREE_SHARE} docs/doc ${STAGEDIR}${RUBY_MODDOCDIR}/ README.markdown && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${RUBY_MODDOCDIR}/
${FIND} -ds ${STAGEDIR}${RUBY_MODDOCDIR} -type f -print | ${SED} -E -e \
's,^${STAGEDIR}${PREFIX}/?,,' >> ${TMPPLIST}
-.endif
.include <bsd.port.pre.mk>