Date: Wed, 8 Mar 2017 17:06:41 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435722 - head/ports-mgmt/poudriere-devel Message-ID: <201703081706.v28H6fJV053810@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Wed Mar 8 17:06:41 2017 New Revision: 435722 URL: https://svnweb.freebsd.org/changeset/ports/435722 Log: - Insert the PKGVERSION into POUDRIERE_VERSION. This will aid in debugging rather than having something like '3.2-pre' which does not indicate which actual version of poudriere was used. Modified: head/ports-mgmt/poudriere-devel/Makefile Modified: head/ports-mgmt/poudriere-devel/Makefile ============================================================================== --- head/ports-mgmt/poudriere-devel/Makefile Wed Mar 8 17:03:11 2017 (r435721) +++ head/ports-mgmt/poudriere-devel/Makefile Wed Mar 8 17:06:41 2017 (r435722) @@ -2,7 +2,7 @@ PORTNAME= poudriere DISTVERSION= 3.1.99.20170308 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= ports-mgmt MASTER_SITES= LOCAL/bdrewery/${PORTNAME}/ \ http://mirror.shatow.net/freebsd/${PORTNAME}/ \ @@ -47,6 +47,11 @@ PLIST_SUB+= RM="" PLIST_SUB+= RM="@comment " .endif +pre-install: + ${REINPLACE_CMD} \ + -e "s,^\(POUDRIERE_VERSION\)=.*,\1='${PKGVERSION}'," \ + ${WRKSRC}/src/bin/poudriere + post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions/ ${INSTALL_DATA} ${WRKSRC}/completions/zsh/_poudriere \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703081706.v28H6fJV053810>