Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2017 14:22:28 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r439383 - head/archivers/zstd
Message-ID:  <201704251422.v3PEMSUm015169@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704251422.v3PEMSUm015169>