Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Aug 2016 14:07:20 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r419441 - in head/archivers/zstd: . files
Message-ID:  <201608011407.u71E7KAR030360@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon Aug  1 14:07:20 2016
New Revision: 419441
URL: https://svnweb.freebsd.org/changeset/ports/419441

Log:
  archivers/zstd: Upgrade version 0.7.4 => 0.8.0

Deleted:
  head/archivers/zstd/files/patch-Makefile
Modified:
  head/archivers/zstd/Makefile
  head/archivers/zstd/distinfo
  head/archivers/zstd/files/patch-lib_Makefile
  head/archivers/zstd/files/patch-programs_Makefile
  head/archivers/zstd/pkg-plist

Modified: head/archivers/zstd/Makefile
==============================================================================
--- head/archivers/zstd/Makefile	Mon Aug  1 13:53:36 2016	(r419440)
+++ head/archivers/zstd/Makefile	Mon Aug  1 14:07:20 2016	(r419441)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	zstd
-PORTVERSION=	0.7.4
+PORTVERSION=	0.8.0
 DISTVERSIONPREFIX=	v
 CATEGORIES=	archivers
 
@@ -16,6 +16,7 @@ USES=		gmake
 USE_GITHUB=	yes
 GH_ACCOUNT=	Cyan4973
 
+PLIST_SUB=	LIBVER=${PORTVERSION}
 ALL_TARGET=	default
 MAKE_ARGS=	MANDIR="${PREFIX}/man/man1" \
 		LIBDIR="${PREFIX}/lib" \

Modified: head/archivers/zstd/distinfo
==============================================================================
--- head/archivers/zstd/distinfo	Mon Aug  1 13:53:36 2016	(r419440)
+++ head/archivers/zstd/distinfo	Mon Aug  1 14:07:20 2016	(r419441)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1469858423
-SHA256 (Cyan4973-zstd-v0.7.4_GH0.tar.gz) = 35ab3a5084d0194e9ff08e702edb6f507eab1bfb8c09c913639241cec852e2b7
-SIZE (Cyan4973-zstd-v0.7.4_GH0.tar.gz) = 567830
+TIMESTAMP = 1470041319
+SHA256 (Cyan4973-zstd-v0.8.0_GH0.tar.gz) = 297ef978fd956a503de6a303f7d58714de3300f602c7cf5e4b382a82f1483051
+SIZE (Cyan4973-zstd-v0.8.0_GH0.tar.gz) = 596389

Modified: head/archivers/zstd/files/patch-lib_Makefile
==============================================================================
--- head/archivers/zstd/files/patch-lib_Makefile	Mon Aug  1 13:53:36 2016	(r419440)
+++ head/archivers/zstd/files/patch-lib_Makefile	Mon Aug  1 14:07:20 2016	(r419441)
@@ -1,15 +1,6 @@
---- lib/Makefile.orig	2016-07-16 18:17:53 UTC
+--- lib/Makefile.orig	2016-08-01 07:51:18 UTC
 +++ lib/Makefile
-@@ -99,7 +99,7 @@ clean:
- 
- #------------------------------------------------------------------------
- #make install is validated only for Linux, OSX, kFreeBSD and Hurd targets
--ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU))
-+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly))
- 
- libzstd.pc:
- libzstd.pc: libzstd.pc.in
-@@ -111,15 +111,15 @@ libzstd.pc: libzstd.pc.in
+@@ -113,15 +113,15 @@ libzstd.pc: libzstd.pc.in
               $< >$@
  
  install: libzstd libzstd.pc
@@ -19,7 +10,7 @@
 -	@cp -a libzstd.$(SHARED_EXT) $(DESTDIR)$(LIBDIR)
 -	@cp -a libzstd.pc $(DESTDIR)$(LIBDIR)/pkgconfig/
 -	@install -m 644 libzstd.a $(DESTDIR)$(LIBDIR)/libzstd.a
--	@install -m 644 common/zstd.h $(DESTDIR)$(INCLUDEDIR)/zstd.h
+-	@install -m 644 zstd.h $(DESTDIR)$(INCLUDEDIR)/zstd.h
 -	@install -m 644 common/zbuff.h $(DESTDIR)$(INCLUDEDIR)/zbuff.h
 -	@install -m 644 dictBuilder/zdict.h $(DESTDIR)$(INCLUDEDIR)/zdict.h
 +	@install -d -m 755 $(DESTDIR)$(PREFIX)/libdata/pkgconfig/ $(DESTDIR)$(INCLUDEDIR)/
@@ -28,7 +19,7 @@
 +	@ln -sf libzstd.$(SHARED_EXT_VER) $(DESTDIR)$(LIBDIR)/libzstd.$(SHARED_EXT)
 +	@$(BSD_INSTALL_DATA) libzstd.pc $(DESTDIR)$(PREFIX)/libdata/pkgconfig/
 +	@$(BSD_INSTALL_LIB) libzstd.a $(DESTDIR)$(LIBDIR)/libzstd.a
-+	@$(BSD_INSTALL_DATA) common/zstd.h $(DESTDIR)$(INCLUDEDIR)/zstd.h
++	@$(BSD_INSTALL_DATA) zstd.h $(DESTDIR)$(INCLUDEDIR)/zstd.h
 +	@$(BSD_INSTALL_DATA) common/zbuff.h $(DESTDIR)$(INCLUDEDIR)/zbuff.h
 +	@$(BSD_INSTALL_DATA) dictBuilder/zdict.h $(DESTDIR)$(INCLUDEDIR)/zdict.h
  	@echo zstd static and shared library installed

Modified: head/archivers/zstd/files/patch-programs_Makefile
==============================================================================
--- head/archivers/zstd/files/patch-programs_Makefile	Mon Aug  1 13:53:36 2016	(r419440)
+++ head/archivers/zstd/files/patch-programs_Makefile	Mon Aug  1 14:07:20 2016	(r419441)
@@ -1,12 +1,6 @@
---- programs/Makefile.orig	2016-07-16 18:17:53 UTC
+--- programs/Makefile.orig	2016-08-01 07:51:18 UTC
 +++ programs/Makefile
-@@ -157,16 +157,16 @@ clean:
- #---------------------------------------------------------------------------------
- #make install is validated only for Linux, OSX, kFreeBSD, Hurd and OpenBSD targets
- #---------------------------------------------------------------------------------
--ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD))
-+ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly))
- HOST_OS = POSIX
+@@ -181,11 +181,11 @@ HOST_OS = POSIX
  install: zstd
  	@echo Installing binaries
  	@install -d -m 755 $(DESTDIR)$(BINDIR)/ $(DESTDIR)$(MANDIR)/

Modified: head/archivers/zstd/pkg-plist
==============================================================================
--- head/archivers/zstd/pkg-plist	Mon Aug  1 13:53:36 2016	(r419440)
+++ head/archivers/zstd/pkg-plist	Mon Aug  1 14:07:20 2016	(r419441)
@@ -7,7 +7,7 @@ include/zstd.h
 lib/libzstd.a
 lib/libzstd.so
 lib/libzstd.so.0
-lib/libzstd.so.0.7.4
+lib/libzstd.so.%%LIBVER%%
 libdata/pkgconfig/libzstd.pc
 man/man1/unzstd.1.gz
 man/man1/zstd.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608011407.u71E7KAR030360>