aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/zstd
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2017-02-07 23:58:45 +0800
committermarino <marino@FreeBSD.org>2017-02-07 23:58:45 +0800
commitee22a268c489965acfd0e38ca3a57a014e155872 (patch)
tree912cd9cd97f64dd97671236ca4536631aaac98dc /archivers/zstd
parentf262234d703cfe4f34d8e2cfff88ff7c743334d2 (diff)
downloadfreebsd-ports-gnome-ee22a268c489965acfd0e38ca3a57a014e155872.tar.gz
freebsd-ports-gnome-ee22a268c489965acfd0e38ca3a57a014e155872.tar.zst
freebsd-ports-gnome-ee22a268c489965acfd0e38ca3a57a014e155872.zip
archivers/zstd: Upgrade version 1.1.2 => 1.1.3
The makefile patches are no longer required.
Diffstat (limited to 'archivers/zstd')
-rw-r--r--archivers/zstd/Makefile7
-rw-r--r--archivers/zstd/distinfo6
-rw-r--r--archivers/zstd/files/patch-lib_Makefile29
-rw-r--r--archivers/zstd/files/patch-programs_Makefile20
4 files changed, 9 insertions, 53 deletions
diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile
index f073d41edf30..d0bceb4d8ae8 100644
--- a/archivers/zstd/Makefile
+++ b/archivers/zstd/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= zstd
-PORTVERSION= 1.1.2
+PORTVERSION= 1.1.3
DISTVERSIONPREFIX= v
CATEGORIES= archivers
@@ -21,5 +21,10 @@ ALL_TARGET= default
MAKE_ARGS= MANDIR="${PREFIX}/man/man1" \
LIBDIR="${PREFIX}/lib" \
INCLUDEDIR="${PREFIX}/include"
+MAKE_ENV= INSTALL_LIB="${INSTALL_LIB}" \
+ INSTALL_MAN="${INSTALL_MAN}" \
+ INSTALL_DATA="${INSTALL_DATA}" \
+ INSTALL_SCRIPT="${INSTALL_SCRIPT}" \
+ INSTALL_PROGRAM="${INSTALL_PROGRAM}"
.include <bsd.port.mk>
diff --git a/archivers/zstd/distinfo b/archivers/zstd/distinfo
index f49fd4a61291..16be50755927 100644
--- a/archivers/zstd/distinfo
+++ b/archivers/zstd/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1482085591
-SHA256 (facebook-zstd-v1.1.2_GH0.tar.gz) = 980b8febb0118e22f6ed70d23b5b3e600995dbf7489c1f6d6122c1411cdda8d8
-SIZE (facebook-zstd-v1.1.2_GH0.tar.gz) = 769017
+TIMESTAMP = 1486460781
+SHA256 (facebook-zstd-v1.1.3_GH0.tar.gz) = 106c532ae840a6ee4aee5258f04f3acab7b3e09b9e9584ebe94e4fbfd899af0a
+SIZE (facebook-zstd-v1.1.3_GH0.tar.gz) = 845902
diff --git a/archivers/zstd/files/patch-lib_Makefile b/archivers/zstd/files/patch-lib_Makefile
deleted file mode 100644
index 59c2e81e306e..000000000000
--- a/archivers/zstd/files/patch-lib_Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
---- lib/Makefile.orig 2016-11-01 18:13:22 UTC
-+++ lib/Makefile
-@@ -106,16 +106,16 @@ libzstd.pc: libzstd.pc.in
- $< >$@
-
- install: libzstd.a libzstd libzstd.pc
-- @install -d -m 755 $(DESTDIR)$(LIBDIR)/pkgconfig/ $(DESTDIR)$(INCLUDEDIR)/
-- @install -m 755 libzstd.$(SHARED_EXT_VER) $(DESTDIR)$(LIBDIR)
-- @cp -a libzstd.$(SHARED_EXT_MAJOR) $(DESTDIR)$(LIBDIR)
-- @cp -a libzstd.$(SHARED_EXT) $(DESTDIR)$(LIBDIR)
-- @cp -a libzstd.pc $(DESTDIR)$(LIBDIR)/pkgconfig/
-- @install -m 644 libzstd.a $(DESTDIR)$(LIBDIR)
-- @install -m 644 zstd.h $(DESTDIR)$(INCLUDEDIR)
-- @install -m 644 common/zstd_errors.h $(DESTDIR)$(INCLUDEDIR)
-- @install -m 644 deprecated/zbuff.h $(DESTDIR)$(INCLUDEDIR) # prototypes generate deprecation warnings
-- @install -m 644 dictBuilder/zdict.h $(DESTDIR)$(INCLUDEDIR)
-+ @install -d -m 755 $(DESTDIR)$(PREFIX)/libdata/pkgconfig/ $(DESTDIR)$(INCLUDEDIR)/
-+ @$(BSD_INSTALL_LIB) libzstd.$(SHARED_EXT_VER) $(DESTDIR)$(LIBDIR)
-+ @ln -sf libzstd.$(SHARED_EXT_VER) $(DESTDIR)$(LIBDIR)/libzstd.$(SHARED_EXT_MAJOR)
-+ @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)
-+ @$(BSD_INSTALL_DATA) zstd.h $(DESTDIR)$(INCLUDEDIR)
-+ @$(BSD_INSTALL_DATA) common/zstd_errors.h $(DESTDIR)$(INCLUDEDIR)
-+ @$(BSD_INSTALL_DATA) deprecated/zbuff.h $(DESTDIR)$(INCLUDEDIR) # prototypes generate deprecation warnings
-+ @$(BSD_INSTALL_DATA) dictBuilder/zdict.h $(DESTDIR)$(INCLUDEDIR)
- @echo zstd static and shared library installed
-
- uninstall:
diff --git a/archivers/zstd/files/patch-programs_Makefile b/archivers/zstd/files/patch-programs_Makefile
deleted file mode 100644
index df38a8533bbe..000000000000
--- a/archivers/zstd/files/patch-programs_Makefile
+++ /dev/null
@@ -1,20 +0,0 @@
---- programs/Makefile.orig 2016-08-31 16:09:10 UTC
-+++ programs/Makefile
-@@ -157,13 +157,13 @@ ifneq (,$(filter $(shell uname),Linux Da
- install: zstd
- @echo Installing binaries
- @install -d -m 755 $(DESTDIR)$(BINDIR)/ $(DESTDIR)$(MANDIR)/
-- @install -m 755 zstd $(DESTDIR)$(BINDIR)/zstd
-+ @$(BSD_INSTALL_PROGRAM) zstd $(DESTDIR)$(BINDIR)/zstd
- @ln -sf zstd $(DESTDIR)$(BINDIR)/zstdcat
- @ln -sf zstd $(DESTDIR)$(BINDIR)/unzstd
-- @install -m 755 zstdless $(DESTDIR)$(BINDIR)/zstdless
-- @install -m 755 zstdgrep $(DESTDIR)$(BINDIR)/zstdgrep
-+ @$(BSD_INSTALL_SCRIPT) zstdless $(DESTDIR)$(BINDIR)/zstdless
-+ @$(BSD_INSTALL_SCRIPT) zstdgrep $(DESTDIR)$(BINDIR)/zstdgrep
- @echo Installing man pages
-- @install -m 644 zstd.1 $(DESTDIR)$(MANDIR)/zstd.1
-+ @$(BSD_INSTALL_MAN) zstd.1 $(DESTDIR)$(MANDIR)/zstd.1
- @ln -sf zstd.1 $(DESTDIR)$(MANDIR)/zstdcat.1
- @ln -sf zstd.1 $(DESTDIR)$(MANDIR)/unzstd.1
- @echo zstd installation completed