summaryrefslogtreecommitdiff
path: root/sysutils/dog
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-01-19 01:35:05 +0000
committerhubertf <hubertf@pkgsrc.org>2001-01-19 01:35:05 +0000
commit34e6365eee0f0f975f193b8ce5f0e7e762471d2e (patch)
treedd18b44244436ba07e4d4b277b94b9b515129e73 /sysutils/dog
parentf77a61fc0d657a3e3aa7f89d4c4ca293ffee0505 (diff)
downloadpkgsrc-34e6365eee0f0f975f193b8ce5f0e7e762471d2e.tar.gz
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 <zuntum@eik.pl> in PR 11992
Diffstat (limited to 'sysutils/dog')
-rw-r--r--sysutils/dog/Makefile14
-rw-r--r--sysutils/dog/files/md53
-rw-r--r--sysutils/dog/files/patch-sum3
-rw-r--r--sysutils/dog/patches/patch-aa30
-rw-r--r--sysutils/dog/pkg/COMMENT1
-rw-r--r--sysutils/dog/pkg/DESCR5
-rw-r--r--sysutils/dog/pkg/PLIST3
7 files changed, 59 insertions, 0 deletions
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