From 22aea46707aace42ab494f6e8e26993c8a4b02d5 Mon Sep 17 00:00:00 2001 From: swills Date: Fri, 28 Oct 2011 02:06:08 +0000 Subject: 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 --- converters/Makefile | 1 + converters/ruby-bsdconv/Makefile | 29 +++++++++++++++++++++++++++++ converters/ruby-bsdconv/distinfo | 2 ++ converters/ruby-bsdconv/pkg-descr | 5 +++++ converters/ruby-bsdconv/pkg-plist | 1 + 5 files changed, 38 insertions(+) create mode 100644 converters/ruby-bsdconv/Makefile create mode 100644 converters/ruby-bsdconv/distinfo create mode 100644 converters/ruby-bsdconv/pkg-descr create mode 100644 converters/ruby-bsdconv/pkg-plist 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 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 -- cgit