diff --git a/converters/enca/Makefile b/converters/enca/Makefile new file mode 100644 index 00000000000..c424eb89267 --- /dev/null +++ b/converters/enca/Makefile @@ -0,0 +1,32 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2011/04/13 13:26:42 jasper Exp $ + +COMMENT= detect character set and encoding of text files + +DISTNAME= enca-1.13 +SHARED_LIBS += enca 0.0 # 5.1 +CATEGORIES= converters textproc + +HOMEPAGE= http://gitorious.org/enca + +# GPLv2 +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= http://dl.cihar.com/enca/ + +WANTLIB+= c m recode + +MODULES= devel/gettext + +LIB_DEPENDS= converters/recode + +USE_GMAKE= Yes +USE_LIBTOOL= Yes +LIBTOOL_FLAGS+= --tag=disable-static + +CONFIGURE_STYLE= gnu +CONFIGURE_ARGS+= ${CONFIGURE_SHARED} + +.include diff --git a/converters/enca/distinfo b/converters/enca/distinfo new file mode 100644 index 00000000000..1cfb762d246 --- /dev/null +++ b/converters/enca/distinfo @@ -0,0 +1,5 @@ +MD5 (enca-1.13.tar.gz) = WPzx/qfuq3C2Si1h4UqWfQ== +RMD160 (enca-1.13.tar.gz) = D69/v4Z0bSLfvcgtJnqItxQLwJs= +SHA1 (enca-1.13.tar.gz) = xuJepPTMUxAL1trNYuoi45FR0Gc= +SHA256 (enca-1.13.tar.gz) = 4v4oks/MlUQtAkffz82UvJwRWjlVqbfl8UYFiy66xKs= +SIZE (enca-1.13.tar.gz) = 676318 diff --git a/converters/enca/pkg/DESCR b/converters/enca/pkg/DESCR new file mode 100644 index 00000000000..ec7967ad329 --- /dev/null +++ b/converters/enca/pkg/DESCR @@ -0,0 +1,4 @@ +Enca is an Extremely Naive Charset Analyser. It detects character set +and encoding of text files and can also convert them to other encodings +using either a built-in converter or external libraries and tools like +libiconv, librecode, etc. diff --git a/converters/enca/pkg/PFRAG.shared b/converters/enca/pkg/PFRAG.shared new file mode 100644 index 00000000000..35ec40320b0 --- /dev/null +++ b/converters/enca/pkg/PFRAG.shared @@ -0,0 +1,2 @@ +@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2011/04/13 13:26:42 jasper Exp $ +@lib lib/libenca.so.${LIBenca_VERSION} diff --git a/converters/enca/pkg/PLIST b/converters/enca/pkg/PLIST new file mode 100644 index 00000000000..f25bda87368 --- /dev/null +++ b/converters/enca/pkg/PLIST @@ -0,0 +1,28 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2011/04/13 13:26:42 jasper Exp $ +%%SHARED%% +@bin bin/enca +bin/enconv +include/enca.h +@comment lib/libenca.la +lib/pkgconfig/ +lib/pkgconfig/enca.pc +libexec/enca/ +libexec/enca/extconv/ +libexec/enca/extconv/cstocs +libexec/enca/extconv/map +libexec/enca/extconv/piconv +libexec/enca/extconv/recode +libexec/enca/extconv/umap +@man man/man1/enca.1 +@man man/man1/enconv.1 +share/gtk-doc/ +share/gtk-doc/html/ +share/gtk-doc/html/libenca/ +share/gtk-doc/html/libenca/ch01.html +share/gtk-doc/html/libenca/index.html +share/gtk-doc/html/libenca/index.sgml +share/gtk-doc/html/libenca/libenca-Analyser.html +share/gtk-doc/html/libenca/libenca-Auxiliary-Functions.html +share/gtk-doc/html/libenca/libenca-Charsets-and-Surfaces.html +share/gtk-doc/html/libenca/libenca-Typedefs-and-Constants.html +share/gtk-doc/html/libenca/libenca.devhelp