svn commit: r492188 - in head/textproc: . libnumbertext libnumbertext/files
Li-Wen Hsu
lwhsu at FreeBSD.org
Tue Feb 5 02:02:58 UTC 2019
Author: lwhsu
Date: Tue Feb 5 02:02:55 2019
New Revision: 492188
URL: https://svnweb.freebsd.org/changeset/ports/492188
Log:
Add libnumbertext, number to number name and money text conversion libraries
Added:
head/textproc/libnumbertext/
head/textproc/libnumbertext/Makefile (contents, props changed)
head/textproc/libnumbertext/distinfo (contents, props changed)
head/textproc/libnumbertext/files/
head/textproc/libnumbertext/files/patch-src_Makefile.am (contents, props changed)
head/textproc/libnumbertext/files/patch-src_Makefile.in (contents, props changed)
head/textproc/libnumbertext/files/patch-src_spellout.cxx (contents, props changed)
head/textproc/libnumbertext/pkg-descr (contents, props changed)
head/textproc/libnumbertext/pkg-plist (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Tue Feb 5 00:53:16 2019 (r492187)
+++ head/textproc/Makefile Tue Feb 5 02:02:55 2019 (r492188)
@@ -435,6 +435,7 @@
SUBDIR += liblrdf
SUBDIR += libmrss
SUBDIR += libmwaw03
+ SUBDIR += libnumbertext
SUBDIR += libnxml
SUBDIR += libodfgen01
SUBDIR += libparsifal
Added: head/textproc/libnumbertext/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/libnumbertext/Makefile Tue Feb 5 02:02:55 2019 (r492188)
@@ -0,0 +1,19 @@
+# $FreeBSD$
+
+PORTNAME= libnumbertext
+PORTVERSION= 1.0.5
+CATEGORIES= textproc
+MASTER_SITES= https://github.com/Numbertext/libnumbertext/releases/download/${PORTVERSION}/
+
+MAINTAINER= lwhsu at FreeBSD.org
+COMMENT= Number to number name and money text conversion libraries
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/COPYING
+
+USES= gmake libtool tar:xz
+
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
+
+.include <bsd.port.mk>
Added: head/textproc/libnumbertext/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/libnumbertext/distinfo Tue Feb 5 02:02:55 2019 (r492188)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1548870050
+SHA256 (libnumbertext-1.0.5.tar.xz) = e1c9086b4cecb6b25f180316f30740dfabe6a4dbaf70dddc34276fc839e4f4f7
+SIZE (libnumbertext-1.0.5.tar.xz) = 281640
Added: head/textproc/libnumbertext/files/patch-src_Makefile.am
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/libnumbertext/files/patch-src_Makefile.am Tue Feb 5 02:02:55 2019 (r492188)
@@ -0,0 +1,8 @@
+--- src/Makefile.am.orig 2019-02-05 01:43:55 UTC
++++ src/Makefile.am
+@@ -1,4 +1,4 @@
+-AM_CXXFLAGS = -D_THREAD_SAFE -D_GNU_SOURCE -DVERBOSE
++AM_CXXFLAGS = -D_THREAD_SAFE -D_GNU_SOURCE -DVERBOSE -DDATADIR='"$(datadir)"'
+
+ LIBS += $(BOOST_REGEX_LIB)
+
Added: head/textproc/libnumbertext/files/patch-src_Makefile.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/libnumbertext/files/patch-src_Makefile.in Tue Feb 5 02:02:55 2019 (r492188)
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig 2019-02-05 01:45:09 UTC
++++ src/Makefile.in
+@@ -346,7 +346,7 @@ target_alias = @target_alias@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-AM_CXXFLAGS = -D_THREAD_SAFE -D_GNU_SOURCE -DVERBOSE
++AM_CXXFLAGS = -D_THREAD_SAFE -D_GNU_SOURCE -DVERBOSE -DDATADIR='"$(datadir)"'
+ libnumbertext_1_0_includedir = $(includedir)/libnumbertext
+ libnumbertext_1_0_include_HEADERS = \
+ Soros.hxx Numbertext.hxx \
Added: head/textproc/libnumbertext/files/patch-src_spellout.cxx
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/libnumbertext/files/patch-src_spellout.cxx Tue Feb 5 02:02:55 2019 (r492188)
@@ -0,0 +1,11 @@
+--- src/spellout.cxx.orig 2019-02-05 01:41:33 UTC
++++ src/spellout.cxx
+@@ -10,7 +10,7 @@
+
+ #define LANG "LANG"
+ #define PATH "NUMBERTEXTPATH"
+-#define DEFPATH "/usr/share/libnumbertext/"
++#define DEFPATH DATADIR "/libnumbertext/"
+ #define DEFPATH2 "data/"
+
+ enum State { base, loaded, flag_lang, flag_prefix};
Added: head/textproc/libnumbertext/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/libnumbertext/pkg-descr Tue Feb 5 02:02:55 2019 (r492188)
@@ -0,0 +1,4 @@
+Number to number name and money text conversion libraries in C++, Java,
+JavaScript and Python & LibreOffice Calc Extension
+
+WWW: https://numbertext.org
Added: head/textproc/libnumbertext/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/libnumbertext/pkg-plist Tue Feb 5 02:02:55 2019 (r492188)
@@ -0,0 +1,54 @@
+bin/spellout
+include/libnumbertext/Numbertext.hxx
+include/libnumbertext/Soros.hxx
+include/libnumbertext/numbertext-version.h
+lib/libnumbertext-1.0.a
+lib/libnumbertext-1.0.so
+lib/libnumbertext-1.0.so.0
+lib/libnumbertext-1.0.so.0.0.0
+libdata/pkgconfig/libnumbertext.pc
+%%DATADIR%%/Hung.sor
+%%DATADIR%%/Roman.sor
+%%DATADIR%%/Suzhou.sor
+%%DATADIR%%/af.sor
+%%DATADIR%%/bg.sor
+%%DATADIR%%/ca.sor
+%%DATADIR%%/cs.sor
+%%DATADIR%%/da.sor
+%%DATADIR%%/de.sor
+%%DATADIR%%/el.sor
+%%DATADIR%%/en.sor
+%%DATADIR%%/eo.sor
+%%DATADIR%%/es.sor
+%%DATADIR%%/et.sor
+%%DATADIR%%/fi.sor
+%%DATADIR%%/fr.sor
+%%DATADIR%%/gl.sor
+%%DATADIR%%/he.sor
+%%DATADIR%%/hr.sor
+%%DATADIR%%/hu.sor
+%%DATADIR%%/id.sor
+%%DATADIR%%/is.sor
+%%DATADIR%%/it.sor
+%%DATADIR%%/ja.sor
+%%DATADIR%%/ko.sor
+%%DATADIR%%/lb.sor
+%%DATADIR%%/lt.sor
+%%DATADIR%%/lv.sor
+%%DATADIR%%/ms.sor
+%%DATADIR%%/nl.sor
+%%DATADIR%%/no.sor
+%%DATADIR%%/pl.sor
+%%DATADIR%%/pt.sor
+%%DATADIR%%/ro.sor
+%%DATADIR%%/ru.sor
+%%DATADIR%%/sh.sor
+%%DATADIR%%/sl.sor
+%%DATADIR%%/sq.sor
+%%DATADIR%%/sr.sor
+%%DATADIR%%/sv.sor
+%%DATADIR%%/th.sor
+%%DATADIR%%/tr.sor
+%%DATADIR%%/uk.sor
+%%DATADIR%%/vi.sor
+%%DATADIR%%/zh.sor
More information about the svn-ports-all
mailing list