diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-03 21:48:44 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-03 21:48:44 +0000 |
commit | 4586d2ad5c8db1208ef17384b5c1df8aa36a3f9e (patch) | |
tree | a217c2f6b9317591e25a1528cad83dd0d6c1510b /databases/postgresql-plruby | |
parent | f7622d1fc81f368c475b5acccae9b33957754f02 (diff) | |
download | ports-4586d2ad5c8db1208ef17384b5c1df8aa36a3f9e.tar.gz ports-4586d2ad5c8db1208ef17384b5c1df8aa36a3f9e.zip |
Notes
Diffstat (limited to 'databases/postgresql-plruby')
-rw-r--r-- | databases/postgresql-plruby/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/databases/postgresql-plruby/Makefile b/databases/postgresql-plruby/Makefile index b63257619e48..f22825fb52c2 100644 --- a/databases/postgresql-plruby/Makefile +++ b/databases/postgresql-plruby/Makefile @@ -36,15 +36,19 @@ INSTALL_TARGET= site-install DOCS= Changes plruby.html plruby.rd +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 !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} cd ${BUILD_WRKSRC}; ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} rdoc .endif @@ -53,7 +57,7 @@ post-build: post-install: @${MKDIR} ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ ${INSTALL_DATA} ${WRKDIR}/createlang.sql ${STAGEDIR}${RUBY_MODEXAMPLESDIR}/ -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${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 \ |