git: 413f267881b4 - main - misc/rubygem-dotenv2: Add rubygem-dotenv2 2.8.1 (copied from rubygem-dotenv)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 21 Feb 2024 15:17:44 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=413f267881b4e8a9a3fabf94ea5cd486f213e7ea
commit 413f267881b4e8a9a3fabf94ea5cd486f213e7ea
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-02-21 14:14:00 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-02-21 15:06:14 +0000
misc/rubygem-dotenv2: Add rubygem-dotenv2 2.8.1 (copied from rubygem-dotenv)
- Add PORTSCOUT
---
misc/Makefile | 1 +
misc/rubygem-dotenv2/Makefile | 23 +++++++++++++++++++++++
misc/rubygem-dotenv2/distinfo | 3 +++
misc/rubygem-dotenv2/pkg-descr | 1 +
4 files changed, 28 insertions(+)
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`.