diff options
author | jgh <jgh@FreeBSD.org> | 2013-01-12 06:05:13 +0800 |
---|---|---|
committer | jgh <jgh@FreeBSD.org> | 2013-01-12 06:05:13 +0800 |
commit | 97b50641659b9cb8463d2c57c6437ec9f4bee492 (patch) | |
tree | 59e939c7f40e98b12bb2925e7f40b77cf109f817 /www | |
parent | fb04989dfee154e5aa92aaa0ae45894e0685ba15 (diff) | |
download | freebsd-ports-gnome-97b50641659b9cb8463d2c57c6437ec9f4bee492.tar.gz freebsd-ports-gnome-97b50641659b9cb8463d2c57c6437ec9f4bee492.tar.zst freebsd-ports-gnome-97b50641659b9cb8463d2c57c6437ec9f4bee492.zip |
- update remaining ruby@ maintained ports to new options framework
- trim historical header where applicable
Reviewed by: swills@ (ruby@)
Diffstat (limited to 'www')
-rw-r--r-- | www/rubygem-rails/Makefile | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/www/rubygem-rails/Makefile b/www/rubygem-rails/Makefile index 19b2a159e97a..7fc159c01bd8 100644 --- a/www/rubygem-rails/Makefile +++ b/www/rubygem-rails/Makefile @@ -1,7 +1,4 @@ -# Ports collection makefile for: rubygem-rails -# Date created: 27 May 2005 -# Whom: Jonathan Weiss (<jw@innerewut.de>) -# +# Created by: Jonathan Weiss (<jw@innerewut.de>) # $FreeBSD$ PORTNAME= rails @@ -44,33 +41,33 @@ USE_RUBY_RDOC= yes USE_RUBYGEMS= yes RUBYGEM_AUTOPLIST= yes -OPTIONS= \ - FCGI "FastCGI backend" Off \ - MONGREL "Mongrel backend" Off \ - MONGRELCLUSTER "Mongrel Cluster backend" Off \ - PASSENGER "Passenger backend" Off \ - MEMCACHE_CLIENT "MemCache-Client support" Off +OPTIONS_DEFINE=FCGI MONGREL MONGRELCLUSTER PASSENGER MEMCACHE_CLIENT +FCGI_DESC= FastCGI backend +MONGREL_DESC= Mongrel backend +MONGRELCLUSTER_DESC= Mongrel Cluster backend +PASSENGER_DESC= Passenger backend +MEMCACHE_CLIENT_DESC= MemCache-Client support OPTIONSFILE= ${PORT_DBDIR}/rubygem-${PORTNAME}/options .include <bsd.port.options.mk> -.if defined(WITH_FCGI) +.if ${PORT_OPTIONS:MFCGI} RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/fcgi.so:${PORTSDIR}/www/ruby-fcgi .endif -.if defined(WITH_MEMCACHE_CLIENT) +.if ${PORT_OPTIONS:MMEMCACHE_CLIENT} RUN_DEPENDS+= rubygem-memcache-client>=1.2.0:${PORTSDIR}/databases/rubygem-memcache-client .endif -.if defined(WITH_MONGREL) +.if ${PORT_OPTIONS:MMONGREL} RUN_DEPENDS+= rubygem-mongrel>=1.1.5:${PORTSDIR}/www/rubygem-mongrel .endif -.if defined(WITH_MONGRELCLUSTER) +.if ${PORT_OPTIONS:MMONGRELCLUSTER} RUN_DEPENDS+= rubygem-mongrel_cluster>=1.0.5:${PORTSDIR}/www/rubygem-mongrel_cluster .endif -.if defined(WITH_PASSENGER) +.if ${PORT_OPTIONS:MPASSENGER} RUN_DEPENDS+= rubygem-passenger>=2.2.15:${PORTSDIR}/www/rubygem-passenger .endif |