diff options
author | ryoon <ryoon@pkgsrc.org> | 2018-08-15 14:02:46 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2018-08-15 14:02:46 +0000 |
commit | cb183281ba157f85413d69545001da0017df4020 (patch) | |
tree | e0234ac62889280627275875a3e462e76c8a7062 /math | |
parent | 83dadcaac819fc6ca5d328f920d7127256294458 (diff) | |
download | pkgsrc-cb183281ba157f85413d69545001da0017df4020.tar.gz |
math/libnumbertext: import libnumbertext-1.0.3
We provide easy to configure, lightweight open source C++, Java,
JavaScript, Python libraries and a LibreOffice Spreadsheet extension
for number to number name conversion, including cardinal and ordinal
numbers, ordinal indicators and money amounts with currencies in
more than 40 languages and numeral systems.
Diffstat (limited to 'math')
-rw-r--r-- | math/libnumbertext/DESCR | 5 | ||||
-rw-r--r-- | math/libnumbertext/Makefile | 22 | ||||
-rw-r--r-- | math/libnumbertext/PLIST | 7 | ||||
-rw-r--r-- | math/libnumbertext/buildlink3.mk | 12 | ||||
-rw-r--r-- | math/libnumbertext/distinfo | 6 |
5 files changed, 52 insertions, 0 deletions
diff --git a/math/libnumbertext/DESCR b/math/libnumbertext/DESCR new file mode 100644 index 00000000000..0bea3c91c9d --- /dev/null +++ b/math/libnumbertext/DESCR @@ -0,0 +1,5 @@ +We provide easy to configure, lightweight open source C++, Java, +JavaScript, Python libraries and a LibreOffice Spreadsheet extension +for number to number name conversion, including cardinal and ordinal +numbers, ordinal indicators and money amounts with currencies in +more than 40 languages and numeral systems. diff --git a/math/libnumbertext/Makefile b/math/libnumbertext/Makefile new file mode 100644 index 00000000000..c47eaa9bc59 --- /dev/null +++ b/math/libnumbertext/Makefile @@ -0,0 +1,22 @@ +# $NetBSD: Makefile,v 1.1 2018/08/15 14:02:46 ryoon Exp $ + +DISTNAME= libnumbertext-1.0.3 +CATEGORIES= math +MASTER_SITES= ${MASTER_SITE_GITHUB:=Numbertext/} +EXTRACT_SUFX= .tar.xz +GITHUB_PROJECT= libnumbertext +GITHUB_RELEASE= 1.0 + +MAINTAINER= ryoon@NetBSD.org +HOMEPAGE= https://numbertext.github.io/ +COMMENT= Convert to number names from numbers +LICENSE= modified-bsd + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_TOOLS+= pkg-config +USE_LANGUAGES= c c++ + +PKGCONFIG_OVERRIDE+= libnumbertext.pc.in + +.include "../../mk/bsd.pkg.mk" diff --git a/math/libnumbertext/PLIST b/math/libnumbertext/PLIST new file mode 100644 index 00000000000..89ade390cf3 --- /dev/null +++ b/math/libnumbertext/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1 2018/08/15 14:02:46 ryoon Exp $ +bin/spellout +include/libnumbertext/Numbertext.hxx +include/libnumbertext/Soros.hxx +include/libnumbertext/numbertext-version.h +lib/libnumbertext-1.0.la +lib/pkgconfig/libnumbertext.pc diff --git a/math/libnumbertext/buildlink3.mk b/math/libnumbertext/buildlink3.mk new file mode 100644 index 00000000000..d1405ae199f --- /dev/null +++ b/math/libnumbertext/buildlink3.mk @@ -0,0 +1,12 @@ +# $NetBSD: buildlink3.mk,v 1.1 2018/08/15 14:02:46 ryoon Exp $ + +BUILDLINK_TREE+= libnumbertext + +.if !defined(LIBNUMBERTEXT_BUILDLINK3_MK) +LIBNUMBERTEXT_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.libnumbertext+= libnumbertext>=1.0.3 +BUILDLINK_PKGSRCDIR.libnumbertext?= ../../math/libnumbertext +.endif # LIBNUMBERTEXT_BUILDLINK3_MK + +BUILDLINK_TREE+= -libnumbertext diff --git a/math/libnumbertext/distinfo b/math/libnumbertext/distinfo new file mode 100644 index 00000000000..d1626008a4a --- /dev/null +++ b/math/libnumbertext/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/08/15 14:02:46 ryoon Exp $ + +SHA1 (libnumbertext-1.0.3.tar.xz) = 53ba7d5656b06e4b187eb02e17b87f3717ce660f +RMD160 (libnumbertext-1.0.3.tar.xz) = 4309670e620e82cf2f9b3b3cb99614f637696745 +SHA512 (libnumbertext-1.0.3.tar.xz) = 0ce9c68c8d928f7c8aa13f4760360ab3077ff0923a6b34256a1ca1047b7401a7d99ac5205b80b3e57c6e693c59ccc8328e04cfebeee07794c906a1ab750a3a7a +Size (libnumbertext-1.0.3.tar.xz) = 279948 bytes |