Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison Makefile @ 186:39e5b947a28e
Create a periodic script to keep the IPv6 routing working.
Just added from existing sources.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Fri, 19 Aug 2022 01:17:02 +0200 |
| parents | b729fa681eb5 |
| children | 0ad969bd3c19 |
comparison
equal
deleted
inserted
replaced
| 185:487571161032 | 186:39e5b947a28e |
|---|---|
| 43 ${SED} -i "" -e "s|@@VERSION@@|${PORTVERSION}|" ${WRKSRC}/${_rp} | 43 ${SED} -i "" -e "s|@@VERSION@@|${PORTVERSION}|" ${WRKSRC}/${_rp} |
| 44 ${SED} -i "" -e "s|@@HGREVISION@@|${HGREVISION}|" ${WRKSRC}/${_rp} | 44 ${SED} -i "" -e "s|@@HGREVISION@@|${HGREVISION}|" ${WRKSRC}/${_rp} |
| 45 ${SED} -i "" -e "s|@@ETCDIR@@|${ETCDIR}|" ${WRKSRC}/${_rp} | 45 ${SED} -i "" -e "s|@@ETCDIR@@|${ETCDIR}|" ${WRKSRC}/${_rp} |
| 46 ${SED} -i "" -e "s|@@PKGORIGIN@@|${PKGORIGIN}|" ${WRKSRC}/${_rp} | 46 ${SED} -i "" -e "s|@@PKGORIGIN@@|${PKGORIGIN}|" ${WRKSRC}/${_rp} |
| 47 .endfor | 47 .endfor |
| 48 ${MKDIR} ${WRKSRC}/etc | 48 ${MKDIR} ${WRKSRC}/etc/periodic/daily |
| 49 .for _ef in etc/package-mapping.conf.sample etc/pkgtools.conf.sample etc/bsmtp2dma.conf.sample | 49 .for _ef in etc/package-mapping.conf.sample etc/pkgtools.conf.sample etc/bsmtp2dma.conf.sample etc/periodic/daily/800.local-ipv6-refresh |
| 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 ${SED} -i "" -e "s|@@PKGORIGIN@@|${PKGORIGIN}|" ${WRKSRC}/${_ef} |
| 53 .endfor | 53 .endfor |
| 54 | 54 |
| 58 .endfor | 58 .endfor |
| 59 ${MKDIR} ${STAGEDIR}${ETCDIR} | 59 ${MKDIR} ${STAGEDIR}${ETCDIR} |
| 60 .for _ef in package-mapping.conf.sample pkgtools.conf.sample bsmtp2dma.conf.sample | 60 .for _ef in package-mapping.conf.sample pkgtools.conf.sample bsmtp2dma.conf.sample |
| 61 ${INSTALL_DATA} ${WRKSRC}/etc/${_ef} ${STAGEDIR}${ETCDIR}/${_ef} | 61 ${INSTALL_DATA} ${WRKSRC}/etc/${_ef} ${STAGEDIR}${ETCDIR}/${_ef} |
| 62 .endfor | 62 .endfor |
| 63 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily | |
| 64 .for _ps in 800.local-ipv6-refresh | |
| 65 ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/daily/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/daily | |
| 66 .endfor | |
| 67 | |
| 63 | 68 |
| 64 .include <bsd.port.mk> | 69 .include <bsd.port.mk> |
