diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2010-01-31 13:19:07 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2010-01-31 13:19:07 +0000 |
commit | 7a04e23af04662bfc30d59159ae5108d90230155 (patch) | |
tree | dbbe126af58154aea45ea14149add8cab0e9e902 /www/redmine/Makefile | |
parent | 0521ad8204da2755ae5426c502f09ecd383b7234 (diff) |
Notes
Diffstat (limited to 'www/redmine/Makefile')
-rw-r--r-- | www/redmine/Makefile | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/www/redmine/Makefile b/www/redmine/Makefile index 44a23adeb82c..b8965761c741 100644 --- a/www/redmine/Makefile +++ b/www/redmine/Makefile @@ -6,7 +6,7 @@ # PORTNAME= redmine -PORTVERSION= 0.8.7 +PORTVERSION= 0.9.1 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_RUBYFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -19,6 +19,19 @@ USE_RUBY_FEATURES= iconv USE_RAKE= yes NO_BUILD= yes +OPTIONS= MYSQL "Enable MySQL Support" on \ + POSTGRESQL "Enable PostgreSQL Support" off + +.include <bsd.port.pre.mk> + +.if defined(WITH_MYSQL) +RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/mysql.so:${PORTSDIR}/databases/ruby-mysql +.endif + +.if defined(WITH_POSTGRESQL) +RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/pg.so:${PORTSDIR}/databases/ruby-pg +.endif + do-install: ${MKDIR} ${WWWDIR} (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "*" ${WWWDIR} "! -name *.orig") @@ -33,4 +46,4 @@ do-install: post-install: @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> |