aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorxmj <xmj@FreeBSD.org>2014-10-05 01:18:35 +0800
committerxmj <xmj@FreeBSD.org>2014-10-05 01:18:35 +0800
commit6c67d6dd772b411efc36712a8376a3b049bae353 (patch)
tree5d5d52376d06792cd1fbc9938ac7155d99bc8f00 /www
parent88ae9414a9738edd9765a56678f319538b2b201d (diff)
downloadfreebsd-ports-gnome-6c67d6dd772b411efc36712a8376a3b049bae353.tar.gz
freebsd-ports-gnome-6c67d6dd772b411efc36712a8376a3b049bae353.tar.zst
freebsd-ports-gnome-6c67d6dd772b411efc36712a8376a3b049bae353.zip
www/rubygem-rails_autolink: create port
This is an extraction of the 'auto_link' method from rails. The 'auto_link' method was removed from Rails in version Rails 3.1. This gem is meant to bridge the gap for people migrating. WWW: https://github.com/tenderlove/rails_autolink (DiffRev: placeholder) Differential Revision: https://reviews.freebsd.org/D893 Approved by: swills (mentor)
Diffstat (limited to 'www')
-rw-r--r--www/Makefile1
-rw-r--r--www/rubygem-rails_autolink/Makefile21
-rw-r--r--www/rubygem-rails_autolink/distinfo2
-rw-r--r--www/rubygem-rails_autolink/pkg-descr5
4 files changed, 29 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile
index 8a22ef29e714..93ff9525a96f 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1848,6 +1848,7 @@
SUBDIR += rubygem-rack15
SUBDIR += rubygem-rails
SUBDIR += rubygem-rails4
+ SUBDIR += rubygem-rails_autolink
SUBDIR += rubygem-railties
SUBDIR += rubygem-railties4
SUBDIR += rubygem-raindrops
diff --git a/www/rubygem-rails_autolink/Makefile b/www/rubygem-rails_autolink/Makefile
new file mode 100644
index 000000000000..9b92af1bb6ee
--- /dev/null
+++ b/www/rubygem-rails_autolink/Makefile
@@ -0,0 +1,21 @@
+# Created by: Johannes Meixner <xmj@chaot.net>
+# $FreeBSD$
+
+PORTNAME= rails_autolink
+PORTVERSION= 1.1.6
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Extraction of the auto_link method from rails, removed in 3.1
+
+LICENSE= MIT
+
+RUN_DEPENDS= rubygem-rails4>=${PORTVERSION}:${PORTSDIR}/www/rubygem-rails4
+
+USE_RUBY= yes
+USE_RAKE= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-rails_autolink/distinfo b/www/rubygem-rails_autolink/distinfo
new file mode 100644
index 000000000000..aeb7dee83035
--- /dev/null
+++ b/www/rubygem-rails_autolink/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/rails_autolink-1.1.6.gem) = 384c17bee71ca5dc44f49401762f91abb6bc356dd564f380713fc974d2c25671
+SIZE (rubygem/rails_autolink-1.1.6.gem) = 13312
diff --git a/www/rubygem-rails_autolink/pkg-descr b/www/rubygem-rails_autolink/pkg-descr
new file mode 100644
index 000000000000..2099f1d4737a
--- /dev/null
+++ b/www/rubygem-rails_autolink/pkg-descr
@@ -0,0 +1,5 @@
+This is an extraction of the 'auto_link' method from rails. The 'auto_link'
+method was removed from Rails in version Rails 3.1. This gem is meant to bridge
+the gap for people migrating.
+
+WWW: https://github.com/tenderlove/rails_autolink