# HG changeset patch # User Franz Glasner # Date 1509087869 -7200 # Node ID 089afc4908c0b049712978b12b242c87bfc837ef # Parent 08fc189baf67917e83d8f205664058d97317aa9e Expand @@VERSION@@ with the package version also diff -r 08fc189baf67 -r 089afc4908c0 Makefile --- a/Makefile Fri Oct 27 02:23:22 2017 +0200 +++ b/Makefile Fri Oct 27 09:04:29 2017 +0200 @@ -31,6 +31,7 @@ ${SED} -i "" -e "s|@@HGREVISION@@|\$$HGrevision: ${HGREVISION} \$$|" ${WRKSRC}/bin/${_f} ${SED} -i "" -e "s|@@HGROOT@@|\$$HGroot: ${HGROOT} \$$|" ${WRKSRC}/bin/${_f} ${SED} -i "" -e "s|@@HGSOURCE@@|\$$HGsource: ${HGPATH}/bin/${_f} \$$|" ${WRKSRC}/bin/${_f} + ${SED} -i "" -e "s|@@VERSION@@|${PORTVERSION}|" ${WRKSRC}/bin/${_f} .endfor do-install: diff -r 08fc189baf67 -r 089afc4908c0 bin/check-ports --- a/bin/check-ports Fri Oct 27 02:23:22 2017 +0200 +++ b/bin/check-ports Fri Oct 27 09:04:29 2017 +0200 @@ -3,6 +3,8 @@ # @@HGSOURCE@@ @@HGREVISION@@ # +VERSION=@@VERSION@@ + # # Local repository with # non-public packages and/or ports with changed OPTIONS (i.e. not using the