diff options
| author | Pav Lucistnik <pav@FreeBSD.org> | 2006-01-29 12:01:19 +0000 |
|---|---|---|
| committer | Pav Lucistnik <pav@FreeBSD.org> | 2006-01-29 12:01:19 +0000 |
| commit | 33520229f36cc0268781f329aa7b201182ea4b8b (patch) | |
| tree | 3be776b73468fbbbc2ce9e5c87931b52f6319a43 | |
| parent | New Ruby MemCached client memcache-client from the Robotcoop. It is a pure Ruby (diff) | |
- Add OPTIONonal support for fcgi and memcache-client
PR: ports/92358
Submitted by: Jonathan Weiss <jw@innerewut.de> (maintainer)
| -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> |
