summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2017-02-12 02:14:01 +0000
committermef <mef@pkgsrc.org>2017-02-12 02:14:01 +0000
commit38eb8af1f0e2f77d3e869cc549c60beadd8d4c91 (patch)
tree3c04629903d90fa07bca86cced086ad288d84e0b /mail
parent1b6e854ed2d743af70318605c07d58897c73d001 (diff)
downloadpkgsrc-38eb8af1f0e2f77d3e869cc549c60beadd8d4c91.tar.gz
Import courier-unicode-1.4 as mail/courier-unicode.
This library implements several algorithms related to the Unicode Standard: - Look up uppercase, lowercase, and titlecase equivalents of a unicode character - Implementation of grapheme and work breaking rules - Implementation of line breaking rules - Several ancillary functions, like looking up the unicode character that corresponds to some HTML 4.0 entity (such as "&amp;", for example), and determining the normal width or a double-width status of a unicode character. Also, an adaptation of the iconv(3) API for this unicode library - Look up the Unicode script property - Look up the category property This library also implements C++ bindings for these algorithms.
Diffstat (limited to 'mail')
-rw-r--r--mail/courier-unicode/DESCR13
-rw-r--r--mail/courier-unicode/Makefile20
-rw-r--r--mail/courier-unicode/PLIST74
-rw-r--r--mail/courier-unicode/distinfo6
4 files changed, 113 insertions, 0 deletions
diff --git a/mail/courier-unicode/DESCR b/mail/courier-unicode/DESCR
new file mode 100644
index 00000000000..2d931c33e15
--- /dev/null
+++ b/mail/courier-unicode/DESCR
@@ -0,0 +1,13 @@
+This library implements several algorithms related to the Unicode Standard:
+ - Look up uppercase, lowercase, and titlecase equivalents of a unicode
+ character
+ - Implementation of grapheme and work breaking rules
+ - Implementation of line breaking rules
+ - Several ancillary functions, like looking up the unicode character
+ that corresponds to some HTML 4.0 entity (such as "&amp;", for example),
+ and determining the normal width or a double-width status of a unicode
+ character. Also, an adaptation of the iconv(3) API for this unicode
+ library
+ - Look up the Unicode script property
+ - Look up the category property
+This library also implements C++ bindings for these algorithms.
diff --git a/mail/courier-unicode/Makefile b/mail/courier-unicode/Makefile
new file mode 100644
index 00000000000..2af15130219
--- /dev/null
+++ b/mail/courier-unicode/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2017/02/12 02:14:01 mef Exp $
+
+DISTNAME= courier-unicode-1.4
+CATEGORIES= mail
+MASTER_SITES= https://sourceforge.net/projects/courier/files/courier-unicode/${PKGVERSION_NOREV}/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.courier-mta.org/unicode/
+COMMENT= Implements several algorithms related to the Unicode Standard
+LICENSE= gnu-gpl-v3
+
+USE_TOOLS+= gmake autoconf aclocal automake
+USE_LANGUAGES+= c c++
+GNU_CONFIGURE= yes
+
+pre-configure:
+ (cd ${WRKSRC}; autoconf; aclocal; automake)
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/mail/courier-unicode/PLIST b/mail/courier-unicode/PLIST
new file mode 100644
index 00000000000..5dfcb4ecadf
--- /dev/null
+++ b/mail/courier-unicode/PLIST
@@ -0,0 +1,74 @@
+@comment $NetBSD: PLIST,v 1.1 2017/02/12 02:14:01 mef Exp $
+include/courier-unicode-categories-tab.h
+include/courier-unicode-script-tab.h
+include/courier-unicode.h
+lib/libcourier-unicode.la
+man/man3/unicode::iconvert::convert.3
+man/man3/unicode::iconvert::convert_tocase.3
+man/man3/unicode::iconvert::fromu.3
+man/man3/unicode::iconvert::tou.3
+man/man3/unicode::iso_8859_1.3
+man/man3/unicode::linebreak_callback_base.3
+man/man3/unicode::linebreak_callback_save_buf.3
+man/man3/unicode::linebreak_iter.3
+man/man3/unicode::linebreakc_callback_base.3
+man/man3/unicode::linebreakc_iter.3
+man/man3/unicode::tolower.3
+man/man3/unicode::toupper.3
+man/man3/unicode::ucs_2.3
+man/man3/unicode::ucs_4.3
+man/man3/unicode::utf_8.3
+man/man3/unicode::wordbreak_callback_base.3
+man/man3/unicode_category_lookup.3
+man/man3/unicode_convert.3
+man/man3/unicode_convert_deinit.3
+man/man3/unicode_convert_fromu_init.3
+man/man3/unicode_convert_fromu_tobuf.3
+man/man3/unicode_convert_fromutf8.3
+man/man3/unicode_convert_init.3
+man/man3/unicode_convert_tobuf.3
+man/man3/unicode_convert_tocase.3
+man/man3/unicode_convert_tocbuf_fromutf8_init.3
+man/man3/unicode_convert_tocbuf_init.3
+man/man3/unicode_convert_tocbuf_toutf8_init.3
+man/man3/unicode_convert_tou_init.3
+man/man3/unicode_convert_tou_tobuf.3
+man/man3/unicode_convert_toutf8.3
+man/man3/unicode_convert_uc.3
+man/man3/unicode_default_chset.3
+man/man3/unicode_grapheme_break.3
+man/man3/unicode_html40ent_lookup.3
+man/man3/unicode_isalnum.3
+man/man3/unicode_isalpha.3
+man/man3/unicode_isblank.3
+man/man3/unicode_isdigit.3
+man/man3/unicode_isgraph.3
+man/man3/unicode_islower.3
+man/man3/unicode_ispunct.3
+man/man3/unicode_isspace.3
+man/man3/unicode_isupper.3
+man/man3/unicode_lb_end.3
+man/man3/unicode_lb_init.3
+man/man3/unicode_lb_next.3
+man/man3/unicode_lb_next_cnt.3
+man/man3/unicode_lb_set_opts.3
+man/man3/unicode_lbc_end.3
+man/man3/unicode_lbc_init.3
+man/man3/unicode_lbc_next.3
+man/man3/unicode_lbc_next_cnt.3
+man/man3/unicode_lbc_set_opts.3
+man/man3/unicode_lc.3
+man/man3/unicode_locale_chset.3
+man/man3/unicode_script.3
+man/man3/unicode_tc.3
+man/man3/unicode_u_ucs2_native.3
+man/man3/unicode_u_ucs4_native.3
+man/man3/unicode_uc.3
+man/man3/unicode_wb_end.3
+man/man3/unicode_wb_init.3
+man/man3/unicode_wb_next.3
+man/man3/unicode_wb_next_cnt.3
+man/man3/unicode_wbscan_end.3
+man/man3/unicode_wbscan_init.3
+man/man3/unicode_wbscan_next.3
+man/man7/courier-unicode.7
diff --git a/mail/courier-unicode/distinfo b/mail/courier-unicode/distinfo
new file mode 100644
index 00000000000..36ad1458850
--- /dev/null
+++ b/mail/courier-unicode/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/02/12 02:14:01 mef Exp $
+
+SHA1 (courier-unicode-1.4.tar.bz2) = 722d554f78e5decec24c418ccea01651fecbee25
+RMD160 (courier-unicode-1.4.tar.bz2) = a5006b510799b341e6f3d266b34b3df31be5bf11
+SHA512 (courier-unicode-1.4.tar.bz2) = 1d9cc3efbbafa88631e37de0647d2e873a8264a02a0ce588687b90e15dedb60c23058312abbc771ed1ddf824ba7c81b16adebfe9db69da953b9856eb66d31264
+Size (courier-unicode-1.4.tar.bz2) = 434338 bytes