1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00
freebsd-ports/archivers/zstd/Makefile
2018-10-06 09:34:07 +00:00

38 lines
747 B
Makefile

# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$
PORTNAME= zstd
PORTVERSION= 1.3.6
DISTVERSIONPREFIX= v
CATEGORIES= archivers
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Zstandard - Fast real-time compression algorithm
LICENSE= BSD3CLAUSE GPLv2
LICENSE_COMB= dual
LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
OPTIONS_DEFINE= LZ4
OPTIONS_DEFAULT=LZ4
USES= gmake
ALL_TARGET= default
TEST_TARGET= test
USE_LDCONFIG= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
GH_ACCOUNT= facebook
USE_GITHUB= yes
LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4
LZ4_USES= localbase:ldflags
post-patch:
@${REINPLACE_CMD} -e 's|INSTALL_|BSD_&|' ${WRKSRC}/lib/Makefile ${WRKSRC}/programs/Makefile
.include <bsd.port.mk>