ports/52031: New port: misc/utftools UTF-aware wc, fmt, expand, and unexpand

Serge Gagnon gagnon__s at videotron.ca
Sat May 10 18:50:14 UTC 2003


>Number:         52031
>Category:       ports
>Synopsis:       New port: misc/utftools UTF-aware wc, fmt, expand, and unexpand
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 10 11:50:12 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Serge Gagnon
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
me
>Environment:
System: FreeBSD quenix.dyndns.org 4.8-STABLE FreeBSD 4.8-STABLE #0: Tue May 6 22:02:29 EDT 2003 serge at quenix.dyndns.org:/usr/obj/usr/src/sys/OCEAN3 i386


>Description:

This package contains implementations of UTF-aware wc, fmt,
expand, and unexpand.

This package depend on misc/libutf PR ports/52030

>How-To-Repeat:

>Fix:


--- utftools.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	utftools
#	utftools/Makefile
#	utftools/distinfo
#	utftools/files
#	utftools/files/patch-wc.c
#	utftools/files/patch-unexpand.c
#	utftools/files/patch-fmt.c
#	utftools/files/patch-expand.c
#	utftools/files/patch-Makefile.in
#	utftools/pkg-plist
#	utftools/pkg-descr
#
echo c - utftools
mkdir -p utftools > /dev/null 2>&1
echo x - utftools/Makefile
sed 's/^X//' >utftools/Makefile << 'END-of-utftools/Makefile'
X# New ports collection makefile for:	utftools
X# Date created:		Sat May 10 13:31:49 EDT 2003
X# Whom:			Serge Gagnon gagnon__s at videotron.ca
X#
X# $FreeBSD$
X#
X
XPORTNAME=	utftools
XPORTVERSION=	1.6
XCATEGORIES=	misc
XMASTER_SITES=	ftp://ftp.cs.yorku.ca/pub/wily/misc/
X
XMAINTAINER=	gagnon__s at videotron.ca
XCOMMENT=	UTF-aware wc, fmt, expand, and unexpand
X
XBUILD_DEPENDS=	${LOCALBASE}/lib/libutf.a:${PORTSDIR}/misc/libutf
X
XGNU_CONFIGURE=	yes
XCONFIGURE_ARGS+=	'--libdir=${PREFIX}/lib'
X
XMAN1=	utf8-expand.1 utf8-fmt.1 utf8-unexpand.1 utf8-wc.1
X
X.include <bsd.port.mk>
END-of-utftools/Makefile
echo x - utftools/distinfo
sed 's/^X//' >utftools/distinfo << 'END-of-utftools/distinfo'
XMD5 (utftools-1.6.tar.gz) = e960cdaec17f90e2562882108942531e
END-of-utftools/distinfo
echo c - utftools/files
mkdir -p utftools/files > /dev/null 2>&1
echo x - utftools/files/patch-wc.c
sed 's/^X//' >utftools/files/patch-wc.c << 'END-of-utftools/files/patch-wc.c'
X--- wc.c.orig	Sat May 10 13:51:37 2003
X+++ wc.c	Sat May 10 13:52:00 2003
X@@ -4,6 +4,7 @@
X 
X #include <stdio.h>
X #include <string.h>
X+#include <unistd.h>
X 
X #include <utf.h>
X #include <utftools.h>
END-of-utftools/files/patch-wc.c
echo x - utftools/files/patch-unexpand.c
sed 's/^X//' >utftools/files/patch-unexpand.c << 'END-of-utftools/files/patch-unexpand.c'
X--- unexpand.c.orig	Sat May 10 13:52:43 2003
X+++ unexpand.c	Sat May 10 13:52:58 2003
X@@ -5,6 +5,7 @@
X #include <stdio.h>
X #include <string.h>
X #include <errno.h>
X+#include <unistd.h>
X 
X #include <utf.h>
X #include <utftools.h>
END-of-utftools/files/patch-unexpand.c
echo x - utftools/files/patch-fmt.c
sed 's/^X//' >utftools/files/patch-fmt.c << 'END-of-utftools/files/patch-fmt.c'
X--- fmt.c.orig	Sat May 10 13:50:39 2003
X+++ fmt.c	Sat May 10 13:51:23 2003
X@@ -4,6 +4,7 @@
X #include <stdio.h>
X #include <string.h>
X #include <errno.h>
X+#include <unistd.h>
X 
X #include <utf.h>
X #include <utftools.h>
END-of-utftools/files/patch-fmt.c
echo x - utftools/files/patch-expand.c
sed 's/^X//' >utftools/files/patch-expand.c << 'END-of-utftools/files/patch-expand.c'
X--- expand.c.orig	Sat May 10 13:52:15 2003
X+++ expand.c	Sat May 10 13:52:31 2003
X@@ -5,6 +5,7 @@
X #include <stdio.h>
X #include <string.h>
X #include <errno.h>
X+#include <unistd.h>
X 
X #include <utf.h>
X #include <utftools.h>
END-of-utftools/files/patch-expand.c
echo x - utftools/files/patch-Makefile.in
sed 's/^X//' >utftools/files/patch-Makefile.in << 'END-of-utftools/files/patch-Makefile.in'
X--- Makefile.in.orig	Sat May 10 13:57:39 2003
X+++ Makefile.in	Sat May 10 14:01:43 2003
X@@ -39,8 +39,8 @@
X 
X install			:	all
X 	$(srcdir)/mkinstalldirs $(BINDIR) $(MANDIR)/man1
X-	for bin in $(BINS) ; do $(INSTALL) $$bin $(BINDIR)/$$bin ; done
X-	for man in $(MANS) ; do $(INSTALL_DATA) $(srcdir)/$$man $(MANDIR)/man1/$$man ; done
X+	for bin in $(BINS) ; do $(INSTALL) $$bin $(BINDIR)/utf8-$$bin ; done
X+	for man in $(MANS) ; do $(INSTALL_DATA) $(srcdir)/$$man $(MANDIR)/man1/utf8-$$man ; done
X 
X uninstall		:
X 	-for bin in $(BINS) ; do rm $(BINDIR)/$$bin ; done
END-of-utftools/files/patch-Makefile.in
echo x - utftools/pkg-plist
sed 's/^X//' >utftools/pkg-plist << 'END-of-utftools/pkg-plist'
Xbin/utf8-expand
Xbin/utf8-fmt
Xbin/utf8-unexpand
Xbin/utf8-wc
END-of-utftools/pkg-plist
echo x - utftools/pkg-descr
sed 's/^X//' >utftools/pkg-descr << 'END-of-utftools/pkg-descr'
XThis package contains implementations of UTF-aware wc, fmt,
Xexpand, and unexpand.
END-of-utftools/pkg-descr
exit
--- utftools.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list