aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2011-10-28 10:06:08 +0800
committerswills <swills@FreeBSD.org>2011-10-28 10:06:08 +0800
commit22aea46707aace42ab494f6e8e26993c8a4b02d5 (patch)
tree752f9b7fd484b92f1b2019e4f51d41855e005b05 /converters
parentba6d743e0819edfe4b5f90609540606072a65801 (diff)
downloadfreebsd-ports-gnome-22aea46707aace42ab494f6e8e26993c8a4b02d5.tar.gz
freebsd-ports-gnome-22aea46707aace42ab494f6e8e26993c8a4b02d5.tar.zst
freebsd-ports-gnome-22aea46707aace42ab494f6e8e26993c8a4b02d5.zip
BSD licensed charset/encoding converter library with more function than
libiconv. (Currently, only a few codecs are supported) This port is a ruby wrapper for bsdconv. WWW: https://github.com/buganini/ruby-bsdconv PR: ports/162022 Submitted by: buganini@gmail.com
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile1
-rw-r--r--converters/ruby-bsdconv/Makefile29
-rw-r--r--converters/ruby-bsdconv/distinfo2
-rw-r--r--converters/ruby-bsdconv/pkg-descr5
-rw-r--r--converters/ruby-bsdconv/pkg-plist1
5 files changed, 38 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index ac811d8f2c89..9a5bfc748e64 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -136,6 +136,7 @@
SUBDIR += py-unidecode
SUBDIR += rcctools
SUBDIR += recode
+ SUBDIR += ruby-bsdconv
SUBDIR += ruby-dump.rb
SUBDIR += ruby-iconv
SUBDIR += ruby-lv
diff --git a/converters/ruby-bsdconv/Makefile b/converters/ruby-bsdconv/Makefile
new file mode 100644
index 000000000000..ddcd56fa413b
--- /dev/null
+++ b/converters/ruby-bsdconv/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: ruby-bsdconv
+# Date created: 13 Oct 2011
+# Whom: buganini@gmail.com
+#
+# $FreeBSD$
+#
+
+PORTNAME= bsdconv
+PORTVERSION= 1.2
+CATEGORIES= converters ruby
+MASTER_SITES= https://github.com/buganini/ruby-${PORTNAME}/tarball/${PORTVERSION}/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= buganini-${PORTNAME}-${PORTVERSION}-0-g${GITVERSION}
+
+MAINTAINER= buganini@gmail.com
+COMMENT= Ruby wrapper for bsdconv
+
+LICENSE= BSD
+
+LIB_DEPENDS= bsdconv.6:${PORTSDIR}/converters/bsdconv
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+GITVERSION= cc3a4f4
+FETCH_ARGS= -pRr
+WRKSRC= ${WRKDIR}/buganini-ruby-${PORTNAME}-${GITVERSION}
+
+.include <bsd.port.mk>
diff --git a/converters/ruby-bsdconv/distinfo b/converters/ruby-bsdconv/distinfo
new file mode 100644
index 000000000000..de5ba4c732ef
--- /dev/null
+++ b/converters/ruby-bsdconv/distinfo
@@ -0,0 +1,2 @@
+SHA256 (buganini-bsdconv-1.2-0-gcc3a4f4.tar.gz) = 573b8c6c6026d0ed2dea18d665aa360f3c8be60fa426581fe3eeefc9764df2e6
+SIZE (buganini-bsdconv-1.2-0-gcc3a4f4.tar.gz) = 1730
diff --git a/converters/ruby-bsdconv/pkg-descr b/converters/ruby-bsdconv/pkg-descr
new file mode 100644
index 000000000000..779c04e2c6b3
--- /dev/null
+++ b/converters/ruby-bsdconv/pkg-descr
@@ -0,0 +1,5 @@
+BSD licensed charset/encoding converter library with more function than
+libiconv. (Currently, only a few codecs are supported)
+This port is a ruby wrapper for bsdconv.
+
+WWW: https://github.com/buganini/ruby-bsdconv
diff --git a/converters/ruby-bsdconv/pkg-plist b/converters/ruby-bsdconv/pkg-plist
new file mode 100644
index 000000000000..923a6c47fb67
--- /dev/null
+++ b/converters/ruby-bsdconv/pkg-plist
@@ -0,0 +1 @@
+%%RUBY_SITEARCHLIBDIR%%/bsdconv.so