diff options
author | pav <pav@FreeBSD.org> | 2006-01-29 20:01:19 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-01-29 20:01:19 +0800 |
commit | fee7b899e71f6d51df91d525dc16e814540a06d2 (patch) | |
tree | 8471372517733de43a7f45c545bae3ca45e7a2f4 /www/rubygem-rails | |
parent | 98fce190289ad28ad46361eecf1ea1c189940875 (diff) | |
download | freebsd-ports-gnome-fee7b899e71f6d51df91d525dc16e814540a06d2.tar.gz freebsd-ports-gnome-fee7b899e71f6d51df91d525dc16e814540a06d2.tar.zst freebsd-ports-gnome-fee7b899e71f6d51df91d525dc16e814540a06d2.zip |
- Add OPTIONonal support for fcgi and memcache-client
PR: ports/92358
Submitted by: Jonathan Weiss <jw@innerewut.de> (maintainer)
Diffstat (limited to 'www/rubygem-rails')
-rw-r--r-- | www/rubygem-rails/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/www/rubygem-rails/Makefile b/www/rubygem-rails/Makefile index deaa26c9f0f3..a5bd96d5d9d7 100644 --- a/www/rubygem-rails/Makefile +++ b/www/rubygem-rails/Makefile @@ -20,6 +20,22 @@ BUILD_DEPENDS= ${LOCALBASE}/${SPEC_DIR}/rake-0.6.2.gemspec:${PORTSDIR}/devel/rub ${LOCALBASE}/${SPEC_DIR}/activerecord-1.13.2.gemspec:${PORTSDIR}/databases/rubygem-activerecord RUN_DEPENDS= ${BUILD_DEPENDS} +OPTIONS= FCGI "FastCGI support" Off\ + MEMCACHE_CLIENT "MemCache-Client support" Off +OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options + +# to get RUBY_SITEARCHLIBDIR +USE_RUBY= yes + .include <bsd.port.pre.mk> + +.if defined(WITH_FCGI) +RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/fcgi.so:${PORTSDIR}/www/ruby-fcgi +.endif + +.if defined(WITH_MEMCACHE_CLIENT) +RUN_DEPENDS+= ${LOCALBASE}/${SPEC_DIR}/memcache-client-1.0.3.gemspec:${PORTSDIR}/databases/rubygem-memcache-client +.endif + .include "${PORTSDIR}/devel/ruby-gems/Makefile.common" .include <bsd.port.post.mk> |