aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2013-10-20 21:11:22 +0800
committerswills <swills@FreeBSD.org>2013-10-20 21:11:22 +0800
commit37acd01c22f25015f802b72e4732dd3182f8991f (patch)
treedc67a56a752bc382650dba552b2c3334134888dc
parent9da164a85a82089dd0c61bd4cdad0badbb8d18bc (diff)
downloadfreebsd-ports-gnome-37acd01c22f25015f802b72e4732dd3182f8991f.tar.gz
freebsd-ports-gnome-37acd01c22f25015f802b72e4732dd3182f8991f.tar.zst
freebsd-ports-gnome-37acd01c22f25015f802b72e4732dd3182f8991f.zip
Loads environment variables from `.env`.
WWW: https://github.com/bkeepers/dotenv PR: ports/182667 Submitted by: Loic Blot <loic.blot@unix-experience.fr>
-rw-r--r--misc/Makefile1
-rw-r--r--misc/rubygem-dotenv/Makefile19
-rw-r--r--misc/rubygem-dotenv/distinfo2
-rw-r--r--misc/rubygem-dotenv/pkg-descr3
4 files changed, 25 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 5ddde27d7ab5..8a8ecf21d0df 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -400,6 +400,7 @@
SUBDIR += rtfm
SUBDIR += ruby-progressbar
SUBDIR += ruby-vpim
+ SUBDIR += rubygem-dotenv
SUBDIR += rubygem-mime-types
SUBDIR += rubygem-rabbit
SUBDIR += rubygem-vpim
diff --git a/misc/rubygem-dotenv/Makefile b/misc/rubygem-dotenv/Makefile
new file mode 100644
index 000000000000..495d074dbaa2
--- /dev/null
+++ b/misc/rubygem-dotenv/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= dotenv
+PORTVERSION= 0.9.0
+CATEGORIES= misc rubygems
+MASTER_SITES= RG
+
+MAINTAINER= ruby@FreeBSD.org
+COMMENT= Loads environment variables from `.env`
+
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+PLIST_FILES+= bin/dotenv
+
+NO_STAGE= yes
+
+.include <bsd.port.mk>
diff --git a/misc/rubygem-dotenv/distinfo b/misc/rubygem-dotenv/distinfo
new file mode 100644
index 000000000000..69cf14338056
--- /dev/null
+++ b/misc/rubygem-dotenv/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/dotenv-0.9.0.gem) = 838e235fa00d343c3138dbc05aa2cf1ec626ff9f065d521917a79a86b4a980be
+SIZE (rubygem/dotenv-0.9.0.gem) = 10752
diff --git a/misc/rubygem-dotenv/pkg-descr b/misc/rubygem-dotenv/pkg-descr
new file mode 100644
index 000000000000..e3c99874532d
--- /dev/null
+++ b/misc/rubygem-dotenv/pkg-descr
@@ -0,0 +1,3 @@
+Loads environment variables from `.env`.
+
+WWW: https://github.com/bkeepers/dotenv