aboutsummaryrefslogtreecommitdiffstats
path: root/misc/dog
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2000-06-10 13:45:34 +0800
committerwill <will@FreeBSD.org>2000-06-10 13:45:34 +0800
commitb77b76765a00c983bd933af1305d01faa4bc6e70 (patch)
tree3c186d803f36f4c6f5138ad9664ba239ba890d1d /misc/dog
parenteeaf0cb4a1b3fff94d351be3e4cc15f459ce0d1d (diff)
downloadfreebsd-ports-gnome-b77b76765a00c983bd933af1305d01faa4bc6e70.tar.gz
freebsd-ports-gnome-b77b76765a00c983bd933af1305d01faa4bc6e70.tar.zst
freebsd-ports-gnome-b77b76765a00c983bd933af1305d01faa4bc6e70.zip
Add dog, an "enhanced" cat that supports reading from URL's.
PR: 18571 Submitted by: Dan Piponi <dan@tanelorn.demon.co.uk>
Diffstat (limited to 'misc/dog')
-rw-r--r--misc/dog/Makefile23
-rw-r--r--misc/dog/distinfo1
-rw-r--r--misc/dog/files/patch-aa24
-rw-r--r--misc/dog/pkg-comment1
-rw-r--r--misc/dog/pkg-descr9
-rw-r--r--misc/dog/pkg-plist1
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