aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2018-09-23 09:49:06 +0800
committerSteve Wills <swills@FreeBSD.org>2018-09-23 09:49:06 +0800
commite1de9ef36642038b7f84a4bd6f71253540bda472 (patch)
tree3ea2149293d016d9d9773aee60012d1e9fcb4a9c /x11-toolkits
parentdb1a148ecc0ef1434350070e080dec5d3df2a3a0 (diff)
downloadfreebsd-ports-gnome-e1de9ef36642038b7f84a4bd6f71253540bda472.tar.gz
freebsd-ports-gnome-e1de9ef36642038b7f84a4bd6f71253540bda472.tar.zst
freebsd-ports-gnome-e1de9ef36642038b7f84a4bd6f71253540bda472.zip
x11-toolkits/rubygem-tk: create port
rubygem-tk provides the gem "tk", a Ruby interface to the Tk GUI toolkit. WWW: https://github.com/ruby/tk PR: 230483 Submitted by: Nicola Mingotti <nmingotti@gmail.com>
Diffstat (limited to 'x11-toolkits')
-rw-r--r--x11-toolkits/Makefile1
-rw-r--r--x11-toolkits/rubygem-tk/Makefile25
-rw-r--r--x11-toolkits/rubygem-tk/distinfo3
-rw-r--r--x11-toolkits/rubygem-tk/pkg-descr4
4 files changed, 33 insertions, 0 deletions
diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile
index a9fa5c2a3d28..6c3dca6e264e 100644
--- a/x11-toolkits/Makefile
+++ b/x11-toolkits/Makefile
@@ -257,6 +257,7 @@
SUBDIR += rubygem-gtksourceview3
SUBDIR += rubygem-pango
SUBDIR += rubygem-poppler
+ SUBDIR += rubygem-tk
SUBDIR += rubygem-uh
SUBDIR += rubygem-vte
SUBDIR += rubygem-vte3
diff --git a/x11-toolkits/rubygem-tk/Makefile b/x11-toolkits/rubygem-tk/Makefile
new file mode 100644
index 000000000000..571ab604e4ef
--- /dev/null
+++ b/x11-toolkits/rubygem-tk/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+PORTNAME= tk
+PORTVERSION= 0.2.0
+CATEGORIES= x11-toolkits rubygems
+MASTER_SITES= https://rubygems.org/downloads/
+
+MAINTAINER= nmingotti@gmail.com
+COMMENT= Ruby interface to TclTk-8.6
+
+LICENSE= BSD2CLAUSE
+
+LIB_DEPENDS= libunwind.so:devel/libunwind
+RUN_DEPENDS= tcl86>=${PORTVERSION}:lang/tcl86 \
+ tk86>=${PORTVERSION}:x11-toolkits/tk86
+
+CONFIGURE_ARGS=--with-tcltkversion=8.6,8.6 \
+ --with-tk-include=${LOCALBASE}/include/tk8.6 \
+ --with-tcl-include=${LOCALBASE}/include/tcl8.6
+
+USES= gem tk:86
+USE_RUBY= yes
+USE_XORG= x11
+
+.include <bsd.port.mk>
diff --git a/x11-toolkits/rubygem-tk/distinfo b/x11-toolkits/rubygem-tk/distinfo
new file mode 100644
index 000000000000..c484b74dac5b
--- /dev/null
+++ b/x11-toolkits/rubygem-tk/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1519216632
+SHA256 (rubygem/tk-0.2.0.gem) = 0d324ae915c20020bea946b1d0b0b35244f16fd2dacc35cf9647b9ac1ea1fc3f
+SIZE (rubygem/tk-0.2.0.gem) = 1742848
diff --git a/x11-toolkits/rubygem-tk/pkg-descr b/x11-toolkits/rubygem-tk/pkg-descr
new file mode 100644
index 000000000000..f4c7c565d9fb
--- /dev/null
+++ b/x11-toolkits/rubygem-tk/pkg-descr
@@ -0,0 +1,4 @@
+rubygem-tk provides the gem "tk", a Ruby interface to the
+Tk GUI toolkit.
+
+WWW: https://github.com/ruby/tk