changeset 87:28d4bea7cd1c

Put the new @@PKGORIGIN@@ into the example configuration file also
author Franz Glasner <fzglas.hg@dom66.de>
date Thu, 05 Sep 2019 02:34:27 +0200
parents a3b9d4fe560e
children 76ddab9ab965
files Makefile etc/package-mapping.conf.sample
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Thu Sep 05 02:29:44 2019 +0200
+++ b/Makefile	Thu Sep 05 02:34:27 2019 +0200
@@ -49,6 +49,7 @@
 .for _ef in etc/package-mapping.conf.sample
 	${CP} -v ${SRC}/${_ef} ${WRKSRC}/${_ef}
 	${SED} -i "" -e "s|\\\$$HGid\\\$$|\$$HGid: ${HGPATH}/${_ef} ${HGREVISION} ${HGDATE} ${HGAUTHOR} ${HGPHASE} \$$|" ${WRKSRC}/${_ef}
+	${SED} -i "" -e "s|@@PKGORIGIN@@|${PKGORIGIN}|" ${WRKSRC}/${_ef}
 .endfor
 
 do-install:
--- a/etc/package-mapping.conf.sample	Thu Sep 05 02:29:44 2019 +0200
+++ b/etc/package-mapping.conf.sample	Thu Sep 05 02:34:27 2019 +0200
@@ -1,7 +1,7 @@
 #
 # Map from installed package name to the (unchanged) parent package name
 #
-# @(#) $HGid$
+# @(#)@@PKGORIGIN@@ $HGid$
 #
 fmg-nextcloud-php71 nextcloud-php71
 fmg-nextcloud-twofactor_totp-php71 nextcloud-twofactor_totp-php71