summaryrefslogtreecommitdiff
path: root/textproc/textutils
diff options
context:
space:
mode:
authorbouyer <bouyer@pkgsrc.org>1999-12-16 14:54:17 +0000
committerbouyer <bouyer@pkgsrc.org>1999-12-16 14:54:17 +0000
commit48a632f48c95a38f7f7783ae737c4fd4c03c7d53 (patch)
tree1437fee60112372bcded07a75dc1d386c14c4952 /textproc/textutils
parentf56dfe88335973756fb3835c31a53a5c0145db11 (diff)
downloadpkgsrc-48a632f48c95a38f7f7783ae737c4fd4c03c7d53.tar.gz
Initial import of FreeBSD's "textutils" package:
GNU textutils utilities.
Diffstat (limited to 'textproc/textutils')
-rw-r--r--textproc/textutils/Makefile31
-rw-r--r--textproc/textutils/files/md51
-rw-r--r--textproc/textutils/patches/patch-ab17
-rw-r--r--textproc/textutils/pkg/COMMENT1
-rw-r--r--textproc/textutils/pkg/DESCR10
-rw-r--r--textproc/textutils/pkg/PLIST70
6 files changed, 130 insertions, 0 deletions
diff --git a/textproc/textutils/Makefile b/textproc/textutils/Makefile
new file mode 100644
index 00000000000..1d9ac095290
--- /dev/null
+++ b/textproc/textutils/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: textutils
+# Version required: 2.0
+# Date created: 14 May 1998
+# Whom: Adrian Wontroba <aw1@stade.co.uk>
+#
+# $FreeBSD: ports/textproc/textutils/Makefile,v 1.7 1999/09/18 17:46:30 steve Exp $
+#
+
+DISTNAME= textutils-2.0
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_GNU}
+MASTER_SITE_SUBDIR= textutils
+
+MAINTAINER= aw1@stade.co.uk
+
+GNU_CONFIGURE= yes
+
+CONFIGURE_ARGS= --program-prefix=g
+
+USE_GMAKE= yes
+
+MAN1= gcomm.1 gcsplit.1 gcut.1 gexpand.1 gfmt.1 ghead.1 \
+ gjoin.1 gmd5sum.1 gnl.1 gpaste.1 gpr.1 gsort.1 \
+ gptx.1 gsum.1 gtac.1 gtail.1 gtr.1 guniq.1 \
+ gtsort.1 gwc.1 gcat.1 gcksum.1 gfold.1 god.1 \
+ gsplit.1 gunexpand.1
+
+post-install:
+ install-info ${PREFIX}/info/textutils.info ${PREFIX}/info/dir
+
+.include <bsd.port.mk>
diff --git a/textproc/textutils/files/md5 b/textproc/textutils/files/md5
new file mode 100644
index 00000000000..45db3852bef
--- /dev/null
+++ b/textproc/textutils/files/md5
@@ -0,0 +1 @@
+MD5 (textutils-2.0.tar.gz) = 61e0eeb09be094069182632335f71b1b
diff --git a/textproc/textutils/patches/patch-ab b/textproc/textutils/patches/patch-ab
new file mode 100644
index 00000000000..32f1ae34bf3
--- /dev/null
+++ b/textproc/textutils/patches/patch-ab
@@ -0,0 +1,17 @@
+--- doc/Makefile.in.orig Fri Aug 6 21:56:34 1999
++++ doc/Makefile.in Sat Aug 21 22:22:12 1999
+@@ -218,14 +218,6 @@
+ else : ; fi; \
+ done; \
+ done
+- @$(POST_INSTALL)
+- @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
+- list='$(INFO_DEPS)'; \
+- for file in $$list; do \
+- echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
+- install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
+- done; \
+- else : ; fi
+
+ uninstall-info:
+ $(PRE_UNINSTALL)
diff --git a/textproc/textutils/pkg/COMMENT b/textproc/textutils/pkg/COMMENT
new file mode 100644
index 00000000000..dec39ad1395
--- /dev/null
+++ b/textproc/textutils/pkg/COMMENT
@@ -0,0 +1 @@
+GNU text utilities
diff --git a/textproc/textutils/pkg/DESCR b/textproc/textutils/pkg/DESCR
new file mode 100644
index 00000000000..b9d9eb16911
--- /dev/null
+++ b/textproc/textutils/pkg/DESCR
@@ -0,0 +1,10 @@
+GNU text utilities
+
+The Free Software Foundation's text processing utilities, for rearranging,
+reformatting and generally mangling text.
+
+Many of the utilities exist in the FreeBSD base collection, but the GNU
+versions have added functionality, which is sometimes useful.
+
+Note that the texinfo documentation refers to these utilities
+without the "g" prefix (cat rather than gcat, etc.).
diff --git a/textproc/textutils/pkg/PLIST b/textproc/textutils/pkg/PLIST
new file mode 100644
index 00000000000..2579384645f
--- /dev/null
+++ b/textproc/textutils/pkg/PLIST
@@ -0,0 +1,70 @@
+bin/gcat
+bin/gcksum
+bin/gcomm
+bin/gcsplit
+bin/gcut
+bin/gexpand
+bin/gfmt
+bin/gfold
+bin/ghead
+bin/gjoin
+bin/gmd5sum
+bin/gnl
+bin/god
+bin/gpaste
+bin/gpr
+bin/gptx
+bin/gsort
+bin/gsplit
+bin/gsum
+bin/gtac
+bin/gtail
+bin/gtr
+bin/gtsort
+bin/gunexpand
+bin/guniq
+bin/gwc
+@unexec install-info --delete %D/info/textutils.info %D/info/dir
+info/textutils.info
+@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
+@exec install-info %D/info/textutils.info %D/info/dir
+share/locale/cs/LC_MESSAGES/textutils.mo
+share/locale/de/LC_MESSAGES/textutils.mo
+share/locale/el/LC_MESSAGES/textutils.mo
+share/locale/es/LC_MESSAGES/textutils.mo
+share/locale/fr/LC_MESSAGES/textutils.mo
+share/locale/ko/LC_MESSAGES/textutils.mo
+share/locale/nl/LC_MESSAGES/textutils.mo
+share/locale/no/LC_MESSAGES/textutils.mo
+share/locale/pl/LC_MESSAGES/textutils.mo
+share/locale/ru/LC_MESSAGES/textutils.mo
+share/locale/sk/LC_MESSAGES/textutils.mo
+share/locale/sv/LC_MESSAGES/textutils.mo
+share/locale/zh/LC_MESSAGES/textutils.mo
+@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/cs 2>/dev/null || true
+@unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/de 2>/dev/null || true
+@unexec rmdir %D/share/locale/el/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/el 2>/dev/null || true
+@unexec rmdir %D/share/locale/es/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/es 2>/dev/null || true
+@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/fr 2>/dev/null || true
+@unexec rmdir %D/share/locale/ko/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/ko 2>/dev/null || true
+@unexec rmdir %D/share/locale/nl/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/nl 2>/dev/null || true
+@unexec rmdir %D/share/locale/no/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/no 2>/dev/null || true
+@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/pl 2>/dev/null || true
+@unexec rmdir %D/share/locale/ru/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/ru 2>/dev/null || true
+@unexec rmdir %D/share/locale/sk/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/sk 2>/dev/null || true
+@unexec rmdir %D/share/locale/sv/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/sv 2>/dev/null || true
+@unexec rmdir %D/share/locale/zh/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/zh 2>/dev/null || true
+@unexec rmdir %D/share/locale 2>/dev/null || true