diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-01-13 09:52:05 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-01-13 09:52:05 +0000 |
commit | 33c0e0a97e864b35de9aee04f6eaba86458acef7 (patch) | |
tree | 7b7c2fc03f459474769b9b78578c990d5897dff4 /databases/postgresql-plruby | |
parent | 6a68ca1decff96edb8bc97725d87cdc9d5ff5e40 (diff) | |
download | ports-33c0e0a97e864b35de9aee04f6eaba86458acef7.tar.gz ports-33c0e0a97e864b35de9aee04f6eaba86458acef7.zip |
Notes
Diffstat (limited to 'databases/postgresql-plruby')
-rw-r--r-- | databases/postgresql-plruby/Makefile | 12 |
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> |