- 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.
This commit is contained in:
Bryan Drewery 2017-03-08 17:06:41 +00:00
parent d1acf70a7d
commit 39d6b0f4d7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=435722

View File

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