aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/zstd/Makefile
blob: e05bc1520b0e537b82d753a39d2bcf98c1621703 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: John Marino <marino@FreeBSD.org>
# $FreeBSD$

PORTNAME=   zstd
PORTVERSION=    1.3.0
DISTVERSIONPREFIX=  v
PORTREVISION=   1
CATEGORIES= archivers

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    Zstandard - Fast real-time compression algorithm

LICENSE=    BSD2CLAUSE
LICENSE_FILE=   ${WRKSRC}/LICENSE

ALL_TARGET= default
MAKE_ARGS=  INCLUDEDIR="${PREFIX}/include" LIBDIR="${PREFIX}/lib" MANDIR="${PREFIX}/man/man1"
TEST_TARGET=    test
USE_LDCONFIG=   yes
USES=       gmake

PLIST_SUB=  PORTVERSION=${PORTVERSION}

GH_ACCOUNT= facebook
USE_GITHUB= yes

post-patch:
    @${REINPLACE_CMD} -e 's|INSTALL_|BSD_&|' ${WRKSRC}/lib/Makefile ${WRKSRC}/programs/Makefile

.include <bsd.port.mk>