1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/archivers/go-compress/Makefile
Sunpoet Po-Chuan Hsieh f018551a20 Add go-compress 1.2.1
This package is based on an optimized Deflate function, which is used
by gzip/zip/zlib packages.

It offers slightly better compression at lower compression settings, and
up to 3x faster encoding at highest compression level.

WWW: https://github.com/klauspost/compress

- While I'm here:
  - Use DISTVERSIONPREFIX
  - Add LICENSE_FILE
  - Remove GH_PROJECT

PR:		217209
Submitted by:	Guy Tabrar <guy.tabrar@me.com>
2017-02-20 15:15:48 +00:00

30 lines
589 B
Makefile

# $FreeBSD$
PORTNAME= compress
PORTVERSION= 1.2.1
DISTVERSIONPREFIX= v
CATEGORIES= archivers
PKGNAMEPREFIX= go-
MAINTAINER= guy.tabrar@me.com
COMMENT= Go optimised compression packages
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= go-cpuid>=0:devel/go-cpuid \
go-crc32>=0:devel/go-crc32
RUN_DEPENDS:= ${BUILD_DEPENDS}
USE_GITHUB= yes
GH_ACCOUNT= klauspost
USES= go
GO_PKGNAME= github.com/klauspost/compress
GO_TARGET= ${GO_PKGNAME}/flate \
${GO_PKGNAME}/gzip \
${GO_PKGNAME}/snappy \
${GO_PKGNAME}/zip \
${GO_PKGNAME}/zlib
.include <bsd.port.mk>