sysutils/tree: update to 1.8.0

PR:		236671
Submitted by:	Guy Brand <gb@unistra.fr> (maintainer)
This commit is contained in:
Steve Wills 2019-03-21 16:44:35 +00:00
parent d32bbafb5e
commit 7f62bc2460
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496473
3 changed files with 16 additions and 15 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= tree
PORTVERSION= 1.7.0
PORTVERSION= 1.8.0
CATEGORIES= sysutils
MASTER_SITES= ftp://mama.indstate.edu/linux/tree/

View File

@ -1,2 +1,3 @@
SHA256 (tree-1.7.0.tgz) = 6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12
SIZE (tree-1.7.0.tgz) = 47082
TIMESTAMP = 1553186634
SHA256 (tree-1.8.0.tgz) = 715d5d4b434321ce74706d0dd067505bb60c5ea83b5f0b3655dae40aa6f9b7c2
SIZE (tree-1.8.0.tgz) = 50286

View File

@ -1,5 +1,5 @@
--- Makefile.orig 2014-05-04 20:11:04.000000000 -0700
+++ Makefile 2014-05-04 20:13:48.000000000 -0700
--- Makefile.orig 2018-01-18 21:02:20.000000000 +0100
+++ Makefile 2019-03-20 11:22:05.133686000 +0100
@@ -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
@ -8,21 +8,21 @@
+prefix = ${PREFIX}
-CC=gcc
+CC?=gcc
+CC?=cc
VERSION=1.7.0
VERSION=1.8.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 json.o hash.o color.o
OBJS=tree.o unix.o html.o xml.o json.o hash.o color.o file.o
# Uncomment options below for your particular OS:
# Linux defaults:
-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=-ggdb -pedantic -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
+#CFLAGS=-ggdb -pedantic -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
#CFLAGS=-O4 -Wall -DLINUX -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
#LDFLAGS=-s
@ -30,13 +30,13 @@
-#CFLAGS=-O2 -Wall -fomit-frame-pointer
-#LDFLAGS=-s
-#OBJS+=strverscmp.o
+CFLAGS?=-O2 -Wall -fomit-frame-pointer
+LDFLAGS?=-s
+CFLAGS=-O2 -Wall -fomit-frame-pointer
+LDFLAGS=-s
+OBJS+=strverscmp.o
# Uncomment for Solaris:
#CC=cc
@@ -94,13 +94,11 @@
# Uncomment for OpenBSD:
#TREE_DEST=colortree
@@ -108,13 +108,11 @@
if [ -f tree.o ]; then rm *.o; fi
rm -f *~