1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

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
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-04-25 14:22:28 +00:00
parent 4ee7865694
commit 0ed430cc6b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=439383
2 changed files with 8 additions and 0 deletions

View File

@ -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>

View File

@ -1,3 +1,4 @@
bin/pzstd
bin/unzstd
bin/zstd
bin/zstdcat