diff options
author | Will Andrews <will@FreeBSD.org> | 2000-06-10 05:45:34 +0000 |
---|---|---|
committer | Will Andrews <will@FreeBSD.org> | 2000-06-10 05:45:34 +0000 |
commit | a01d4b6f71708d9f894a7cb174cfd864e51bebf2 (patch) | |
tree | e77028b25c72f2f23334695b14d1f8b36dea90d3 /misc/dog | |
parent | 27c85675a7333690e8787adcec6c34cf11359805 (diff) | |
download | ports-a01d4b6f71708d9f894a7cb174cfd864e51bebf2.tar.gz ports-a01d4b6f71708d9f894a7cb174cfd864e51bebf2.zip |
Add dog, an "enhanced" cat that supports reading from URL's.
PR: 18571
Submitted by: Dan Piponi <dan@tanelorn.demon.co.uk>
Notes
Notes:
svn path=/head/; revision=29494
Diffstat (limited to 'misc/dog')
-rw-r--r-- | misc/dog/Makefile | 23 | ||||
-rw-r--r-- | misc/dog/distinfo | 1 | ||||
-rw-r--r-- | misc/dog/files/patch-aa | 24 | ||||
-rw-r--r-- | misc/dog/pkg-comment | 1 | ||||
-rw-r--r-- | misc/dog/pkg-descr | 9 | ||||
-rw-r--r-- | misc/dog/pkg-plist | 1 |
6 files changed, 59 insertions, 0 deletions
diff --git a/misc/dog/Makefile b/misc/dog/Makefile new file mode 100644 index 000000000000..ef39726a5e79 --- /dev/null +++ b/misc/dog/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: wmtop +# Date created: 15 May 2000 +# Whom: Dan Piponi <wmtop@tanelorn.demon.co.uk> +# +# $FreeBSD$ + +PORTNAME= dog +PORTVERSION= 1.5 +CATEGORIES= misc +MASTER_SITES= http://jl.photodex.com/dog/ + +MAINTAINER= dan@tanelorn.demon.co.uk + +USE_GMAKE= yes +ALL_TARGET= dog + +MAN1= dog.1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/dog ${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/dog.1 ${PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/misc/dog/distinfo b/misc/dog/distinfo new file mode 100644 index 000000000000..7883a6c807f7 --- /dev/null +++ b/misc/dog/distinfo @@ -0,0 +1 @@ +MD5 (dog-1.5.tar.gz) = b10290506457aafcb82593d92a02c4ec diff --git a/misc/dog/files/patch-aa b/misc/dog/files/patch-aa new file mode 100644 index 000000000000..1ad0b0056a2e --- /dev/null +++ b/misc/dog/files/patch-aa @@ -0,0 +1,24 @@ +--- Makefile Tue Jul 13 14:32:24 1999 ++++ Makefile.new Sat Jun 10 01:27:09 2000 +@@ -13,17 +13,18 @@ + + INSTALL = /usr/bin/install -c + OBJS = dog.o getopt.o getopt1.o +-CFLAGS = -O3 -Wall ++CC ?= cc ++CFLAGS ?= -O -pipe + + prefix = /usr/local + bindir = ${prefix}/bin + mandir = ${prefix}/man + + %.o: %.c +- gcc ${CFLAGS} -c $< -o $@ ++ $(CC) ${CFLAGS} -c $< -o $@ + + dog: ${OBJS} +- gcc ${CFLAGS} -o dog ${OBJS} ++ $(CC) ${CFLAGS} -o dog ${OBJS} + + install: dog + $(INSTALL) -m 644 dog.1 ${mandir}/man1 diff --git a/misc/dog/pkg-comment b/misc/dog/pkg-comment new file mode 100644 index 000000000000..fd84ed4d6402 --- /dev/null +++ b/misc/dog/pkg-comment @@ -0,0 +1 @@ +Dog writes the contents of each given file, URL, or stdin diff --git a/misc/dog/pkg-descr b/misc/dog/pkg-descr new file mode 100644 index 000000000000..fef37dc6f8f9 --- /dev/null +++ b/misc/dog/pkg-descr @@ -0,0 +1,9 @@ +Dog, better than cat. + +Dog writes the contents of each given file, URL, or the standard +input if none are given or when a file named '-' is given, to the +standard output. It currently supports the file, http, and +raw URL types. It is designed as a compatible, but enhanced, +replacement of cat(1). + +WWW: http://jl.photodex.com/dog/ diff --git a/misc/dog/pkg-plist b/misc/dog/pkg-plist new file mode 100644 index 000000000000..3193d0f8caf7 --- /dev/null +++ b/misc/dog/pkg-plist @@ -0,0 +1 @@ +bin/dog |