aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-10-25 14:43:55 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-10-25 15:57:06 +0000
commit7268240d35a6583bdcd569003759671a5e430778 (patch)
treee6f92e63c92d0b2d85f49e458773881cdd492a8e
parent54e9e4bc95a28e7fcd6b3cac28465cb864dc1bfb (diff)
downloadports-7268240d35a6583bdcd569003759671a5e430778.tar.gz
ports-7268240d35a6583bdcd569003759671a5e430778.zip
devel/rubygem-contracts016: Add rubygem-contracts016 0.16.1 (copied from rubygem-contracts)
Contracts let you clearly -- even beautifully -- express how your code behaves, and free you from writing tons of boilerplate, defensive code. You can think of contracts as assert on steroids. WWW: https://github.com/egonSchiele/contracts.ruby
-rw-r--r--devel/Makefile1
-rw-r--r--devel/rubygem-contracts016/Makefile20
-rw-r--r--devel/rubygem-contracts016/distinfo3
-rw-r--r--devel/rubygem-contracts016/pkg-descr6
4 files changed, 30 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 68ac62edf252..70b91eaba8d4 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -6158,6 +6158,7 @@
SUBDIR += rubygem-configuration
SUBDIR += rubygem-console
SUBDIR += rubygem-contracts
+ SUBDIR += rubygem-contracts016
SUBDIR += rubygem-cookbook-omnifetch
SUBDIR += rubygem-cool.io
SUBDIR += rubygem-corefines
diff --git a/devel/rubygem-contracts016/Makefile b/devel/rubygem-contracts016/Makefile
new file mode 100644
index 000000000000..838965c0d526
--- /dev/null
+++ b/devel/rubygem-contracts016/Makefile
@@ -0,0 +1,20 @@
+# Created by: Matthias Fechner <mfechner@FreeBSD.org>
+
+PORTNAME= contracts
+PORTVERSION= 0.16.1
+CATEGORIES= devel rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= 016
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Contracts for Ruby
+
+LICENSE= BSD2CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= gem
+USE_RUBY= yes
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/devel/rubygem-contracts016/distinfo b/devel/rubygem-contracts016/distinfo
new file mode 100644
index 000000000000..22fbcb6a5f27
--- /dev/null
+++ b/devel/rubygem-contracts016/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1634391088
+SHA256 (rubygem/contracts-0.16.1.gem) = 29fddcd80a3cefbdf57bbeb5bab18adc50fc64e3cea311d7cb35c63489058d66
+SIZE (rubygem/contracts-0.16.1.gem) = 57856
diff --git a/devel/rubygem-contracts016/pkg-descr b/devel/rubygem-contracts016/pkg-descr
new file mode 100644
index 000000000000..0c55128e2359
--- /dev/null
+++ b/devel/rubygem-contracts016/pkg-descr
@@ -0,0 +1,6 @@
+Contracts let you clearly -- even beautifully -- express how your code behaves,
+and free you from writing tons of boilerplate, defensive code.
+
+You can think of contracts as assert on steroids.
+
+WWW: https://github.com/egonSchiele/contracts.ruby