aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2003-06-26 20:17:37 +0800
committerosa <osa@FreeBSD.org>2003-06-26 20:17:37 +0800
commit940f2c13a6d7926851e903fe9281d0ab8847df3b (patch)
treeb97b616226187f34994c5b941a3975147b0d82d1 /converters
parente6215072edd8a5bd003069627bc4442bc507b04d (diff)
downloadfreebsd-ports-gnome-940f2c13a6d7926851e903fe9281d0ab8847df3b.tar.gz
freebsd-ports-gnome-940f2c13a6d7926851e903fe9281d0ab8847df3b.tar.zst
freebsd-ports-gnome-940f2c13a6d7926851e903fe9281d0ab8847df3b.zip
Maintainer's update to 0.99.2
Add 2 more categories as far as this tool is very useful for those languages PR: 53729 Approved by: fjoe (mentor) (implicit)
Diffstat (limited to 'converters')
-rw-r--r--converters/enca/Makefile5
-rw-r--r--converters/enca/distinfo2
-rw-r--r--converters/enca/files/patch-Makefile.in32
-rw-r--r--converters/enca/files/patch-lib+guess.c11
-rw-r--r--converters/enca/files/patch-lib+multibyte.c10
-rw-r--r--converters/enca/pkg-plist3
6 files changed, 51 insertions, 12 deletions
diff --git a/converters/enca/Makefile b/converters/enca/Makefile
index f69c041cb168..a0d7287706dd 100644
--- a/converters/enca/Makefile
+++ b/converters/enca/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= enca
-PORTVERSION= 0.10.7
-CATEGORIES= converters textproc
+PORTVERSION= 0.99.2
+CATEGORIES= converters textproc russian ukrainian
MASTER_SITES= http://physics.muni.cz/~yeti/Ftp/enca/
MAINTAINER= never@nevermind.kiev.ua
@@ -15,6 +15,7 @@ COMMENT= A package for detecting encoding of text files
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv
+USE_GNOME= pkgconfig
USE_BZIP2= yes
USE_GMAKE= yes
USE_LIBTOOL= yes
diff --git a/converters/enca/distinfo b/converters/enca/distinfo
index aff6a2c58b8e..b34a2b6455d2 100644
--- a/converters/enca/distinfo
+++ b/converters/enca/distinfo
@@ -1 +1 @@
-MD5 (enca-0.10.7.tar.bz2) = e539fea37f4280d1d465af58a52a9d6b
+MD5 (enca-0.99.2.tar.bz2) = 169ddc01a01af26fadf1bd3c1381497d
diff --git a/converters/enca/files/patch-Makefile.in b/converters/enca/files/patch-Makefile.in
index 6b1a8fa7c1b2..11adc656d271 100644
--- a/converters/enca/files/patch-Makefile.in
+++ b/converters/enca/files/patch-Makefile.in
@@ -1,14 +1,30 @@
-
-$FreeBSD$
-
---- Makefile.in 2002/10/08 14:58:02 1.1
-+++ Makefile.in 2002/10/08 14:58:10
-@@ -94,7 +94,7 @@
+--- Makefile.in Wed Jun 25 13:11:13 2003
++++ Makefile.in Wed Jun 25 18:29:00 2003
+@@ -29,6 +29,7 @@
+ sharedstatedir = @sharedstatedir@
+ localstatedir = @localstatedir@
+ libdir = @libdir@
++libdatadir = $(exec_prefix)/libdata
+ infodir = @infodir@
+ mandir = @mandir@
+ includedir = @includedir@
+@@ -95,8 +96,8 @@
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
+-@MAINTAINER_MODE_TRUE@SUBDIRS = tools data script lib src devel-docs test
+-@MAINTAINER_MODE_FALSE@SUBDIRS = tools script lib src devel-docs test
++@MAINTAINER_MODE_TRUE@SUBDIRS = tools data script lib src devel-docs
++@MAINTAINER_MODE_FALSE@SUBDIRS = tools script lib src devel-docs
man_MANS = man/enca.1
M4TESTS = \
+@@ -131,7 +132,7 @@
+ $(M4TESTS)
+
+
+-pkgconfigdir = $(libdir)/pkgconfig
++pkgconfigdir = $(libdatadir)/pkgconfig
+ pkgconfig_DATA = enca.pc
+ subdir = .
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff --git a/converters/enca/files/patch-lib+guess.c b/converters/enca/files/patch-lib+guess.c
new file mode 100644
index 000000000000..a714c73358c8
--- /dev/null
+++ b/converters/enca/files/patch-lib+guess.c
@@ -0,0 +1,11 @@
+--- lib/guess.c Tue Jun 24 17:50:29 2003
++++ lib/guess.c Wed Jun 25 18:15:40 2003
+@@ -247,7 +247,7 @@
+
+ size_t fchars; /* characters filtered out */
+ int cs;
+- ssize_t i;
++ size_t i;
+
+ /* Initialize when we are called the first time. */
+ if (ascii == ENCA_CS_UNKNOWN) {
diff --git a/converters/enca/files/patch-lib+multibyte.c b/converters/enca/files/patch-lib+multibyte.c
new file mode 100644
index 000000000000..a7c4f1dd6869
--- /dev/null
+++ b/converters/enca/files/patch-lib+multibyte.c
@@ -0,0 +1,10 @@
+--- lib/multibyte.c Mon Jun 23 01:39:18 2003
++++ lib/multibyte.c Wed Jun 25 18:17:00 2003
+@@ -23,6 +23,7 @@
+
+ #include <math.h>
+ #include <ctype.h>
++#include <sys/types.h>
+
+ #include "enca.h"
+ #include "internal.h"
diff --git a/converters/enca/pkg-plist b/converters/enca/pkg-plist
index 18a0c705f8c3..5f02ed4c0521 100644
--- a/converters/enca/pkg-plist
+++ b/converters/enca/pkg-plist
@@ -7,7 +7,8 @@ bin/enconv
include/enca.h
lib/libenca.a
lib/libenca.so
-lib/libenca.so.2
+lib/libenca.so.3
+libdata/pkgconfig/enca.pc
%%PORTDOCS%%share/doc/enca/libenca/c4.html
%%PORTDOCS%%share/doc/enca/libenca/index.html
%%PORTDOCS%%share/doc/enca/libenca/index.sgml