mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
Add utftools 1.6, an UTF-aware wc, fmt, expand, and unexpand.
PR: 52031 Submitted by: Serge Gagnon <gagnon__s@videotron.ca>
This commit is contained in:
parent
9e80f501b3
commit
a8f63aba67
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=82157
@ -347,6 +347,7 @@
|
||||
SUBDIR += upclient
|
||||
SUBDIR += us-zipcodes
|
||||
SUBDIR += utf8locale
|
||||
SUBDIR += utftools
|
||||
SUBDIR += vbidecode
|
||||
SUBDIR += vera
|
||||
SUBDIR += videotext
|
||||
|
23
misc/utftools/Makefile
Normal file
23
misc/utftools/Makefile
Normal file
@ -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>
|
1
misc/utftools/distinfo
Normal file
1
misc/utftools/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (utftools-1.6.tar.gz) = e960cdaec17f90e2562882108942531e
|
13
misc/utftools/files/patch-Makefile.in
Normal file
13
misc/utftools/files/patch-Makefile.in
Normal file
@ -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
|
10
misc/utftools/files/patch-expand.c
Normal file
10
misc/utftools/files/patch-expand.c
Normal file
@ -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>
|
10
misc/utftools/files/patch-fmt.c
Normal file
10
misc/utftools/files/patch-fmt.c
Normal file
@ -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>
|
10
misc/utftools/files/patch-unexpand.c
Normal file
10
misc/utftools/files/patch-unexpand.c
Normal file
@ -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>
|
10
misc/utftools/files/patch-wc.c
Normal file
10
misc/utftools/files/patch-wc.c
Normal file
@ -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>
|
2
misc/utftools/pkg-descr
Normal file
2
misc/utftools/pkg-descr
Normal file
@ -0,0 +1,2 @@
|
||||
This package contains implementations of UTF-aware wc, fmt,
|
||||
expand, and unexpand.
|
4
misc/utftools/pkg-plist
Normal file
4
misc/utftools/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
bin/utf8-expand
|
||||
bin/utf8-fmt
|
||||
bin/utf8-unexpand
|
||||
bin/utf8-wc
|
Loading…
Reference in New Issue
Block a user