svn commit: r439383 - head/archivers/zstd
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Tue Apr 25 14:22:29 UTC 2017
Author: sunpoet
Date: Tue Apr 25 14:22:28 2017
New Revision: 439383
URL: https://svnweb.freebsd.org/changeset/ports/439383
Log:
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
Modified:
head/archivers/zstd/Makefile
head/archivers/zstd/pkg-plist
Modified: head/archivers/zstd/Makefile
==============================================================================
--- head/archivers/zstd/Makefile Tue Apr 25 13:50:06 2017 (r439382)
+++ head/archivers/zstd/Makefile Tue Apr 25 14:22:28 2017 (r439383)
@@ -4,6 +4,7 @@
PORTNAME= zstd
PORTVERSION= 1.1.4
DISTVERSIONPREFIX= v
+PORTREVISION= 1
CATEGORIES= archivers
MAINTAINER= sunpoet at 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>
Modified: head/archivers/zstd/pkg-plist
==============================================================================
--- head/archivers/zstd/pkg-plist Tue Apr 25 13:50:06 2017 (r439382)
+++ head/archivers/zstd/pkg-plist Tue Apr 25 14:22:28 2017 (r439383)
@@ -1,3 +1,4 @@
+bin/pzstd
bin/unzstd
bin/zstd
bin/zstdcat
More information about the svn-ports-head
mailing list