Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 1998 04:24:24 +0100 (BST)
From:      Adrian Wontroba <aw1@stade.co.uk>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6950: new port, GNU textutils
Message-ID:  <199806150324.EAA14415@titus.stade.co.uk>

next in thread | raw e-mail | index | archive | help

>Number:         6950
>Category:       ports
>Synopsis:       new port, GNU textutils
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 14 21:00:01 PDT 1998
>Last-Modified:
>Originator:     Adrian Wontroba
>Organization:
Stade Computers Ltd, UK
>Release:        FreeBSD 2.2.6-STABLE i386
>Environment:

>Description:

Herewith, a port of the GNU text utilities, with a program-prefix
of g. I wanted the GNU as opposed to BSD fmt program, and some
practice at making a port.

Is there some blindingly obvious reason why this has seemingly
never been done before?

>How-To-Repeat:

>Fix:
	
# 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:
#
#	textutils
#	textutils/Makefile
#	textutils/pkg
#	textutils/pkg/COMMENT
#	textutils/pkg/DESCR
#	textutils/pkg/PLIST
#	textutils/patches
#	textutils/patches/patch-aa
#	textutils/files
#	textutils/files/md5
#
echo c - textutils
mkdir -p textutils > /dev/null 2>&1
echo x - textutils/Makefile
sed 's/^X//' >textutils/Makefile << 'END-of-textutils/Makefile'
X# New ports collection makefile for:	textutils
X# Version required:	1.22
X# Date created:		14 May 1998
X# Whom:			Adrian Wontroba <aw1@stade.co.uk>
X#
X# $Id$
X#
X
XDISTNAME=	textutils-1.22
XCATEGORIES=	textproc
XMASTER_SITES=	${MASTER_SITE_GNU}
X
XMAINTAINER=	aw1@stade.co.uk
X
XGNU_CONFIGURE= yes
X
XCONFIGURE_ARGS= --program-prefix=g
X
XUSE_GMAKE=	yes
X
XMAN1=	gcat.1 gcksum.1 gcomm.1 gcsplit.1 gcut.1 gexpand.1\
X		gfmt.1 gfold.1 ghead.1 gjoin.1 gmd5sum.1 gnl.1\
X		god.1 gpaste.1 gpr.1 gsort.1 gsplit.1 gsum.1 gtac.1\
X		gtail.1 gtr.1 gunexpand.1 guniq.1 gwc.1
X
Xpost-install:
X	@if [ ! -f ${PREFIX}/info/dir ]; then \
X	  ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
X	 fi
X	@install-info ${PREFIX}/info/textutils.info ${PREFIX}/info/dir
X
X.include <bsd.port.mk>
END-of-textutils/Makefile
echo c - textutils/pkg
mkdir -p textutils/pkg > /dev/null 2>&1
echo x - textutils/pkg/COMMENT
sed 's/^X//' >textutils/pkg/COMMENT << 'END-of-textutils/pkg/COMMENT'
XGNU text utilities
END-of-textutils/pkg/COMMENT
echo x - textutils/pkg/DESCR
sed 's/^X//' >textutils/pkg/DESCR << 'END-of-textutils/pkg/DESCR'
XGNU text utilities
X
XThe Free Software Foundation's text processing utilities, for rearranging,
Xreformatting and generally mangling text.
X
XMany of the utilities exist in the FreeBSD base collection, but the GNU
Xversions have added functionality, which is sometimes useful.
X
XNote that the texinfo documentation refers to these utilities
Xwithout the "g" prefix (cat rather than gcat, etc.).
END-of-textutils/pkg/DESCR
echo x - textutils/pkg/PLIST
sed 's/^X//' >textutils/pkg/PLIST << 'END-of-textutils/pkg/PLIST'
Xbin/gcat
Xbin/gcksum
Xbin/gcomm
Xbin/gcsplit
Xbin/gcut
Xbin/gexpand
Xbin/gfmt
Xbin/gfold
Xbin/ghead
Xbin/gjoin
Xbin/gmd5sum
Xbin/gnl
Xbin/god
Xbin/gpaste
Xbin/gpr
Xbin/gsort
Xbin/gsplit
Xbin/gsum
Xbin/gtac
Xbin/gtail
Xbin/gtr
Xbin/gunexpand
Xbin/guniq
Xbin/gwc
X@unexec install-info --delete %D/info/textutils.info %D/info/dir
Xinfo/textutils.info
X@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir
X@exec install-info %D/info/textutils.info %D/info/dir
Xman/man1/gcat.1.gz
Xman/man1/gcksum.1.gz
Xman/man1/gcomm.1.gz
Xman/man1/gcsplit.1.gz
Xman/man1/gcut.1.gz
Xman/man1/gexpand.1.gz
Xman/man1/gfmt.1.gz
Xman/man1/gfold.1.gz
Xman/man1/ghead.1.gz
Xman/man1/gjoin.1.gz
Xman/man1/gmd5sum.1.gz
Xman/man1/gnl.1.gz
Xman/man1/god.1.gz
Xman/man1/gpaste.1.gz
Xman/man1/gpr.1.gz
Xman/man1/gsort.1.gz
Xman/man1/gsplit.1.gz
Xman/man1/gsum.1.gz
Xman/man1/gtac.1.gz
Xman/man1/gtail.1.gz
Xman/man1/gtr.1.gz
Xman/man1/gunexpand.1.gz
Xman/man1/guniq.1.gz
Xman/man1/gwc.1.gz
Xshare/locale/de/LC_MESSAGES/textutils.mo
Xshare/locale/es/LC_MESSAGES/textutils.mo
Xshare/locale/fr/LC_MESSAGES/textutils.mo
Xshare/locale/ko/LC_MESSAGES/textutils.mo
Xshare/locale/nl/LC_MESSAGES/textutils.mo
Xshare/locale/pl/LC_MESSAGES/textutils.mo
END-of-textutils/pkg/PLIST
echo c - textutils/patches
mkdir -p textutils/patches > /dev/null 2>&1
echo x - textutils/patches/patch-aa
sed 's/^X//' >textutils/patches/patch-aa << 'END-of-textutils/patches/patch-aa'
X--- ./doc/textutils.texi.org	Mon Jun 15 02:28:23 1998
X+++ ./doc/textutils.texi	Mon Jun 15 02:29:38 1998
X@@ -17,6 +17,7 @@
X @syncodeindex vr cp
X 
X @ifinfo
X+@dircategory Text utilities
X @format
X START-INFO-DIR-ENTRY
X * Text utilities: (textutils).          GNU text utilities.
END-of-textutils/patches/patch-aa
echo c - textutils/files
mkdir -p textutils/files > /dev/null 2>&1
echo x - textutils/files/md5
sed 's/^X//' >textutils/files/md5 << 'END-of-textutils/files/md5'
XMD5 (textutils-1.22.tar.gz) = 190ef88a00368c7f7cb4c3095bfc80c8
END-of-textutils/files/md5
exit

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806150324.EAA14415>