comparison Makefile @ 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 56dd768b5fdd
children 76ddab9ab965
comparison
equal deleted inserted replaced
86:a3b9d4fe560e 87:28d4bea7cd1c
47 .endfor 47 .endfor
48 ${MKDIR} ${WRKSRC}/etc 48 ${MKDIR} ${WRKSRC}/etc
49 .for _ef in etc/package-mapping.conf.sample 49 .for _ef in etc/package-mapping.conf.sample
50 ${CP} -v ${SRC}/${_ef} ${WRKSRC}/${_ef} 50 ${CP} -v ${SRC}/${_ef} ${WRKSRC}/${_ef}
51 ${SED} -i "" -e "s|\\\$$HGid\\\$$|\$$HGid: ${HGPATH}/${_ef} ${HGREVISION} ${HGDATE} ${HGAUTHOR} ${HGPHASE} \$$|" ${WRKSRC}/${_ef} 51 ${SED} -i "" -e "s|\\\$$HGid\\\$$|\$$HGid: ${HGPATH}/${_ef} ${HGREVISION} ${HGDATE} ${HGAUTHOR} ${HGPHASE} \$$|" ${WRKSRC}/${_ef}
52 ${SED} -i "" -e "s|@@PKGORIGIN@@|${PKGORIGIN}|" ${WRKSRC}/${_ef}
52 .endfor 53 .endfor
53 54
54 do-install: 55 do-install:
55 .for _rp in bin/check-ports bin/fjail 56 .for _rp in bin/check-ports bin/fjail
56 ${INSTALL_SCRIPT} ${WRKSRC}/${_rp} ${STAGEDIR}${PREFIX}/${_rp} 57 ${INSTALL_SCRIPT} ${WRKSRC}/${_rp} ${STAGEDIR}${PREFIX}/${_rp}