summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authoragc <agc>2003-05-09 07:38:16 +0000
committeragc <agc>2003-05-09 07:38:16 +0000
commit03f7308790e01a9d4334164472ab63584306083b (patch)
treec875d8275fa701784d6f43325ff21ba380780099 /misc
parent16ae97e4c95ef896eb7a6ccef6e2863c63838ac3 (diff)
downloadpkgsrc-03f7308790e01a9d4334164472ab63584306083b.tar.gz
Initial import of Alan Watson's utftools-1.6 into the NetBSD Packages
Collection. This package contains implementations of UTF-8-aware wc, fmt, expand, and unexpand.
Diffstat (limited to 'misc')
-rw-r--r--misc/utftools/DESCR2
-rw-r--r--misc/utftools/Makefile16
-rw-r--r--misc/utftools/PLIST9
-rw-r--r--misc/utftools/distinfo9
-rw-r--r--misc/utftools/patches/patch-aa12
-rw-r--r--misc/utftools/patches/patch-ab12
-rw-r--r--misc/utftools/patches/patch-ac12
-rw-r--r--misc/utftools/patches/patch-ad12
-rw-r--r--misc/utftools/patches/patch-ae15
9 files changed, 99 insertions, 0 deletions
diff --git a/misc/utftools/DESCR b/misc/utftools/DESCR
new file mode 100644
index 00000000000..10babdca2f0
--- /dev/null
+++ b/misc/utftools/DESCR
@@ -0,0 +1,2 @@
+This package contains implementations of UTF-aware wc, fmt,
+expand, and unexpand.
diff --git a/misc/utftools/Makefile b/misc/utftools/Makefile
new file mode 100644
index 00000000000..8e9208e7c55
--- /dev/null
+++ b/misc/utftools/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/05/09 07:38:16 agc Exp $
+#
+
+DISTNAME= utftools-1.6
+CATEGORIES= misc
+MASTER_SITES= ftp://ftp.cs.yorku.ca/pub/wily/misc/
+
+MAINTAINER= agc@netbsd.org
+HOMEPAGE=
+COMMENT= UTF-aware wc, fmt, expand, and unexpand
+
+GNU_CONFIGURE= yes
+USE_BUILDLINK2= yes
+
+.include "../../misc/libutf/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/utftools/PLIST b/misc/utftools/PLIST
new file mode 100644
index 00000000000..138442360f4
--- /dev/null
+++ b/misc/utftools/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/05/09 07:38:16 agc Exp $
+bin/utf8-expand
+bin/utf8-fmt
+bin/utf8-unexpand
+bin/utf8-wc
+man/man1/utf8-expand.1
+man/man1/utf8-fmt.1
+man/man1/utf8-unexpand.1
+man/man1/utf8-wc.1
diff --git a/misc/utftools/distinfo b/misc/utftools/distinfo
new file mode 100644
index 00000000000..049831bf7f6
--- /dev/null
+++ b/misc/utftools/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/05/09 07:38:16 agc Exp $
+
+SHA1 (utftools-1.6.tar.gz) = 92406e9cc5f47fa0baa2d558b56175bc836431f1
+Size (utftools-1.6.tar.gz) = 26298 bytes
+SHA1 (patch-aa) = c9b89b0b61fd1a51ab301748fc954676cfffc8ef
+SHA1 (patch-ab) = 0010909f1f83b8968275fb26c00e4c9bd4a534c4
+SHA1 (patch-ac) = 4de3e61f6d11a0729a01f5efcffe9fcfe871e0ad
+SHA1 (patch-ad) = d5dadfa15d266aa1b5104f2f87dc39f481672639
+SHA1 (patch-ae) = e80fa5cb1ea5b1116bba8b0fe7f9ec93a55da7b6
diff --git a/misc/utftools/patches/patch-aa b/misc/utftools/patches/patch-aa
new file mode 100644
index 00000000000..281754f06d8
--- /dev/null
+++ b/misc/utftools/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/05/09 07:38:16 agc Exp $
+
+--- fmt.c 2003/05/09 07:20:12 1.1
++++ fmt.c 2003/05/09 07:20:22
+@@ -2,6 +2,7 @@
+
+ #include <stdlib.h>
+ #include <stdio.h>
++#include <unistd.h>
+ #include <string.h>
+ #include <errno.h>
+
diff --git a/misc/utftools/patches/patch-ab b/misc/utftools/patches/patch-ab
new file mode 100644
index 00000000000..e5f2ec20ab2
--- /dev/null
+++ b/misc/utftools/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/05/09 07:38:16 agc Exp $
+
+--- wc.c 2003/05/09 07:22:29 1.1
++++ wc.c 2003/05/09 07:22:37
+@@ -4,6 +4,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <unistd.h>
+
+ #include <utf.h>
+ #include <utftools.h>
diff --git a/misc/utftools/patches/patch-ac b/misc/utftools/patches/patch-ac
new file mode 100644
index 00000000000..bac3335cd07
--- /dev/null
+++ b/misc/utftools/patches/patch-ac
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/05/09 07:38:16 agc Exp $
+
+--- expand.c 2003/05/09 07:23:26 1.1
++++ expand.c 2003/05/09 07:23:40
+@@ -4,6 +4,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <unistd.h>
+ #include <errno.h>
+
+ #include <utf.h>
diff --git a/misc/utftools/patches/patch-ad b/misc/utftools/patches/patch-ad
new file mode 100644
index 00000000000..20258bdf9e4
--- /dev/null
+++ b/misc/utftools/patches/patch-ad
@@ -0,0 +1,12 @@
+$NetBSD: patch-ad,v 1.1.1.1 2003/05/09 07:38:16 agc Exp $
+
+--- unexpand.c 2003/05/09 07:24:20 1.1
++++ unexpand.c 2003/05/09 07:24:32
+@@ -4,6 +4,7 @@
+
+ #include <stdio.h>
+ #include <string.h>
++#include <unistd.h>
+ #include <errno.h>
+
+ #include <utf.h>
diff --git a/misc/utftools/patches/patch-ae b/misc/utftools/patches/patch-ae
new file mode 100644
index 00000000000..cc00147940b
--- /dev/null
+++ b/misc/utftools/patches/patch-ae
@@ -0,0 +1,15 @@
+$NetBSD: patch-ae,v 1.1.1.1 2003/05/09 07:38:16 agc Exp $
+
+--- Makefile.in 2003/05/09 07:26:50 1.1
++++ Makefile.in 2003/05/09 07:27:08
+@@ -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