aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authormilki <milki@FreeBSD.org>2014-05-09 00:13:06 +0800
committermilki <milki@FreeBSD.org>2014-05-09 00:13:06 +0800
commitc045f8aa24d3e0d6d8ed7d59a5dce057f1f1b530 (patch)
treeabba7c16c5ecc1b591a6f2552bcac0907f813542 /sysutils
parent3affa9cebcafb4ce2d80ffc23e0b195485f15317 (diff)
downloadfreebsd-ports-gnome-c045f8aa24d3e0d6d8ed7d59a5dce057f1f1b530.tar.gz
freebsd-ports-gnome-c045f8aa24d3e0d6d8ed7d59a5dce057f1f1b530.tar.zst
freebsd-ports-gnome-c045f8aa24d3e0d6d8ed7d59a5dce057f1f1b530.zip
- Update to 1.7.0
PR: 189365 Approved by: Guy Brand <gb@unistra.fr> swills (mentor)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/tree/Makefile3
-rw-r--r--sysutils/tree/distinfo4
-rw-r--r--sysutils/tree/files/patch-Makefile25
3 files changed, 15 insertions, 17 deletions
diff --git a/sysutils/tree/Makefile b/sysutils/tree/Makefile
index 1ad4488d6a65..488295f6c1e0 100644
--- a/sysutils/tree/Makefile
+++ b/sysutils/tree/Makefile
@@ -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>
diff --git a/sysutils/tree/distinfo b/sysutils/tree/distinfo
index 2e5c949c636b..009b1e4e1be4 100644
--- a/sysutils/tree/distinfo
+++ b/sysutils/tree/distinfo
@@ -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
diff --git a/sysutils/tree/files/patch-Makefile b/sysutils/tree/files/patch-Makefile
index 22e1eeecb2ec..c65c82234185 100644
--- a/sysutils/tree/files/patch-Makefile
+++ b/sysutils/tree/files/patch-Makefile
@@ -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)