1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-09 02:22:18 +00:00

Add LZ4 option

- Bump PORTREVISION for dependency and package change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-12-23 16:49:33 +00:00
parent 0ba55b5106
commit f623a7d6a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=457072

View File

@ -4,6 +4,7 @@
PORTNAME= zstd
PORTVERSION= 1.3.3
DISTVERSIONPREFIX= v
PORTREVISION= 1
CATEGORIES= archivers
MAINTAINER= sunpoet@FreeBSD.org
@ -14,6 +15,9 @@ LICENSE_COMB= dual
LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/LICENSE
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
OPTIONS_DEFINE= LZ4
OPTIONS_DEFAULT=LZ4
ALL_TARGET= default
MAKE_ARGS= LIBDIR="${PREFIX}/lib"
TEST_TARGET= test
@ -25,6 +29,9 @@ 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