diff options
author | Will Andrews <will@FreeBSD.org> | 2003-06-03 04:52:55 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2003-06-03 04:52:55 +0000 |
commit | a8f63aba678e691a1bc091a65cf833490987c387 (patch) | |
tree | b34049465e9e0f4b30aec6f0b4edd14f2213611c /misc | |
parent | Add libutf 2.10, an UTF-8 character set support library, including (diff) |
Add utftools 1.6, an UTF-aware wc, fmt, expand, and unexpand.
PR: 52031
Submitted by: Serge Gagnon <gagnon__s@videotron.ca>
Notes
Notes:
svn path=/head/; revision=82157
Diffstat (limited to 'misc')
-rw-r--r-- | misc/Makefile | 1 | ||||
-rw-r--r-- | misc/utftools/Makefile | 23 | ||||
-rw-r--r-- | misc/utftools/distinfo | 1 | ||||
-rw-r--r-- | misc/utftools/files/patch-Makefile.in | 13 | ||||
-rw-r--r-- | misc/utftools/files/patch-expand.c | 10 | ||||
-rw-r--r-- | misc/utftools/files/patch-fmt.c | 10 | ||||
-rw-r--r-- | misc/utftools/files/patch-unexpand.c | 10 | ||||
-rw-r--r-- | misc/utftools/files/patch-wc.c | 10 | ||||
-rw-r--r-- | misc/utftools/pkg-descr | 2 | ||||
-rw-r--r-- | misc/utftools/pkg-plist | 4 |
10 files changed, 84 insertions, 0 deletions
diff --git a/misc/Makefile b/misc/Makefile index b817d015a05f..b21b015ec00b 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 000000000000..459cfd8aeaae --- /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 000000000000..3eed097ccd2f --- /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 000000000000..1204279524fe --- /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 000000000000..3d8eb5889997 --- /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 000000000000..1c21a61679c1 --- /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 000000000000..380261da9c43 --- /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 000000000000..7f1028b7b2d3 --- /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 000000000000..10babdca2f05 --- /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 000000000000..4202ddd899df --- /dev/null +++ b/misc/utftools/pkg-plist @@ -0,0 +1,4 @@ +bin/utf8-expand +bin/utf8-fmt +bin/utf8-unexpand +bin/utf8-wc |