aboutsummaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2011-10-28 02:06:08 +0000
committerSteve Wills <swills@FreeBSD.org>2011-10-28 02:06:08 +0000
commitc851baf419d0d401e8db0d999f2b09e186558377 (patch)
tree000cb1efe6353ce0eb88595021d759f1d5aaecfc /converters
parentc9f1e3272391aa905b8e75a9f2bebbcfba61fdb8 (diff)
downloadports-c851baf419d0d401e8db0d999f2b09e186558377.tar.gz
ports-c851baf419d0d401e8db0d999f2b09e186558377.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
Notes
Notes: svn path=/head/; revision=284493
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