# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # tree # tree/files # tree/files/patch-Makefile # tree/pkg-descr # tree/distinfo # tree/Makefile # echo c - tree mkdir -p tree > /dev/null 2>&1 echo c - tree/files mkdir -p tree/files > /dev/null 2>&1 echo x - tree/files/patch-Makefile sed 's/^X//' >tree/files/patch-Makefile << '42cf06e08387a385b12aa3d9d85b81d9' X--- ./Makefile.orig 2011-06-24 16:25:27.000000000 +0200 X+++ ./Makefile 2012-09-17 13:38:44.926563330 +0200 X@@ -16,14 +16,14 @@ X # along with this program; if not, write to the Free Software X # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA X X-prefix = /usr X+prefix = ${PREFIX} X X-CC=gcc X+CC?=gcc X X VERSION=1.6.0 X TREE_DEST=tree X BINDIR=${prefix}/bin X-MAN=tree.1 X+MAN=man/tree.1 X MANDIR=${prefix}/man/man1 X OBJS=tree.o unix.o html.o xml.o hash.o color.o X X@@ -31,13 +31,13 @@ X X # Linux defaults: X #CFLAGS=-ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 X-CFLAGS=-O4 -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 X-LDFLAGS=-s X+#CFLAGS=-O4 -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 X+#LDFLAGS=-s X X # Uncomment for FreeBSD: X-#CFLAGS=-O2 -Wall -fomit-frame-pointer X-#LDFLAGS=-s X-#OBJS+=strverscmp.o X+CFLAGS?=-O2 -Wall -fomit-frame-pointer X+LDFLAGS?=-s X+OBJS+=strverscmp.o X X # Uncomment for Solaris: X #CC=cc X@@ -93,13 +93,11 @@ X if [ -f tree.o ]; then rm *.o; fi X rm -f *~ X X-install: tree X- install -d $(BINDIR) X- install -d $(MANDIR) X- if [ -e $(TREE_DEST) ]; then \ X- install -s $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \ X- fi X- install doc/$(MAN) $(MANDIR)/$(MAN) X+install: $(TREE_DEST) X+ @$(MKDIR) $(BINDIR) X+ @$(MKDIR) $(MANDIR) X+ ${BSD_INSTALL_PROGRAM} $(TREE_DEST) $(BINDIR) X+ ${BSD_INSTALL_MAN} $(MAN) $(MANDIR) X X distclean: X if [ -f tree.o ]; then rm *.o; fi 42cf06e08387a385b12aa3d9d85b81d9 echo x - tree/pkg-descr sed 's/^X//' >tree/pkg-descr << 'd0665eb8d07710f799b3574e6ee3c73d' XTree is a simple utility that displays a tree-view of directories Xand files. It has options to use ANSI color escape-sequences or ASCII Xgraphic characters, and can also output in HTML format. X XAuthor: Steve Baker XWWW: http://mama.indstate.edu/users/ice/tree/ d0665eb8d07710f799b3574e6ee3c73d echo x - tree/distinfo sed 's/^X//' >tree/distinfo << 'dfdde2a95d5f0247906b9e66e4f18c7e' XSHA256 (tree-1.6.0.tgz) = 4dc470a74880338b01da41701d8db90d0fb178877e526d385931a007d68d7591 XSIZE (tree-1.6.0.tgz) = 42706 dfdde2a95d5f0247906b9e66e4f18c7e echo x - tree/Makefile sed 's/^X//' >tree/Makefile << '82f4ae9d55077b610232599b07b9f5cd' X# Created by: Alan Eldridge X# $FreeBSD$ X# X XPORTNAME= tree XPORTVERSION= 1.6.0 XCATEGORIES= sysutils XMASTER_SITES= ftp://mama.indstate.edu/linux/tree/ \ X CENKES XEXTRACT_SUFX= .tgz X XMAINTAINER= gb@unistra.fr XCOMMENT= Display a tree-view of directories with optional color or HTML output X XMAKE_ENV+= MKDIR="${MKDIR}" XUSE_GMAKE= yes X XMAN1= tree.1 XPLIST_FILES= bin/tree X XPORTDOCS= CHANGES LICENSE README X Xpost-install: X.if !defined(NOPORTDOCS) X @${MKDIR} ${DOCSDIR} X ${INSTALL_MAN} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} X.endif X X.include 82f4ae9d55077b610232599b07b9f5cd exit