Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2001 20:27:15 -0400 (EDT)
From:      Patrick Li <pat@databits.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/29837: New port sysutils/replaceit
Message-ID:  <200108180027.f7I0RFB45226@cc92687-a.wlgrv1.pa.home.com>

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

>Number:         29837
>Category:       ports
>Synopsis:       New port sysutils/replaceit
>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:   Fri Aug 17 17:30:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Patrick Li
>Release:        FreeBSD 4.4-PRERELEASE i386
>Organization:
N/A
>Environment:
System: FreeBSD bottlenek 4.4-PRERELEASE FreeBSD 4.4-PRERELEASE #0: Mon Aug 13 19:08:19 EDT 2001 pat@bottlenek:/usr/src/sys/compile/BOTTLENEK i386
>Description:
ReplaceIt was written as a quick, light and effective replacement to
the combination of sed/awk/grep/head/tail and other such shell
utilities, as well as being quicker in startup (at least) than an
equivilant Perl solution.
>How-To-Repeat:
N/A
>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:
#
#	replaceit/
#	replaceit/Makefile
#	replaceit/distinfo
#	replaceit/pkg-comment
#	replaceit/pkg-descr
#	replaceit/files
#	replaceit/files/patch-Makefile
#	replaceit/pkg-plist
#
echo c - replaceit/
mkdir -p replaceit/ > /dev/null 2>&1
echo x - replaceit/Makefile
sed 's/^X//' >replaceit/Makefile << 'END-of-replaceit/Makefile'
X# New ports collection makefile for:	replaceit
X# Date created:				Fri Aug 17 20:15:02 EDT 2001
X# Whom:					Patrick Li <pat@databits.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	replaceit
XPORTVERSION=	1.0.0
XCATEGORIES=	sysutils
XMASTER_SITES=	http://pldaniels.com/replaceit/
X
XMAINTAINER=	pat@databits.net
X
Xdo-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/replaceit ${PREFIX}/bin
X
X.include <bsd.port.mk>
END-of-replaceit/Makefile
echo x - replaceit/distinfo
sed 's/^X//' >replaceit/distinfo << 'END-of-replaceit/distinfo'
XMD5 (replaceit-1.0.0.tar.gz) = d6455d616df1f3d7fdad8de8dc4d4379
END-of-replaceit/distinfo
echo x - replaceit/pkg-comment
sed 's/^X//' >replaceit/pkg-comment << 'END-of-replaceit/pkg-comment'
XA light replacement to the combination of sed/awk/grep/head/tail
END-of-replaceit/pkg-comment
echo x - replaceit/pkg-descr
sed 's/^X//' >replaceit/pkg-descr << 'END-of-replaceit/pkg-descr'
XReplaceIt was written as a quick, light and effective replacement to
Xthe combination of sed/awk/grep/head/tail and other such shell
Xutilities, as well as being quicker in startup (at least) than an
Xequivilant Perl solution.
X
XWWW: http://pldaniels.com/replaceit/
XAuthor: Paul L Daniels <pldaniels@pldaniels.com>
X
X- Patrick Li <pat@databits.net>
END-of-replaceit/pkg-descr
echo c - replaceit/files
mkdir -p replaceit/files > /dev/null 2>&1
echo x - replaceit/files/patch-Makefile
sed 's/^X//' >replaceit/files/patch-Makefile << 'END-of-replaceit/files/patch-Makefile'
X--- Makefile.orig	Fri Aug 17 20:18:18 2001
X+++ Makefile	Fri Aug 17 20:20:35 2001
X@@ -1,12 +1,11 @@
X-PRF=-O2 -Wall
X-CC=cc
X+CFLAGS+=	-Wall
X+all: replaceit
X 
X replaceit: replaceit.c
X-	$(CC) $(PRF) replaceit.c -o replaceit
X+	$(CC) $(CFLAGS) $< -o $@
X 
X clean:
X 	rm replaceit
X 
X-all: install
X install: replaceit
X 	cp replaceit /usr/local/bin
END-of-replaceit/files/patch-Makefile
echo x - replaceit/pkg-plist
sed 's/^X//' >replaceit/pkg-plist << 'END-of-replaceit/pkg-plist'
Xbin/replaceit
END-of-replaceit/pkg-plist
exit

>Release-Note:
>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?200108180027.f7I0RFB45226>