summaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2003-06-03 04:52:55 +0000
committerwill <will@FreeBSD.org>2003-06-03 04:52:55 +0000
commitc3018c957b92d3a432fbb8b1f9f1018e5af468a0 (patch)
treee2868fba515eb9cc7d21ea89a684f4134289a3d0 /misc
parent4970485e397a68ee2db1ebf8f75c8a0ff06f12ae (diff)
downloadFreeBSD-ports-c3018c957b92d3a432fbb8b1f9f1018e5af468a0.zip
FreeBSD-ports-c3018c957b92d3a432fbb8b1f9f1018e5af468a0.tar.gz
Add utftools 1.6, an UTF-aware wc, fmt, expand, and unexpand.
PR: 52031 Submitted by: Serge Gagnon <gagnon__s@videotron.ca>
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile1
-rw-r--r--misc/utftools/Makefile23
-rw-r--r--misc/utftools/distinfo1
-rw-r--r--misc/utftools/files/patch-Makefile.in13
-rw-r--r--misc/utftools/files/patch-expand.c10
-rw-r--r--misc/utftools/files/patch-fmt.c10
-rw-r--r--misc/utftools/files/patch-unexpand.c10
-rw-r--r--misc/utftools/files/patch-wc.c10
-rw-r--r--misc/utftools/pkg-descr2
-rw-r--r--misc/utftools/pkg-plist4
10 files changed, 84 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile
index b817d01..b21b015ec 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -347,6 +347,7 @@
SUBDIR += upclient
SUBDIR += us-zipcodes
SUBDIR += utf8locale
+ SUBDIR += utftools
SUBDIR += vbidecode
SUBDIR += vera
SUBDIR += videotext
diff --git a/misc/utftools/Makefile b/misc/utftools/Makefile
new file mode 100644
index 0000000..459cfd8
--- /dev/null
+++ b/misc/utftools/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: utftools
+# Date created: Sat May 10 13:31:49 EDT 2003
+# Whom: Serge Gagnon <gagnon__s@videotron.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= utftools
+PORTVERSION= 1.6
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.cs.yorku.ca/pub/wily/misc/
+
+MAINTAINER= gagnon__s@videotron.ca
+COMMENT= UTF-aware wc, fmt, expand, and unexpand
+
+BUILD_DEPENDS= ${LOCALBASE}/lib/libutf.a:${PORTSDIR}/misc/libutf
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= '--libdir=${PREFIX}/lib'
+
+MAN1= utf8-expand.1 utf8-fmt.1 utf8-unexpand.1 utf8-wc.1
+
+.include <bsd.port.mk>
diff --git a/misc/utftools/distinfo b/misc/utftools/distinfo
new file mode 100644
index 0000000..3eed097
--- /dev/null
+++ b/misc/utftools/distinfo
@@ -0,0 +1 @@
+MD5 (utftools-1.6.tar.gz) = e960cdaec17f90e2562882108942531e
diff --git a/misc/utftools/files/patch-Makefile.in b/misc/utftools/files/patch-Makefile.in
new file mode 100644
index 0000000..1204279
--- /dev/null
+++ b/misc/utftools/files/patch-Makefile.in
@@ -0,0 +1,13 @@
+--- Makefile.in.orig Sat May 10 13:57:39 2003
++++ Makefile.in Sat May 10 14:01:43 2003
+@@ -39,8 +39,8 @@
+
+ install : all
+ $(srcdir)/mkinstalldirs $(BINDIR) $(MANDIR)/man1
+- for bin in $(BINS) ; do $(INSTALL) $$bin $(BINDIR)/$$bin ; done
+- for man in $(MANS) ; do $(INSTALL_DATA) $(srcdir)/$$man $(MANDIR)/man1/$$man ; done
++ for bin in $(BINS) ; do $(INSTALL) $$bin $(BINDIR)/utf8-$$bin ; done
++ for man in $(MANS) ; do $(INSTALL_DATA) $(srcdir)/$$man $(MANDIR)/man1/utf8-$$man ; done
+
+ uninstall :
+ -for bin in $(BINS) ; do rm $(BINDIR)/$$bin ; done
diff --git a/misc/utftools/files/patch-expand.c b/misc/utftools/files/patch-expand.c
new file mode 100644
index 0000000..3d8eb58
--- /dev/null
+++ b/misc/utftools/files/patch-expand.c
@@ -0,0 +1,10 @@
+--- expand.c.orig Sat May 10 13:52:15 2003
++++ expand.c Sat May 10 13:52:31 2003
+@@ -5,6 +5,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <errno.h>
++#include <unistd.h>
+
+ #include <utf.h>
+ #include <utftools.h>
diff --git a/misc/utftools/files/patch-fmt.c b/misc/utftools/files/patch-fmt.c
new file mode 100644
index 0000000..1c21a61
--- /dev/null
+++ b/misc/utftools/files/patch-fmt.c
@@ -0,0 +1,10 @@
+--- fmt.c.orig Sat May 10 13:50:39 2003
++++ fmt.c Sat May 10 13:51:23 2003
+@@ -4,6 +4,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <errno.h>
++#include <unistd.h>
+
+ #include <utf.h>
+ #include <utftools.h>
diff --git a/misc/utftools/files/patch-unexpand.c b/misc/utftools/files/patch-unexpand.c
new file mode 100644
index 0000000..380261d
--- /dev/null
+++ b/misc/utftools/files/patch-unexpand.c
@@ -0,0 +1,10 @@
+--- unexpand.c.orig Sat May 10 13:52:43 2003
++++ unexpand.c Sat May 10 13:52:58 2003
+@@ -5,6 +5,7 @@
+ #include <stdio.h>
+ #include <string.h>
+ #include <errno.h>
++#include <unistd.h>
+
+ #include <utf.h>
+ #include <utftools.h>
diff --git a/misc/utftools/files/patch-wc.c b/misc/utftools/files/patch-wc.c
new file mode 100644
index 0000000..7f1028b
--- /dev/null
+++ b/misc/utftools/files/patch-wc.c
@@ -0,0 +1,10 @@
+--- wc.c.orig Sat May 10 13:51:37 2003
++++ wc.c Sat May 10 13:52:00 2003
+@@ -4,6 +4,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <unistd.h>
+
+ #include <utf.h>
+ #include <utftools.h>
diff --git a/misc/utftools/pkg-descr b/misc/utftools/pkg-descr
new file mode 100644
index 0000000..10babdc
--- /dev/null
+++ b/misc/utftools/pkg-descr
@@ -0,0 +1,2 @@
+This package contains implementations of UTF-aware wc, fmt,
+expand, and unexpand.
diff --git a/misc/utftools/pkg-plist b/misc/utftools/pkg-plist
new file mode 100644
index 0000000..4202ddd
--- /dev/null
+++ b/misc/utftools/pkg-plist
@@ -0,0 +1,4 @@
+bin/utf8-expand
+bin/utf8-fmt
+bin/utf8-unexpand
+bin/utf8-wc
OpenPOWER on IntegriCloud