aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2013-12-03 01:18:06 +0800
committersunpoet <sunpoet@FreeBSD.org>2013-12-03 01:18:06 +0800
commit8f1a1a4e946825609c431b304afebd4be518415f (patch)
tree18c2630ae203149d1622d7f4e462c470d67aaee6 /www
parent6b3e387c6ca39772eb3872be1ebdafff59af3d5c (diff)
downloadfreebsd-ports-gnome-8f1a1a4e946825609c431b304afebd4be518415f.tar.gz
freebsd-ports-gnome-8f1a1a4e946825609c431b304afebd4be518415f.tar.zst
freebsd-ports-gnome-8f1a1a4e946825609c431b304afebd4be518415f.zip
- Add LICENSE
- Convert to new options helper - Space/Tab twiddle
Diffstat (limited to 'www')
-rw-r--r--www/rubygem-rails/Makefile24
1 files changed, 8 insertions, 16 deletions
diff --git a/www/rubygem-rails/Makefile b/www/rubygem-rails/Makefile
index 252ac3910dd3..1b59486b1808 100644
--- a/www/rubygem-rails/Makefile
+++ b/www/rubygem-rails/Makefile
@@ -9,6 +9,8 @@ MASTER_SITES= RG
MAINTAINER= ruby@FreeBSD.org
COMMENT= MVC web application framework
+LICENSE= MIT
+
RUN_DEPENDS= rubygem-activesupport>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-activesupport \
rubygem-activerecord>=${PORTVERSION}:${PORTSDIR}/databases/rubygem-activerecord \
rubygem-actionpack>=${PORTVERSION}:${PORTSDIR}/www/rubygem-actionpack \
@@ -34,33 +36,23 @@ RUN_DEPENDS= rubygem-activesupport>=${PORTVERSION}:${PORTSDIR}/devel/rubygem-act
# XXX: rails3 gem no longer has a lib/ dir
# XXX: which breaks devel/ruby-gems specification.
# XXX: and thus rdoc
-NOPORTDOCS=yes
+NOPORTDOCS= yes
USE_RUBY= yes
USE_RUBY_RDOC= yes
USE_RUBYGEMS= yes
-RUBYGEM_AUTOPLIST= yes
+RUBYGEM_AUTOPLIST= yes
-OPTIONS_DEFINE=FCGI PASSENGER MEMCACHE_CLIENT
+OPTIONS_DEFINE= FCGI PASSENGER MEMCACHE_CLIENT
FCGI_DESC= FastCGI 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 ${PORT_OPTIONS:MFCGI}
-RUN_DEPENDS+= ${RUBY_SITEARCHLIBDIR}/fcgi.so:${PORTSDIR}/www/ruby-fcgi
-.endif
-
-.if ${PORT_OPTIONS:MMEMCACHE_CLIENT}
-RUN_DEPENDS+= rubygem-memcache-client>=1.2.0:${PORTSDIR}/databases/rubygem-memcache-client
-.endif
-
-.if ${PORT_OPTIONS:MPASSENGER}
-RUN_DEPENDS+= rubygem-passenger>=2.2.15:${PORTSDIR}/www/rubygem-passenger
-.endif
+FCGI_RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/fcgi.so:${PORTSDIR}/www/ruby-fcgi
+MEMCACHE_CLIENT_RUN_DEPENDS= rubygem-memcache-client>=1.2.0:${PORTSDIR}/databases/rubygem-memcache-client
+PASSENGER_RUN_DEPENDS= rubygem-passenger>=2.2.15:${PORTSDIR}/www/rubygem-passenger
.include <bsd.port.pre.mk>