From owner-svn-ports-head@freebsd.org Tue Apr 25 14:22:29 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 994D2D4E632; Tue, 25 Apr 2017 14:22:29 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6B22C6E0; Tue, 25 Apr 2017 14:22:29 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3PEMSSD015172; Tue, 25 Apr 2017 14:22:28 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3PEMSUm015169; Tue, 25 Apr 2017 14:22:28 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201704251422.v3PEMSUm015169@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Tue, 25 Apr 2017 14:22:28 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439383 - head/archivers/zstd X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Apr 2017 14:22:29 -0000 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 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