- 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:
parent
d1acf70a7d
commit
39d6b0f4d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=435722
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user