summaryrefslogtreecommitdiffstats
path: root/sysutils/pfSense-pkg-Shellcmd/Makefile
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2016-01-18 14:20:51 -0200
committerRenato Botelho <garga@FreeBSD.org>2016-01-18 14:30:49 -0200
commitdd82b2cae768a8467eb84cda67f98fa6f95fd575 (patch)
treed2561a7e8d6d87f6b2bbda79b70a1a66de13e37c /sysutils/pfSense-pkg-Shellcmd/Makefile
parent872cf1187ba0b7a0a04987178bfdc55a8c20b881 (diff)
downloadFreeBSD-ports-dd82b2cae768a8467eb84cda67f98fa6f95fd575.zip
FreeBSD-ports-dd82b2cae768a8467eb84cda67f98fa6f95fd575.tar.gz
Replace version by $PKGVERSION on info.xml during port build
Diffstat (limited to 'sysutils/pfSense-pkg-Shellcmd/Makefile')
-rw-r--r--sysutils/pfSense-pkg-Shellcmd/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysutils/pfSense-pkg-Shellcmd/Makefile b/sysutils/pfSense-pkg-Shellcmd/Makefile
index e44d4a6..93c8e06 100644
--- a/sysutils/pfSense-pkg-Shellcmd/Makefile
+++ b/sysutils/pfSense-pkg-Shellcmd/Makefile
@@ -31,5 +31,7 @@ do-install:
${STAGEDIR}/etc/inc/priv
${INSTALL_DATA} ${FILESDIR}${DATADIR}/info.xml \
${STAGEDIR}${DATADIR}
+ @${REINPLACE_CMD} -i '' -e "s|%%PKGVERSION%%|${PKGVERSION}|" \
+ ${STAGEDIR}${DATADIR}/info.xml
.include <bsd.port.mk>
OpenPOWER on IntegriCloud