diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-04-25 22:22:28 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-04-25 22:22:28 +0800 |
commit | 599e4f3143ceac452b82b8cb8e91545571d41c5b (patch) | |
tree | c635ef08d1f328a72978ba533b1dba4060dee2d3 /archivers | |
parent | 32fea1161f7212df1651d12b0d06ed0b7f771989 (diff) | |
download | freebsd-ports-gnome-599e4f3143ceac452b82b8cb8e91545571d41c5b.tar.gz freebsd-ports-gnome-599e4f3143ceac452b82b8cb8e91545571d41c5b.tar.zst freebsd-ports-gnome-599e4f3143ceac452b82b8cb8e91545571d41c5b.zip |
Build and install pzstd
- While I'm here:
- Use MAKE_CMD instead of GMAKE
- Use post-install: instead of post-stage:
- Respect PREFIX
- Bump PORTREVISION for package change
PR: 218869
Submitted by: eugen
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/zstd/Makefile | 7 | ||||
-rw-r--r-- | archivers/zstd/pkg-plist | 1 |
2 files changed, 8 insertions, 0 deletions
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 <bsd.port.mk> 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 |