Index: head/archivers/Makefile =================================================================== --- head/archivers/Makefile (revision 419336) +++ head/archivers/Makefile (revision 419337) @@ -1,245 +1,246 @@ # $FreeBSD$ # COMMENT = Archivers SUBDIR += 9e SUBDIR += advancecomp SUBDIR += amigadepacker SUBDIR += arc SUBDIR += arj SUBDIR += ark SUBDIR += atool SUBDIR += bicom SUBDIR += brotli SUBDIR += bzip SUBDIR += bzip2 SUBDIR += cabextract SUBDIR += dact SUBDIR += deb2targz SUBDIR += deco SUBDIR += deutex SUBDIR += dpkg SUBDIR += dzip SUBDIR += ecm SUBDIR += engrampa SUBDIR += fastjar SUBDIR += file-roller SUBDIR += fpc-bzip2 SUBDIR += fpc-unzip SUBDIR += freetar SUBDIR += freeze SUBDIR += gcab SUBDIR += gcpio SUBDIR += gnome-autoar SUBDIR += grzip SUBDIR += gtar SUBDIR += gzip SUBDIR += gzrecover SUBDIR += ha SUBDIR += hffzip SUBDIR += hlextract SUBDIR += hpack.non-usa.only SUBDIR += hs-tar SUBDIR += hs-zip-archive SUBDIR += hs-zlib SUBDIR += hs-zlib-bindings SUBDIR += hs-zlib-enum SUBDIR += innoextract SUBDIR += javatar SUBDIR += jzlib SUBDIR += kzip SUBDIR += laszip SUBDIR += lbrate SUBDIR += lbzip2 SUBDIR += lcab SUBDIR += lha SUBDIR += lha-ac SUBDIR += lhasa SUBDIR += libarc SUBDIR += libarchive SUBDIR += libcabinet SUBDIR += libcomprex SUBDIR += libdynamite SUBDIR += liblz4 SUBDIR += liblzxcomp SUBDIR += libmspack SUBDIR += liborange SUBDIR += libpar2 SUBDIR += librtfcomp SUBDIR += libunrar SUBDIR += libunrar4 SUBDIR += libzip SUBDIR += linux-f10-ucl SUBDIR += linux-f10-upx SUBDIR += lrzip SUBDIR += lua-lzlib SUBDIR += lzfse SUBDIR += lzip SUBDIR += lzlib SUBDIR += lzma SUBDIR += lzmalib SUBDIR += lzo2 SUBDIR += lzop SUBDIR += macutils SUBDIR += makeself SUBDIR += mar SUBDIR += minizip SUBDIR += mscompress SUBDIR += mtf SUBDIR += nomarch SUBDIR += nulib SUBDIR += nwreckdum SUBDIR += ocaml-bz2 SUBDIR += ocaml-zip SUBDIR += p5-Archive-Any SUBDIR += p5-Archive-Any-Lite SUBDIR += p5-Archive-Any-Plugin-Rar SUBDIR += p5-Archive-Extract SUBDIR += p5-Archive-Extract-Libarchive SUBDIR += p5-Archive-Peek SUBDIR += p5-Archive-Rar SUBDIR += p5-Archive-SimpleExtractor SUBDIR += p5-Archive-Tar SUBDIR += p5-Archive-Zip SUBDIR += p5-Compress-Bzip2 SUBDIR += p5-Compress-LZ4 SUBDIR += p5-Compress-LZF SUBDIR += p5-Compress-LZO SUBDIR += p5-Compress-LZW SUBDIR += p5-Compress-Raw-Bzip2 SUBDIR += p5-Compress-Raw-Lzma SUBDIR += p5-Compress-Raw-Zlib SUBDIR += p5-Compress-Snappy SUBDIR += p5-IO-Compress SUBDIR += p5-IO-Compress-Lzf SUBDIR += p5-IO-Compress-Lzma SUBDIR += p5-IO-Compress-Lzop SUBDIR += p5-IO-Zlib SUBDIR += p5-Mac-Macbinary SUBDIR += p5-POE-Filter-Bzip2 SUBDIR += p5-POE-Filter-LZF SUBDIR += p5-POE-Filter-LZO SUBDIR += p5-POE-Filter-LZW SUBDIR += p5-POE-Filter-Zlib SUBDIR += p5-PerlIO-gzip SUBDIR += p5-PerlIO-via-Bzip2 SUBDIR += p7zip SUBDIR += p7zip-codec-rar SUBDIR += packddir SUBDIR += paq SUBDIR += par SUBDIR += par2cmdline SUBDIR += par2cmdline-tbb SUBDIR += parchive SUBDIR += pbzip2 SUBDIR += pear-File_Archive SUBDIR += pear-Horde_Compress SUBDIR += pear-Horde_Compress_Fast SUBDIR += pear-Horde_Pack SUBDIR += pear-PHP_Archive SUBDIR += peazip SUBDIR += pecl-lzf SUBDIR += pecl-phk SUBDIR += pecl-rar SUBDIR += php-horde_lz4 SUBDIR += php5-snappy SUBDIR += php55-bz2 SUBDIR += php55-phar SUBDIR += php55-zip SUBDIR += php55-zlib SUBDIR += php56-bz2 SUBDIR += php56-phar SUBDIR += php56-zip SUBDIR += php56-zlib SUBDIR += php70-bz2 SUBDIR += php70-phar SUBDIR += php70-zip SUBDIR += php70-zlib SUBDIR += pigz SUBDIR += pixz SUBDIR += plzip SUBDIR += ppmd SUBDIR += ppmd-7z SUBDIR += ppunpack SUBDIR += pxz SUBDIR += py-attic SUBDIR += py-borgbackup SUBDIR += py-bz2file SUBDIR += py-libarchive-c SUBDIR += py-librtfcomp SUBDIR += py-lz4 SUBDIR += py-lzma SUBDIR += py-pyliblzma SUBDIR += py-python-snappy SUBDIR += py-rarfile SUBDIR += py-rcssmin SUBDIR += py-rjsmin SUBDIR += py-warctools SUBDIR += py3-libarchive-c SUBDIR += qpress SUBDIR += quazip SUBDIR += quazip-qt5 SUBDIR += rar SUBDIR += rox-archive SUBDIR += rpm2cpio SUBDIR += rpm4 SUBDIR += ruby-lha SUBDIR += ruby-zip SUBDIR += rubygem-archive-tar-minitar SUBDIR += rubygem-archive-zip SUBDIR += rubygem-bzip2-ruby SUBDIR += rubygem-libarchive SUBDIR += rubygem-minitar SUBDIR += rubygem-ruby-xz SUBDIR += rubygem-rubyzip SUBDIR += rubygem-rubyzip2 SUBDIR += rvm SUBDIR += rzip SUBDIR += sectar SUBDIR += sharutils SUBDIR += snappy SUBDIR += snappy-java SUBDIR += snzip SUBDIR += squeeze SUBDIR += squsq SUBDIR += star SUBDIR += stuffit SUBDIR += szip SUBDIR += tardy SUBDIR += tclmkziplib SUBDIR += thunar-archive-plugin SUBDIR += torrentzip SUBDIR += ucl SUBDIR += unace SUBDIR += unadf SUBDIR += unalz SUBDIR += unarchiver SUBDIR += unarj SUBDIR += undms SUBDIR += unfoo SUBDIR += unlzx SUBDIR += unmakeself SUBDIR += unmass SUBDIR += unrar SUBDIR += unrar-iconv SUBDIR += unshield SUBDIR += untar SUBDIR += unzip SUBDIR += unzoo SUBDIR += upx SUBDIR += xar SUBDIR += xarchive SUBDIR += xarchiver SUBDIR += xdms SUBDIR += xmill SUBDIR += xpk SUBDIR += zip SUBDIR += zip-ada SUBDIR += zipmix SUBDIR += zipper SUBDIR += zoo SUBDIR += zopfli + SUBDIR += zstd SUBDIR += zutils .include Index: head/archivers/zstd/Makefile =================================================================== --- head/archivers/zstd/Makefile (nonexistent) +++ head/archivers/zstd/Makefile (revision 419337) @@ -0,0 +1,24 @@ +# Created by: John Marino +# $FreeBSD$ + +PORTNAME= zstd +PORTVERSION= 0.7.4 +DISTVERSIONPREFIX= v +CATEGORIES= archivers + +MAINTAINER= marino@FreeBSD.org +COMMENT= Zstandard - Fast real-time compression algorithm + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/lib/LICENSE + +USES= gmake +USE_GITHUB= yes +GH_ACCOUNT= Cyan4973 + +ALL_TARGET= default +MAKE_ARGS= MANDIR="${PREFIX}/man/man1" \ + LIBDIR="${PREFIX}/lib" \ + INCLUDEDIR="${PREFIX}/include" + +.include Property changes on: head/archivers/zstd/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/archivers/zstd/distinfo =================================================================== --- head/archivers/zstd/distinfo (nonexistent) +++ head/archivers/zstd/distinfo (revision 419337) @@ -0,0 +1,3 @@ +TIMESTAMP = 1469858423 +SHA256 (Cyan4973-zstd-v0.7.4_GH0.tar.gz) = 35ab3a5084d0194e9ff08e702edb6f507eab1bfb8c09c913639241cec852e2b7 +SIZE (Cyan4973-zstd-v0.7.4_GH0.tar.gz) = 567830 Property changes on: head/archivers/zstd/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/archivers/zstd/files/patch-Makefile =================================================================== --- head/archivers/zstd/files/patch-Makefile (nonexistent) +++ head/archivers/zstd/files/patch-Makefile (revision 419337) @@ -0,0 +1,11 @@ +--- Makefile.orig 2016-07-16 18:17:53 UTC ++++ Makefile +@@ -73,7 +73,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)) + HOST_OS = POSIX + install: + $(MAKE) -C $(ZSTDDIR) $@ Property changes on: head/archivers/zstd/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/archivers/zstd/files/patch-lib_Makefile =================================================================== --- head/archivers/zstd/files/patch-lib_Makefile (nonexistent) +++ head/archivers/zstd/files/patch-lib_Makefile (revision 419337) @@ -0,0 +1,36 @@ +--- lib/Makefile.orig 2016-07-16 18:17:53 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 + $< >$@ + + install: libzstd libzstd.pc +- @install -d -m 755 $(DESTDIR)$(LIBDIR)/pkgconfig/ $(DESTDIR)$(INCLUDEDIR)/ +- @install -m 755 libzstd.$(SHARED_EXT_VER) $(DESTDIR)$(LIBDIR)/libzstd.$(SHARED_EXT_VER) +- @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)/libzstd.a +- @install -m 644 common/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)/ ++ @$(BSD_INSTALL_LIB) libzstd.$(SHARED_EXT_VER) $(DESTDIR)$(LIBDIR)/libzstd.$(SHARED_EXT_VER) ++ @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)/libzstd.a ++ @$(BSD_INSTALL_DATA) common/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 + + uninstall: Property changes on: head/archivers/zstd/files/patch-lib_Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/archivers/zstd/files/patch-programs_Makefile =================================================================== --- head/archivers/zstd/files/patch-programs_Makefile (nonexistent) +++ head/archivers/zstd/files/patch-programs_Makefile (revision 419337) @@ -0,0 +1,22 @@ +--- programs/Makefile.orig 2016-07-16 18:17:53 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 + install: zstd + @echo Installing binaries + @install -d -m 755 $(DESTDIR)$(BINDIR)/ $(DESTDIR)$(MANDIR)/ +- @install -m 755 zstd$(EXT) $(DESTDIR)$(BINDIR)/zstd$(EXT) ++ @$(BSD_INSTALL_PROGRAM) zstd$(EXT) $(DESTDIR)$(BINDIR)/zstd$(EXT) + @ln -sf zstd$(EXT) $(DESTDIR)$(BINDIR)/zstdcat + @ln -sf zstd$(EXT) $(DESTDIR)$(BINDIR)/unzstd + @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 Property changes on: head/archivers/zstd/files/patch-programs_Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/archivers/zstd/pkg-descr =================================================================== --- head/archivers/zstd/pkg-descr (nonexistent) +++ head/archivers/zstd/pkg-descr (revision 419337) @@ -0,0 +1,12 @@ +Zstd, short for Zstandard, is a real-time compression algorithm providing +high compression ratios. It offers a very wide range of compression vs. +speed trade-offs while being backed by a very fast decoder. It offers +a special mode for small data called "dictionary compression" and it can +create dictionaries from any sample set. Zstd is BSD-licensed. + +Using Izbench on the Silesia compression corpus, zstd ranked at the +top with a compression ratio of 2.877, a compression rate of 325 Mb/s, +and a decompression rate of 325. Zlib followed at 2.730, 95 Mb/s (C) +and 360 Mb/s (D). See WWW page for the full benchmark results. + +WWW: http://cyan4973.github.io/zstd/ Property changes on: head/archivers/zstd/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/archivers/zstd/pkg-plist =================================================================== --- head/archivers/zstd/pkg-plist (nonexistent) +++ head/archivers/zstd/pkg-plist (revision 419337) @@ -0,0 +1,14 @@ +bin/unzstd +bin/zstd +bin/zstdcat +include/zbuff.h +include/zdict.h +include/zstd.h +lib/libzstd.a +lib/libzstd.so +lib/libzstd.so.0 +lib/libzstd.so.0.7.4 +libdata/pkgconfig/libzstd.pc +man/man1/unzstd.1.gz +man/man1/zstd.1.gz +man/man1/zstdcat.1.gz Property changes on: head/archivers/zstd/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property