diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile index 2bed432c17d4..b4e3f4127be2 100644 --- a/archivers/zstd/Makefile +++ b/archivers/zstd/Makefile @@ -4,6 +4,7 @@ PORTNAME= zstd PORTVERSION= 1.1.4 DISTVERSIONPREFIX= v +PORTREVISION= 1 CATEGORIES= archivers MAINTAINER= sunpoet@FreeBSD.org @@ -24,4 +25,10 @@ USE_GITHUB= yes post-patch: @${REINPLACE_CMD} -e 's|INSTALL_|BSD_&|' ${WRKSRC}/lib/Makefile ${WRKSRC}/programs/Makefile +post-build: + ${MAKE_CMD} -C ${WRKSRC}/contrib/pzstd/ + +post-install: + ${INSTALL_PROGRAM} ${WRKSRC}/contrib/pzstd/pzstd ${STAGEDIR}${PREFIX}/bin/ + .include diff --git a/archivers/zstd/pkg-plist b/archivers/zstd/pkg-plist index ab3e4711b436..bd56cbb699f2 100644 --- a/archivers/zstd/pkg-plist +++ b/archivers/zstd/pkg-plist @@ -1,3 +1,4 @@ +bin/pzstd bin/unzstd bin/zstd bin/zstdcat