aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjrm <jrm@FreeBSD.org>2017-05-25 09:47:40 +0800
committerjrm <jrm@FreeBSD.org>2017-05-25 09:47:40 +0800
commit5d0e5fa4c9fae8f7604e715b0ae86c42297a6cfc (patch)
tree06ba8db2c1ca070d54aafc86493b583072375e52
parent07d394b313415562cada888de7f0439a9e8cf877 (diff)
downloadfreebsd-ports-gnome-5d0e5fa4c9fae8f7604e715b0ae86c42297a6cfc.tar.gz
freebsd-ports-gnome-5d0e5fa4c9fae8f7604e715b0ae86c42297a6cfc.tar.zst
freebsd-ports-gnome-5d0e5fa4c9fae8f7604e715b0ae86c42297a6cfc.zip
devel/rubygem-paperclip-rails50: Create rails version 5.0 port by copying
devel/rubygem-paperclip-rails5 Approved by: swills (mentor, implicit)
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-paperclip-rails50/Makefile28
-rw-r--r--devel/rubygem-paperclip-rails50/distinfo3
-rw-r--r--devel/rubygem-paperclip-rails50/pkg-descr3
4 files changed, 35 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 1c8727ab82cd..1ae02eb33acb 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5457,6 +5457,7 @@
SUBDIR += rubygem-paint
SUBDIR += rubygem-paperclip
SUBDIR += rubygem-paperclip-rails5
+ SUBDIR += rubygem-paperclip-rails50
SUBDIR += rubygem-parser
SUBDIR += rubygem-patch_finder
SUBDIR += rubygem-pathutil
diff --git a/devel/rubygem-paperclip-rails50/Makefile b/devel/rubygem-paperclip-rails50/Makefile
new file mode 100644
index 000000000000..d2aa0c162432
--- /dev/null
+++ b/devel/rubygem-paperclip-rails50/Makefile
@@ -0,0 +1,28 @@
+# Created by: Ryan Steinmetz <zi@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= paperclip
+PORTVERSION= 5.1.0
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -rails50
+
+MAINTAINER= jrm@FreeBSD.org
+COMMENT= Easy upload management for ActiveRecord
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= ImageMagick7-nox11>0:graphics/ImageMagick7-nox11
+
+RUN_DEPENDS+= rubygem-activemodel50>0:databases/rubygem-activemodel50 \
+ rubygem-activesupport50>=0:devel/rubygem-activesupport50 \
+ rubygem-cocaine>=0.5.5:devel/rubygem-cocaine \
+ rubygem-mimemagic>=0.3.0:misc/rubygem-mimemagic \
+ rubygem-mime-types>=0:misc/rubygem-mime-types
+
+NO_ARCH= yes
+USE_RUBY= yes
+USES= gem
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-paperclip-rails50/distinfo b/devel/rubygem-paperclip-rails50/distinfo
new file mode 100644
index 000000000000..5b5844e549dc
--- /dev/null
+++ b/devel/rubygem-paperclip-rails50/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1483151114
+SHA256 (rubygem/paperclip-5.1.0.gem) = b1fda1f0a3f07f077a6ed97cefaed4bbdef69e8e85b8ab29d354eceeb4bee1f4
+SIZE (rubygem/paperclip-5.1.0.gem) = 297472
diff --git a/devel/rubygem-paperclip-rails50/pkg-descr b/devel/rubygem-paperclip-rails50/pkg-descr
new file mode 100644
index 000000000000..449b3b977135
--- /dev/null
+++ b/devel/rubygem-paperclip-rails50/pkg-descr
@@ -0,0 +1,3 @@
+Easy upload management for ActiveRecord
+
+WWW: https://github.com/thoughtbot/paperclip