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

7
sysutils/tree/DESCR Normal file
View File

@@ -0,0 +1,7 @@
Tree is a recursive directory listing program that produces a depth
indented listing of files, which is colorized ala dircolors if the
LS_COLORS environment variable is set and output is to tty.
Tree has various options for changing the information printed (size,
permissions, etc.) As well as plain text output, it is capable of
producing HTML output that includes links with an appropriate prefix.

25
sysutils/tree/Makefile Normal file
View File

@@ -0,0 +1,25 @@
# $NetBSD: Makefile,v 1.9 2013/04/10 10:46:24 wiz Exp $
#
DISTNAME= tree-1.6.0
CATEGORIES= sysutils
MASTER_SITES= ftp://mama.indstate.edu/linux/tree/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mama.indstate.edu/users/ice/tree/
COMMENT= Print a text or HTML tree diagram of a directory structure
LICENSE= gnu-gpl-v2
USE_TOOLS+= gmake
MAKE_FLAGS+= prefix=${PREFIX:Q}
MAKE_FLAGS+= CFLAGS=${CFLAGS:Q}
MAKE_FLAGS+= LDFLAGS=${LDFLAGS:Q}
MAKE_FLAGS+= MANSUBDIR=${PKGMANDIR:Q}
MAKE_FLAGS+= INSTALL_PROGRAM_DIR=${INSTALL_PROGRAM_DIR:Q}
MAKE_FLAGS+= INSTALL_PROGRAM=${INSTALL_PROGRAM:Q}
MAKE_FLAGS+= INSTALL_MAN_DIR=${INSTALL_MAN_DIR:Q}
MAKE_FLAGS+= INSTALL_MAN=${INSTALL_MAN:Q}
.include "../../mk/bsd.pkg.mk"

3
sysutils/tree/PLIST Normal file
View File

@@ -0,0 +1,3 @@
@comment $NetBSD: PLIST,v 1.2 2007/10/24 23:25:12 wiz Exp $
bin/tree
man/man1/tree.1

6
sysutils/tree/distinfo Normal file
View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.7 2013/04/10 10:46:24 wiz Exp $
SHA1 (tree-1.6.0.tgz) = 350f851f68859a011668362dd0e7ee81fd1b713a
RMD160 (tree-1.6.0.tgz) = d0e89f49fa902c7a72056d1a4ef826ddfee6be15
Size (tree-1.6.0.tgz) = 42706 bytes
SHA1 (patch-Makefile) = b2b29766bfa46ff7e061bcd7bcd0fc88f954d236

View File

@@ -0,0 +1,41 @@
$NetBSD: patch-Makefile,v 1.1 2013/04/10 10:46:26 wiz Exp $
Fix build on systems lacking strverscmp.
Remove -O4 (doesn't exist in most compilers).
Fix DESTDIR.
--- Makefile.orig 2011-06-24 14:25:27.000000000 +0000
+++ Makefile
@@ -31,13 +31,13 @@ OBJS=tree.o unix.o html.o xml.o hash.o c
# Linux defaults:
#CFLAGS=-ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-CFLAGS=-O4 -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+CFLAGS=-DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
LDFLAGS=-s
# Uncomment for FreeBSD:
#CFLAGS=-O2 -Wall -fomit-frame-pointer
#LDFLAGS=-s
-#OBJS+=strverscmp.o
+OBJS+=strverscmp.o
# Uncomment for Solaris:
#CC=cc
@@ -94,12 +94,12 @@ clean:
rm -f *~
install: tree
- install -d $(BINDIR)
- install -d $(MANDIR)
+ install -d $(DESTDIR)$(BINDIR)
+ install -d $(DESTDIR)$(MANDIR)
if [ -e $(TREE_DEST) ]; then \
- install -s $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \
+ install -s $(TREE_DEST) $(DESTDIR)$(BINDIR)/$(TREE_DEST); \
fi
- install doc/$(MAN) $(MANDIR)/$(MAN)
+ install doc/$(MAN) $(DESTDIR)$(MANDIR)/$(MAN)
distclean:
if [ -f tree.o ]; then rm *.o; fi