aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--converters/Makefile1
-rw-r--r--converters/enca/Makefile30
-rw-r--r--converters/enca/distinfo1
-rw-r--r--converters/enca/files/patch-Makefile.in14
-rw-r--r--converters/enca/files/patch-configure13
-rw-r--r--converters/enca/files/patch-lib::encnames.c11
-rw-r--r--converters/enca/files/patch-src::Makefile.in16
-rw-r--r--converters/enca/pkg-comment1
-rw-r--r--converters/enca/pkg-descr8
-rw-r--r--converters/enca/pkg-plist21
-rw-r--r--converters/enca/pr-patch39
11 files changed, 155 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index 78d1ed58fb24..98fe5c2f60a0 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -7,6 +7,7 @@
SUBDIR += cn2jp
SUBDIR += dosunix
SUBDIR += dumpasn1
+ SUBDIR += enca
SUBDIR += fconv
SUBDIR += fribidi
SUBDIR += gbase
diff --git a/converters/enca/Makefile b/converters/enca/Makefile
new file mode 100644
index 000000000000..dbf54a8bb537
--- /dev/null
+++ b/converters/enca/Makefile
@@ -0,0 +1,30 @@
+# Ports collection makefile for: enca
+# Date created: Fri Sep 20, 2002
+# Whom: Alexandr Kovalenko <never@nevermind.kiev.ua>
+#
+# $FreeBSD$
+#
+
+PORTNAME= enca
+PORTVERSION= 0.10.3
+CATEGORIES= converters textproc
+MASTER_SITES= http://trific.ath.cx/Ftp/enca/
+
+MAINTAINER= never@nevermind.kiev.ua
+
+LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
+
+USE_BZIP2= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+INSTALLS_SHLIB= yes
+CONFIGURE_ARGS= --with-html-dir=${PREFIX}/share/doc/enca \
+ --without-librecode \
+ --with-libiconv=${LOCALBASE}
+CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
+ CPPFLAGS="-I${LOCALBASE}/include"
+
+MAN1= enca.1
+MLINKS= enca.1 enconv.1
+
+.include <bsd.port.mk>
diff --git a/converters/enca/distinfo b/converters/enca/distinfo
new file mode 100644
index 000000000000..0b12ec0a4ccf
--- /dev/null
+++ b/converters/enca/distinfo
@@ -0,0 +1 @@
+MD5 (enca-0.10.3.tar.bz2) = 69dee21115a9538f7116961bfe8976c9
diff --git a/converters/enca/files/patch-Makefile.in b/converters/enca/files/patch-Makefile.in
new file mode 100644
index 000000000000..6b1a8fa7c1b2
--- /dev/null
+++ b/converters/enca/files/patch-Makefile.in
@@ -0,0 +1,14 @@
+
+$FreeBSD$
+
+--- Makefile.in 2002/10/08 14:58:02 1.1
++++ Makefile.in 2002/10/08 14:58:10
+@@ -94,7 +94,7 @@
+ am__include = @am__include@
+ am__quote = @am__quote@
+ install_sh = @install_sh@
+-SUBDIRS = tools data script lib src devel-docs test
++SUBDIRS = tools data script lib src devel-docs
+ man_MANS = man/enca.1
+
+ M4TESTS = \
diff --git a/converters/enca/files/patch-configure b/converters/enca/files/patch-configure
new file mode 100644
index 000000000000..0f236e98c3d1
--- /dev/null
+++ b/converters/enca/files/patch-configure
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- configure 2002/10/08 14:50:26 1.1
++++ configure 2002/10/08 14:50:33
+@@ -7459,6 +7459,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/converters/enca/files/patch-lib::encnames.c b/converters/enca/files/patch-lib::encnames.c
new file mode 100644
index 000000000000..60cd2795727d
--- /dev/null
+++ b/converters/enca/files/patch-lib::encnames.c
@@ -0,0 +1,11 @@
+--- lib/encnames.c.orig Sun Aug 18 13:05:20 2002
++++ lib/encnames.c Wed Sep 18 17:36:39 2002
+@@ -25,7 +25,7 @@
+
+ #include "enca.h"
+ #include "internal.h"
+-#include "encodings.h"
++#include "tools/encodings.h"
+
+ #define NCHARSETS (sizeof(CHARSET_INFO)/sizeof(EncaCharsetInfo))
+ #define NALIASES (sizeof(ALIAS_LIST)/sizeof(char *))
diff --git a/converters/enca/files/patch-src::Makefile.in b/converters/enca/files/patch-src::Makefile.in
new file mode 100644
index 000000000000..cedfea8e2939
--- /dev/null
+++ b/converters/enca/files/patch-src::Makefile.in
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- src/Makefile.in 2002/10/08 14:55:02 1.1
++++ src/Makefile.in 2002/10/08 14:57:25
+@@ -126,8 +126,8 @@
+ HELP.in
+
+
+-LDFLAGS = @LIBS@
+-enca_LDADD = -L../lib @LIBOBJS@ @CONVERTOR_LIBS@ -lenca
++LDFLAGS = @LDFLAGS@ @LIBS@
++enca_LDADD = @LIBOBJS@ @CONVERTOR_LIBS@ ../lib/libenca.la
+ enca_DEPENDENCIES = @LIBOBJS@ ../lib/libenca.la
+ enca_CFLAGS = -I../lib
+
diff --git a/converters/enca/pkg-comment b/converters/enca/pkg-comment
new file mode 100644
index 000000000000..3bc76ea994ee
--- /dev/null
+++ b/converters/enca/pkg-comment
@@ -0,0 +1 @@
+A package for detecting encoding of text files
diff --git a/converters/enca/pkg-descr b/converters/enca/pkg-descr
new file mode 100644
index 000000000000..600c3f41670d
--- /dev/null
+++ b/converters/enca/pkg-descr
@@ -0,0 +1,8 @@
+Enca currently can determine 8bit charsets of Belarussian, Czech, Polish,
+Russian, Slovak and Ukrainian texts and also some multibyte encodings,
+independently on language (provided it's some European language).
+
+WWW: http://www.physics.muni.cz/~yeti/software/enca.shtml
+
+- Alexandr "Nevermind" Kovalenko
+never@nevermind.kiev.ua
diff --git a/converters/enca/pkg-plist b/converters/enca/pkg-plist
new file mode 100644
index 000000000000..eeb07140e504
--- /dev/null
+++ b/converters/enca/pkg-plist
@@ -0,0 +1,21 @@
+bin/b-cstocs
+bin/b-map
+bin/b-recode
+bin/b-umap
+bin/enca
+bin/enconv
+include/enca.h
+lib/libenca.a
+lib/libenca.so
+lib/libenca.so.1
+share/doc/enca/libenca/c1197.html
+share/doc/enca/libenca/c4.html
+share/doc/enca/libenca/index.html
+share/doc/enca/libenca/index.sgml
+share/doc/enca/libenca/libenca-analyser.html
+share/doc/enca/libenca/libenca-auxiliary-functions.html
+share/doc/enca/libenca/libenca-charsets-and-surfaces.html
+share/doc/enca/libenca/libenca-internal-functions.html
+share/doc/enca/libenca/libenca-typedefs-and-constants.html
+@dirrm share/doc/enca/libenca
+@dirrm share/doc/enca
diff --git a/converters/enca/pr-patch b/converters/enca/pr-patch
new file mode 100644
index 000000000000..d93ec0cbf801
--- /dev/null
+++ b/converters/enca/pr-patch
@@ -0,0 +1,39 @@
+diff -urN enca/Makefile enca-devel/Makefile
+--- enca/Makefile Sat Sep 21 16:18:52 2002
++++ enca-devel/Makefile Wed Oct 2 16:54:57 2002
+@@ -6,25 +6,20 @@
+ #
+
+ PORTNAME= enca
+-PORTVERSION= 0.10.2
++PORTVERSION= 0.10.3
+ CATEGORIES= textproc converters
+-MASTER_SITES= http://www.physics.muni.cz/~yeti/download/
++MASTER_SITES= http://trific.ath.cx/Ftp/enca/
+
+-MAINTAINER= ports@FreeBSD.org
++MAINTAINER= never@nevermind.kiev.ua
+
+-.if exists(${PREFIX}/lib/libiconv.so)
+ LIB_DEPENDS+= iconv.3:${PORTSDIR}/converters/libiconv
+-CONFIGURE_ARGS+= --with-libiconv=${PREFIX}
+-.endif
+
+ USE_BZIP2= yes
+ GNU_CONFIGURE= yes
+ USE_GMAKE= yes
+
+ CONFIGURE_ARGS+= --with-html-dir=${PREFIX}/share/doc/enca \
+- --without-librecode
+-
+-CONFIGURE_ENV+= LDFLAGS="-L${PREFIX}/lib" CPPFLAGS="-I${PREFIX}/include"
++ --without-librecode --with-libiconv=${PREFIX}
+
+ MAN1= enca.1
+ MLINKS= enca.1 enconv.1
+diff -urN enca/distinfo enca-devel/distinfo
+--- enca/distinfo Fri Sep 20 13:58:59 2002
++++ enca-devel/distinfo Wed Oct 2 16:45:47 2002
+@@ -1 +1 @@
+-MD5 (enca-0.10.2.tar.bz2) = ed2494af922397aa62c7e4c61aa3d7f3
++MD5 (enca-0.10.3.tar.bz2) = 69dee21115a9538f7116961bfe8976c9