- Update to 1.7.0

PR:		        189365
Approved by:	Guy Brand <gb@unistra.fr>
                swills (mentor)
This commit is contained in:
Jonathan Chu 2014-05-08 16:13:06 +00:00
parent 5fb94aab99
commit 166f7c3de3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=353328
3 changed files with 15 additions and 17 deletions

View file

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tree
PORTVERSION= 1.6.0
PORTVERSION= 1.7.0
CATEGORIES= sysutils
MASTER_SITES= ftp://mama.indstate.edu/linux/tree/ \
CENKES
@ -27,5 +27,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (tree-1.6.0.tgz) = 4dc470a74880338b01da41701d8db90d0fb178877e526d385931a007d68d7591
SIZE (tree-1.6.0.tgz) = 42706
SHA256 (tree-1.7.0.tgz) = 6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12
SIZE (tree-1.7.0.tgz) = 47082

View file

@ -1,6 +1,6 @@
--- ./Makefile.orig 2011-06-24 16:25:27.000000000 +0200
+++ ./Makefile 2012-09-17 13:38:44.926563330 +0200
@@ -16,14 +16,14 @@
--- Makefile.orig 2014-05-04 20:11:04.000000000 -0700
+++ Makefile 2014-05-04 20:13:48.000000000 -0700
@@ -16,28 +16,28 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
@ -10,22 +10,21 @@
-CC=gcc
+CC?=gcc
VERSION=1.6.0
VERSION=1.7.0
TREE_DEST=tree
BINDIR=${prefix}/bin
-MAN=tree.1
+MAN=doc/tree.1
MANDIR=${prefix}/man/man1
OBJS=tree.o unix.o html.o xml.o hash.o color.o
OBJS=tree.o unix.o html.o xml.o json.o hash.o color.o
@@ -31,13 +31,13 @@
# Uncomment options below for your particular OS:
# 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
-LDFLAGS=-s
+#CFLAGS=-O4 -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+#LDFLAGS=-s
-CFLAGS=-ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+#CFLAGS=-ggdb -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
#CFLAGS=-O4 -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
#LDFLAGS=-s
# Uncomment for FreeBSD:
-#CFLAGS=-O2 -Wall -fomit-frame-pointer
@ -37,7 +36,7 @@
# Uncomment for Solaris:
#CC=cc
@@ -93,13 +93,11 @@
@@ -94,13 +94,11 @@
if [ -f tree.o ]; then rm *.o; fi
rm -f *~
@ -45,7 +44,7 @@
- install -d $(BINDIR)
- install -d $(MANDIR)
- if [ -e $(TREE_DEST) ]; then \
- install -s $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \
- install $(TREE_DEST) $(BINDIR)/$(TREE_DEST); \
- fi
- install doc/$(MAN) $(MANDIR)/$(MAN)
+install: $(TREE_DEST)