From 0389aba673aa1a477841cad6d064472230c5ea11 Mon Sep 17 00:00:00 2001 From: hubertf Date: Fri, 19 Jan 2001 01:35:05 +0000 Subject: Add dog-1.5: Dog writes the contents of each given file, URL, or stdin 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). Submitted by Tomasz Luchowski in PR 11992 --- sysutils/dog/Makefile | 14 ++++++++++++++ sysutils/dog/files/md5 | 3 +++ sysutils/dog/files/patch-sum | 3 +++ sysutils/dog/patches/patch-aa | 30 ++++++++++++++++++++++++++++++ sysutils/dog/pkg/COMMENT | 1 + sysutils/dog/pkg/DESCR | 5 +++++ sysutils/dog/pkg/PLIST | 3 +++ 7 files changed, 59 insertions(+) create mode 100644 sysutils/dog/Makefile create mode 100644 sysutils/dog/files/md5 create mode 100644 sysutils/dog/files/patch-sum create mode 100644 sysutils/dog/patches/patch-aa create mode 100644 sysutils/dog/pkg/COMMENT create mode 100644 sysutils/dog/pkg/DESCR create mode 100644 sysutils/dog/pkg/PLIST (limited to 'sysutils') diff --git a/sysutils/dog/Makefile b/sysutils/dog/Makefile new file mode 100644 index 00000000000..f5eef05fb0d --- /dev/null +++ b/sysutils/dog/Makefile @@ -0,0 +1,14 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/01/19 01:35:05 hubertf Exp $ +# FreeBSD Id: ports/misc/dog/Makefile,v 1.1 2000/06/10 05:45:34 will Exp + +DISTNAME= dog-1.5 +CATEGORIES= misc +MASTER_SITES= http://jl.photodex.com/dog/ + +MAINTAINER= zuntum@eik.pl +HOMEPAGE= http://jl.photodex.com/dog/ + +USE_GMAKE= yes +ALL_TARGET= dog + +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/dog/files/md5 b/sysutils/dog/files/md5 new file mode 100644 index 00000000000..5c764431b5a --- /dev/null +++ b/sysutils/dog/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 2001/01/19 01:35:05 hubertf Exp $ + +MD5 (dog-1.5.tar.gz) = b10290506457aafcb82593d92a02c4ec diff --git a/sysutils/dog/files/patch-sum b/sysutils/dog/files/patch-sum new file mode 100644 index 00000000000..0c61922a7ec --- /dev/null +++ b/sysutils/dog/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 2001/01/19 01:35:05 hubertf Exp $ + +MD5 (patch-aa) = f00a31044674f3546d187ac017545c4f diff --git a/sysutils/dog/patches/patch-aa b/sysutils/dog/patches/patch-aa new file mode 100644 index 00000000000..b7126b382b4 --- /dev/null +++ b/sysutils/dog/patches/patch-aa @@ -0,0 +1,30 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/01/19 01:35:05 hubertf Exp $ + +--- Makefile.orig Tue Jul 13 20:32:24 1999 ++++ Makefile +@@ -12,18 +12,20 @@ + # dogboy@photodex.com! + + INSTALL = /usr/bin/install -c +-OBJS = dog.o getopt.o getopt1.o +-CFLAGS = -O3 -Wall ++#HF#OBJS = dog.o getopt.o getopt1.o ++OBJS = dog.o # NetBSD (and about any other Unix) has getopt in libc :-) ++CC ?= cc ++CFLAGS ?= -O -pipe + +-prefix = /usr/local ++prefix = ${PREFIX} + 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/sysutils/dog/pkg/COMMENT b/sysutils/dog/pkg/COMMENT new file mode 100644 index 00000000000..fd84ed4d640 --- /dev/null +++ b/sysutils/dog/pkg/COMMENT @@ -0,0 +1 @@ +Dog writes the contents of each given file, URL, or stdin diff --git a/sysutils/dog/pkg/DESCR b/sysutils/dog/pkg/DESCR new file mode 100644 index 00000000000..7e369b513e4 --- /dev/null +++ b/sysutils/dog/pkg/DESCR @@ -0,0 +1,5 @@ +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). diff --git a/sysutils/dog/pkg/PLIST b/sysutils/dog/pkg/PLIST new file mode 100644 index 00000000000..72fa3035cd8 --- /dev/null +++ b/sysutils/dog/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/01/19 01:35:05 hubertf Exp $ +bin/dog +man/man1/dog.1 -- cgit v1.2.3