Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions
+5
View File
@@ -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).
+25
View File
@@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.15 2012/10/23 19:50:59 asau Exp $
DISTNAME= dog-1.7
PKGREVISION= 1
CATEGORIES= misc
MASTER_SITES= http://jl.photodex.com/dog/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://jl.photodex.com/dog/
COMMENT= Dog writes the contents of each given file, URL, or stdin
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
USE_TOOLS+= gmake
BUILD_TARGET= dog
.include "../../mk/bsd.prefs.mk"
LDFLAGS.SunOS+= -lsocket -lnsl
.if ${OPSYS} == "SunOS" || ${OPSYS} == "Interix"
MAKE_ENV+= OBJS="getopt.o getopt1.o"
.endif
.include "../../mk/bsd.pkg.mk"
+3
View File
@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:53:04 zuntum Exp $
bin/dog
man/man1/dog.1
+6
View File
@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.5 2009/02/19 16:36:25 joerg Exp $
SHA1 (dog-1.7.tar.gz) = a1af9c76daa0c9768cdf0c31839b3004e6ccc417
RMD160 (dog-1.7.tar.gz) = dd8867a5a8ff7208b92df8bc23a9b6b48cc74816
Size (dog-1.7.tar.gz) = 30433 bytes
SHA1 (patch-aa) = 84b306fb77688786b075a32635d28fd911e0ebd8
+35
View File
@@ -0,0 +1,35 @@
$NetBSD: patch-aa,v 1.3 2009/02/19 16:36:26 joerg Exp $
--- Makefile.orig Wed Jun 21 17:00:57 2000
+++ Makefile Tue Sep 23 10:15:48 2003
@@ -18,22 +18,23 @@
# 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 :-)
+#CFLAGS = -O3 -Wall
-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} ${LDFLAGS}
install: dog
- $(INSTALL) -m 644 dog.1 ${mandir}/man1
- $(INSTALL) -m 755 dog ${bindir}
+ $(BSD_INSTALL_MAN) dog.1 ${DESTDIR}${mandir}/man1/dog.1
+ $(BSD_INSTALL_PROGRAM) dog ${DESTDIR}${bindir}/dog
clean:
rm -f dog *.o *~