aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-02-21 14:14:00 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-02-21 15:06:14 +0000
commit413f267881b4e8a9a3fabf94ea5cd486f213e7ea (patch)
treede8bdcc2c0d39b0485f099c844dee1d449388e53
parentcf2fcb8908f71a14d6cc4efe4c74c3ce8bb9c44f (diff)
misc/rubygem-dotenv2: Add rubygem-dotenv2 2.8.1 (copied from rubygem-dotenv)
- Add PORTSCOUT
-rw-r--r--misc/Makefile1
-rw-r--r--misc/rubygem-dotenv2/Makefile23
-rw-r--r--misc/rubygem-dotenv2/distinfo3
-rw-r--r--misc/rubygem-dotenv2/pkg-descr1
4 files changed, 28 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index 15992ba9a71b..ccf37d8a863a 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -539,6 +539,7 @@
SUBDIR += rubygem-dotenv-rails-rails5
SUBDIR += rubygem-dotenv-rails-rails50
SUBDIR += rubygem-dotenv-rails-rails61
+ SUBDIR += rubygem-dotenv2
SUBDIR += rubygem-haversine_distance
SUBDIR += rubygem-iesd
SUBDIR += rubygem-mime-types
diff --git a/misc/rubygem-dotenv2/Makefile b/misc/rubygem-dotenv2/Makefile
new file mode 100644
index 000000000000..d325899221a7
--- /dev/null
+++ b/misc/rubygem-dotenv2/Makefile
@@ -0,0 +1,23 @@
+PORTNAME= dotenv
+PORTVERSION= 2.8.1
+CATEGORIES= misc rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 2
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Loads environment variables from .env
+WWW= https://github.com/bkeepers/dotenv
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= gem
+
+NO_ARCH= yes
+
+PORTSCOUT= limit:^2\.
+
+post-install:
+ ${RM} ${STAGEDIR}${PREFIX}/bin/dotenv
+
+.include <bsd.port.mk>
diff --git a/misc/rubygem-dotenv2/distinfo b/misc/rubygem-dotenv2/distinfo
new file mode 100644
index 000000000000..15b71bd5ec55
--- /dev/null
+++ b/misc/rubygem-dotenv2/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1659161303
+SHA256 (rubygem/dotenv-2.8.1.gem) = c5944793349ae03c432e1780a2ca929d60b88c7d14d52d630db0508c3a8a17d8
+SIZE (rubygem/dotenv-2.8.1.gem) = 12800
diff --git a/misc/rubygem-dotenv2/pkg-descr b/misc/rubygem-dotenv2/pkg-descr
new file mode 100644
index 000000000000..c9554f8dc32c
--- /dev/null
+++ b/misc/rubygem-dotenv2/pkg-descr
@@ -0,0 +1 @@
+Loads environment variables from `.env`.