From 3be2d5c5b62fc26d2024db573a1f9dee5039e157 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Thu, 20 Oct 2011 11:31:02 +0000 Subject: [PATCH] Import liblouis-2.3.0. Liblouis is an open-source braille translator and back-translator. It features support for computer and literary braille, supports contracted and uncontracted translation for many, many languages <...>. ok jasper@ --- devel/liblouis/Makefile | 37 +++ devel/liblouis/distinfo | 5 + .../patches/patch-python_louis_Makefile_in | 12 + devel/liblouis/pkg/DESCR | 11 + devel/liblouis/pkg/PLIST | 234 ++++++++++++++++++ 5 files changed, 299 insertions(+) create mode 100644 devel/liblouis/Makefile create mode 100644 devel/liblouis/distinfo create mode 100644 devel/liblouis/patches/patch-python_louis_Makefile_in create mode 100644 devel/liblouis/pkg/DESCR create mode 100644 devel/liblouis/pkg/PLIST diff --git a/devel/liblouis/Makefile b/devel/liblouis/Makefile new file mode 100644 index 00000000000..fd4cfa9ebd4 --- /dev/null +++ b/devel/liblouis/Makefile @@ -0,0 +1,37 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2011/10/20 11:31:02 ajacoutot Exp $ + +COMMENT= braille translator and back-translator + +DISTNAME= liblouis-2.3.0 + +SHARED_LIBS += louis 0.0 # 4.3 + +CATEGORIES= devel + +HOMEPAGE= http://code.google.com/p/liblouis/ + +# GPLv3 - LGPLv3 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +WANTLIB += c + +MASTER_SITES= http://liblouis.googlecode.com/files/ + +MODULES= lang/python + +USE_LIBTOOL= Yes + +CONFIGURE_STYLE=gnu +CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ + --with-packager="OpenBSD Ports" + +post-install: + ${INSTALL_DATA_DIR} ${WRKINST}/${MODPY_SITEPKG}/louis + ${INSTALL_DATA} ${WRKSRC}/python/louis/__init__.py \ + ${WRKINST}/${MODPY_SITEPKG}/louis + ${MODPY_BIN} ${MODPY_LIBDIR}/compileall.py ${WRKINST}${MODPY_SITEPKG} + +.include diff --git a/devel/liblouis/distinfo b/devel/liblouis/distinfo new file mode 100644 index 00000000000..7bb601abbb9 --- /dev/null +++ b/devel/liblouis/distinfo @@ -0,0 +1,5 @@ +MD5 (liblouis-2.3.0.tar.gz) = B1oBj8kSJQnICin2WsU0kw== +RMD160 (liblouis-2.3.0.tar.gz) = PHi5YEg33DjnJru6KpJD0NeXRGc= +SHA1 (liblouis-2.3.0.tar.gz) = 9nDE/YRbMxDsAhQPsm2RK9sd81Y= +SHA256 (liblouis-2.3.0.tar.gz) = ljj+QsUIR9B2Mihmn/ecAt283xnQoYsQTSpFemZdg0I= +SIZE (liblouis-2.3.0.tar.gz) = 1698591 diff --git a/devel/liblouis/patches/patch-python_louis_Makefile_in b/devel/liblouis/patches/patch-python_louis_Makefile_in new file mode 100644 index 00000000000..6e4070c4ca8 --- /dev/null +++ b/devel/liblouis/patches/patch-python_louis_Makefile_in @@ -0,0 +1,12 @@ +$OpenBSD: patch-python_louis_Makefile_in,v 1.1.1.1 2011/10/20 11:31:02 ajacoutot Exp $ +--- python/louis/Makefile.in.orig Thu Oct 20 11:54:22 2011 ++++ python/louis/Makefile.in Thu Oct 20 11:54:29 2011 +@@ -471,7 +471,7 @@ uninstall-am: + + + all: +- source ../../liblouis/liblouis.la ; \ ++ . ../../liblouis/liblouis.la ; \ + sed "s/###LIBLOUIS_SONAME###/$$dlname/" \ + < $(srcdir)/__init__.py.in \ + > __init__.py diff --git a/devel/liblouis/pkg/DESCR b/devel/liblouis/pkg/DESCR new file mode 100644 index 00000000000..3fd5a6da7f3 --- /dev/null +++ b/devel/liblouis/pkg/DESCR @@ -0,0 +1,11 @@ +Liblouis is an open-source braille translator and back-translator. It +features support for computer and literary braille, supports contracted +and uncontracted translation for many, many languages (Arabic, Armenian, +Bulgarian, Chinese, Croatian, Czech, Danish, Dutch, English, Esperanto, +Estonian, Finish, French, Gaelic, German, Greek, Icelandic, Italian, +Lithuanian, Norwegian, Polish, Portuguese, Romanian, Russian, Slovakian, +Spanish, Swedish, Turkish, Vietnamese, Welsh) and has support for +hyphenation. New languages can easily be added through tables that +support a rule- or dictionary based approach. Included are also tools +for testing and debugging tables. Liblouis also supports math braille +(Nemeth and Marburg). diff --git a/devel/liblouis/pkg/PLIST b/devel/liblouis/pkg/PLIST new file mode 100644 index 00000000000..33b9ed126bd --- /dev/null +++ b/devel/liblouis/pkg/PLIST @@ -0,0 +1,234 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2011/10/20 11:31:02 ajacoutot Exp $ +@bin bin/lou_allround +@bin bin/lou_checkhyphens +@bin bin/lou_checktable +@bin bin/lou_debug +@bin bin/lou_translate +include/liblouis/ +include/liblouis/liblouis.h +include/liblouis/louis.h +@info info/liblouis.info +lib/liblouis.a +lib/liblouis.la +@lib lib/liblouis.so.${LIBlouis_VERSION} +lib/pkgconfig/liblouis.pc +lib/python${MODPY_VERSION}/site-packages/louis/ +lib/python${MODPY_VERSION}/site-packages/louis/__init__.py +lib/python${MODPY_VERSION}/site-packages/louis/__init__.pyc +@man man/man1/lou_allround.1 +@man man/man1/lou_checkhyphens.1 +@man man/man1/lou_checktable.1 +@man man/man1/lou_debug.1 +@man man/man1/lou_translate.1 +share/doc/liblouis/ +share/doc/liblouis/liblouis.html +share/doc/liblouis/liblouis.txt +share/liblouis/ +share/liblouis/tables/ +share/liblouis/tables/Cz-Cz-g1.utb +share/liblouis/tables/Es-Es-g1.utb +share/liblouis/tables/Fr-Ca-g2.ctb +share/liblouis/tables/Fr-Fr-g2.ctb +share/liblouis/tables/Lv-Lv-g1.utb +share/liblouis/tables/Nl-Nl-g1.utb +share/liblouis/tables/Pl-Pl-g1.utb +share/liblouis/tables/Se-Se-g1.utb +share/liblouis/tables/UEBC-g1.utb +share/liblouis/tables/UEBC-g2.ctb +share/liblouis/tables/ar-ar-g1.utb +share/liblouis/tables/as.ctb +share/liblouis/tables/awa.ctb +share/liblouis/tables/bengali.cti +share/liblouis/tables/bg.ctb +share/liblouis/tables/bh.ctb +share/liblouis/tables/bn.ctb +share/liblouis/tables/bo.ctb +share/liblouis/tables/boxes.ctb +share/liblouis/tables/bra.ctb +share/liblouis/tables/braille-patterns.cti +share/liblouis/tables/ca-chardefs.cti +share/liblouis/tables/ca-g1.ctb +share/liblouis/tables/chardefs.cti +share/liblouis/tables/ckb-chardefs.cti +share/liblouis/tables/ckb-g1.ctb +share/liblouis/tables/ckb-translation.ctb +share/liblouis/tables/compress.ctb +share/liblouis/tables/corrections.ctb +share/liblouis/tables/countries.cti +share/liblouis/tables/cy-cy-g1.utb +share/liblouis/tables/cy-cy-g2.ctb +share/liblouis/tables/da-1252.ctb +share/liblouis/tables/da-dk-g1.utb +share/liblouis/tables/da-dk-g2.ctb +share/liblouis/tables/da-dk.dis +share/liblouis/tables/da-lt.ctb +share/liblouis/tables/da.ctb +share/liblouis/tables/de-ch-accents.cti +share/liblouis/tables/de-ch-g0.utb +share/liblouis/tables/de-ch-g1.ctb +share/liblouis/tables/de-ch-g2.ctb +share/liblouis/tables/de-chardefs6.cti +share/liblouis/tables/de-chardefs8.cti +share/liblouis/tables/de-chess.ctb +share/liblouis/tables/de-de-accents.cti +share/liblouis/tables/de-de-comp8.ctb +share/liblouis/tables/de-de-g0.utb +share/liblouis/tables/de-de-g1.ctb +share/liblouis/tables/de-de-g2.ctb +share/liblouis/tables/de-de.dis +share/liblouis/tables/de-eurobrl6.dis +share/liblouis/tables/de-eurobrl6u.dis +share/liblouis/tables/de-g0-core.utb +share/liblouis/tables/de-g1-core.ctb +share/liblouis/tables/de-g2-core.ctb +share/liblouis/tables/devanagari.cti +share/liblouis/tables/dra.ctb +share/liblouis/tables/en-GB-g2.ctb +share/liblouis/tables/en-chess.ctb +share/liblouis/tables/en-gb-g1.utb +share/liblouis/tables/en-us-brf.dis +share/liblouis/tables/en-us-comp6.ctb +share/liblouis/tables/en-us-comp8.ctb +share/liblouis/tables/en-us-compbrl.ctb +share/liblouis/tables/en-us-g1.ctb +share/liblouis/tables/en-us-g1.utb +share/liblouis/tables/en-us-g2.ctb +share/liblouis/tables/en-us-interline.ctb +share/liblouis/tables/en-us-mathtext.ctb +share/liblouis/tables/en_CA.ctb +share/liblouis/tables/eo.ctb +share/liblouis/tables/es-chardefs.cti +share/liblouis/tables/es-g1.ctb +share/liblouis/tables/es-new.dis +share/liblouis/tables/es-old.dis +share/liblouis/tables/es-translation.ctb +share/liblouis/tables/et.ctb +share/liblouis/tables/eurodefs.cti +share/liblouis/tables/fi-fi-8dot.ctb +share/liblouis/tables/fi-fi.ctb +share/liblouis/tables/fi1.ctb +share/liblouis/tables/fi2.ctb +share/liblouis/tables/fr-2007.ctb +share/liblouis/tables/fr-bfu-comp6.utb +share/liblouis/tables/fr-bfu-comp8.utb +share/liblouis/tables/fr-bfu-g2.ctb +share/liblouis/tables/fr-ca-g1.utb +share/liblouis/tables/fr-fr-g1.utb +share/liblouis/tables/ga.ctb +share/liblouis/tables/gd.ctb +share/liblouis/tables/gez-chardefs.cti +share/liblouis/tables/gez-g1.ctb +share/liblouis/tables/gez-translation.ctb +share/liblouis/tables/gon.ctb +share/liblouis/tables/gr-bb.ctb +share/liblouis/tables/gr-gr-g1.utb +share/liblouis/tables/gu.ctb +share/liblouis/tables/gujarati.cti +share/liblouis/tables/gurmukhi.cti +share/liblouis/tables/he.ctb +share/liblouis/tables/hi-in-g1.utb +share/liblouis/tables/hi.ctb +share/liblouis/tables/hr.ctb +share/liblouis/tables/hu.ctb +share/liblouis/tables/hu1.ctb +share/liblouis/tables/hy.ctb +share/liblouis/tables/hyph_de_DE.dic +share/liblouis/tables/hyph_en_US.dic +share/liblouis/tables/hyph_es_ES.dic +share/liblouis/tables/hyph_fr_FR.dic +share/liblouis/tables/hyph_it_IT.dic +share/liblouis/tables/hyph_nl_NL.dic +share/liblouis/tables/hyph_no_NO.dic +share/liblouis/tables/hyph_pl_PL.dic +share/liblouis/tables/hyph_pt_PT.dic +share/liblouis/tables/hyph_sv_SE.dic +share/liblouis/tables/is-chardefs6.cti +share/liblouis/tables/is-chardefs8.cti +share/liblouis/tables/is.ctb +share/liblouis/tables/it-it-g1.utb +share/liblouis/tables/it-it-g1.utb2 +share/liblouis/tables/kannada.cti +share/liblouis/tables/kha.ctb +share/liblouis/tables/kn.ctb +share/liblouis/tables/kok.ctb +share/liblouis/tables/kru.ctb +share/liblouis/tables/lang2table +share/liblouis/tables/lt.ctb +share/liblouis/tables/malayalam.cti +share/liblouis/tables/marburg.ctb +share/liblouis/tables/marburg_edit.ctb +share/liblouis/tables/marburg_single_cell_defs.cti +share/liblouis/tables/marburg_unicode_defs.cti +share/liblouis/tables/ml.ctb +share/liblouis/tables/mni.ctb +share/liblouis/tables/mr.ctb +share/liblouis/tables/mt.ctb +share/liblouis/tables/mun.ctb +share/liblouis/tables/mwr.ctb +share/liblouis/tables/ne.ctb +share/liblouis/tables/nemeth.ctb +share/liblouis/tables/nemeth_edit.ctb +share/liblouis/tables/nemethdefs.cti +share/liblouis/tables/new.ctb +share/liblouis/tables/nl-BE-chardefs.cti +share/liblouis/tables/nl-BE-g1.ctb +share/liblouis/tables/nl-BE-translation.ctb +share/liblouis/tables/nl-be-g1.utb +share/liblouis/tables/no-gen.ctb +share/liblouis/tables/no-gen.dis +share/liblouis/tables/no-no-g0.utb +share/liblouis/tables/no-no-g1.ctb +share/liblouis/tables/no-no-g2.ctb +share/liblouis/tables/no-no-g3.ctb +share/liblouis/tables/no-no-generic.ctb +share/liblouis/tables/no-no-generic.dis +share/liblouis/tables/no-no.ctb +share/liblouis/tables/no-no.dis +share/liblouis/tables/or.ctb +share/liblouis/tables/oriya.cti +share/liblouis/tables/pa.ctb +share/liblouis/tables/pi.ctb +share/liblouis/tables/printables.cti +share/liblouis/tables/pt-pt-g1.utb +share/liblouis/tables/pt-pt-g2.ctb +share/liblouis/tables/ro.ctb +share/liblouis/tables/ru-ru-comp8 +share/liblouis/tables/ru-ru-g1.utb +share/liblouis/tables/ru-ru.dis +share/liblouis/tables/ru.ctb +share/liblouis/tables/sa.ctb +share/liblouis/tables/sat.ctb +share/liblouis/tables/sd.ctb +share/liblouis/tables/se-se.ctb +share/liblouis/tables/se-se.dis +share/liblouis/tables/sk-sk-g1.utb +share/liblouis/tables/sk-sk.utb +share/liblouis/tables/sl-si-g1.utb +share/liblouis/tables/spaces.ctb +share/liblouis/tables/sr-chardefs.cti +share/liblouis/tables/sr-g1.ctb +share/liblouis/tables/sr-translation.ctb +share/liblouis/tables/sv-1989.ctb +share/liblouis/tables/sv-1996.ctb +share/liblouis/tables/ta.ctb +share/liblouis/tables/tamil.cti +share/liblouis/tables/te.ctb +share/liblouis/tables/telugu.cti +share/liblouis/tables/text_nabcc.dis +share/liblouis/tables/tr.ctb +share/liblouis/tables/ukchardefs.cti +share/liblouis/tables/ukmaths.ctb +share/liblouis/tables/ukmaths_edit.ctb +share/liblouis/tables/ukmaths_single_cell_defs.cti +share/liblouis/tables/ukmaths_unicode_defs.cti +share/liblouis/tables/uni-text.dis +share/liblouis/tables/unicode.dis +share/liblouis/tables/unicodedefs.cti +share/liblouis/tables/us-table.dis +share/liblouis/tables/vi.ctb +share/liblouis/tables/wiskunde-chardefs.cti +share/liblouis/tables/wiskunde-translation.ctb +share/liblouis/tables/wiskunde.ctb +share/liblouis/tables/wiskunde_edit.cti +share/liblouis/tables/zh-hk.ctb +share/liblouis/tables/zh-tw.ctb