add replaceit 1.0.0

A light replacement to the combination of sed/awk/grep/head/tail

PR:		29837
Submitted by:	Patrick Li <pat@databits.net>
This commit is contained in:
Pete Fritchman 2001-08-24 19:21:32 +00:00
parent abf557dacc
commit 8e17bd7210
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=46813
7 changed files with 49 additions and 0 deletions

View File

@ -158,6 +158,7 @@
SUBDIR += py-trex
SUBDIR += py-xml
SUBDIR += rand
SUBDIR += replaceit
SUBDIR += rman
SUBDIR += ruby-csv
SUBDIR += ruby-erb

View File

@ -0,0 +1,18 @@
# New ports collection makefile for: replaceit
# Date created: Fri Aug 17 20:15:02 EDT 2001
# Whom: Patrick Li <pat@databits.net>
#
# $FreeBSD$
#
PORTNAME= replaceit
PORTVERSION= 1.0.0
CATEGORIES= textproc
MASTER_SITES= http://pldaniels.com/replaceit/
MAINTAINER= pat@databits.net
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/replaceit ${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (replaceit-1.0.0.tar.gz) = d6455d616df1f3d7fdad8de8dc4d4379

View File

@ -0,0 +1,18 @@
--- Makefile.orig Fri Aug 17 20:18:18 2001
+++ Makefile Fri Aug 17 20:20:35 2001
@@ -1,12 +1,11 @@
-PRF=-O2 -Wall
-CC=cc
+CFLAGS+= -Wall
+all: replaceit
replaceit: replaceit.c
- $(CC) $(PRF) replaceit.c -o replaceit
+ $(CC) $(CFLAGS) $< -o $@
clean:
rm replaceit
-all: install
install: replaceit
cp replaceit /usr/local/bin

View File

@ -0,0 +1 @@
A light replacement to the combination of sed/awk/grep/head/tail

View File

@ -0,0 +1,9 @@
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.
WWW: http://pldaniels.com/replaceit/
Author: Paul L Daniels <pldaniels@pldaniels.com>
- Patrick Li <pat@databits.net>

View File

@ -0,0 +1 @@
bin/replaceit