diff options
author | obache <obache@pkgsrc.org> | 2014-12-01 00:05:38 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-12-01 00:05:38 +0000 |
commit | 4d5047a1ccb04be5584a93f96e9ab6e7a03399b7 (patch) | |
tree | f793c801c4c900c4d34fd5c1677b789361697322 /converters | |
parent | 8fdb7930722022950a0f7422a2c265a13363ecda (diff) | |
download | pkgsrc-4d5047a1ccb04be5584a93f96e9ab6e7a03399b7.tar.gz |
Import opencc-0.4.2 as converters/opencc.
Open Chinese Convert (OpenCC) is an opensource project for conversion between
Traditional Chinese and Simplified Chinese, supporting character-level
conversion, phrase-level conversion, variant conversion and regional idioms
among Mainland China, Taiwan and Hong kong.
Diffstat (limited to 'converters')
-rw-r--r-- | converters/opencc/DESCR | 4 | ||||
-rw-r--r-- | converters/opencc/Makefile | 30 | ||||
-rw-r--r-- | converters/opencc/PLIST | 36 | ||||
-rw-r--r-- | converters/opencc/buildlink3.mk | 13 | ||||
-rw-r--r-- | converters/opencc/distinfo | 5 |
5 files changed, 88 insertions, 0 deletions
diff --git a/converters/opencc/DESCR b/converters/opencc/DESCR new file mode 100644 index 00000000000..5bd4a7940d0 --- /dev/null +++ b/converters/opencc/DESCR @@ -0,0 +1,4 @@ +Open Chinese Convert (OpenCC) is an opensource project for conversion between +Traditional Chinese and Simplified Chinese, supporting character-level +conversion, phrase-level conversion, variant conversion and regional idioms +among Mainland China, Taiwan and Hong kong. diff --git a/converters/opencc/Makefile b/converters/opencc/Makefile new file mode 100644 index 00000000000..d745a1177d1 --- /dev/null +++ b/converters/opencc/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1 2014/12/01 00:05:38 obache Exp $ + +DISTNAME= opencc-0.4.2 +CATEGORIES= converters +MASTER_SITES= http://dl.bintray.com/byvoid/opencc/ + +MAINTAINER= obache@NetBSD.org +HOMEPAGE= http://opencc.byvoid.com/ +COMMENT= Convertion between Traditional and Simplified Chinese +LICENSE= apache-2.0 + +USE_CMAKE= yes +USE_TOOLS+= pkg-config +USE_LANGUAGES= c + +PKGCONFIG_OVERRIDE+= opencc.pc.in + +USE_GCC_RUNTIME= yes + +MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}/src + +TEST_TARGET= test + +SUBST_CLASSES+= mandir +SUBST_STAGE.mandir= pre-configure +SUBST_FILES.mandir= doc/CMakeLists.txt +SUBST_SED.mandir= -e 's,$${DIR_SHARE}/man,${PKGMANDIR},' + +.include "../../mk/pthread.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/converters/opencc/PLIST b/converters/opencc/PLIST new file mode 100644 index 00000000000..51764cba20a --- /dev/null +++ b/converters/opencc/PLIST @@ -0,0 +1,36 @@ +@comment $NetBSD: PLIST,v 1.1 2014/12/01 00:05:38 obache Exp $ +bin/opencc +bin/opencc_dict +include/opencc/opencc.h +include/opencc/opencc_types.h +include/opencc/openccxx.h +lib/libopencc.a +lib/libopencc.so +lib/libopencc.so.1 +lib/libopencc.so.1.0.0 +lib/pkgconfig/opencc.pc +man/man1/opencc.1 +man/man1/opencc_dict.1 +share/opencc/from_tw_phrases.txt +share/opencc/from_tw_variants.txt +share/opencc/mix2zhs.ini +share/opencc/mix2zht.ini +share/opencc/simp_to_trad_characters.ocd +share/opencc/simp_to_trad_phrases.ocd +share/opencc/to_cn_phrases.txt +share/opencc/to_tw_phrases.txt +share/opencc/to_tw_variants.txt +share/opencc/trad_to_simp_characters.ocd +share/opencc/trad_to_simp_phrases.ocd +share/opencc/zhs2zht.ini +share/opencc/zhs2zhtw_p.ini +share/opencc/zhs2zhtw_v.ini +share/opencc/zhs2zhtw_vp.ini +share/opencc/zht2zhs.ini +share/opencc/zht2zhtw_p.ini +share/opencc/zht2zhtw_v.ini +share/opencc/zht2zhtw_vp.ini +share/opencc/zhtw2zhcn_s.ini +share/opencc/zhtw2zhcn_t.ini +share/opencc/zhtw2zhs.ini +share/opencc/zhtw2zht.ini diff --git a/converters/opencc/buildlink3.mk b/converters/opencc/buildlink3.mk new file mode 100644 index 00000000000..8cd8d188435 --- /dev/null +++ b/converters/opencc/buildlink3.mk @@ -0,0 +1,13 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/12/01 00:05:38 obache Exp $ +# + +BUILDLINK_TREE+= opencc + +.if !defined(OPENCC_BUILDLINK3_MK) +OPENCC_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.opencc+= opencc>=0.4.2 +BUILDLINK_PKGSRCDIR.opencc?= ../../converters/opencc +.endif # OPENCC_BUILDLINK3_MK + +BUILDLINK_TREE+= -opencc diff --git a/converters/opencc/distinfo b/converters/opencc/distinfo new file mode 100644 index 00000000000..652a4d8419d --- /dev/null +++ b/converters/opencc/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1 2014/12/01 00:05:38 obache Exp $ + +SHA1 (opencc-0.4.2.tar.gz) = 1e4216e5fe21b16836063f23d0341cb54dbce97c +RMD160 (opencc-0.4.2.tar.gz) = 9aed1e700250601d653baf2a7284b489441a08be +Size (opencc-0.4.2.tar.gz) = 725353 bytes |