Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
diff Makefile @ 559:cfc1a2151de4
Instead of applying multiple invocations of "sed" call it one with multiple commands (many "-e <command>" params)
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 11 Sep 2024 14:23:20 +0200 |
| parents | 3ae0d41945a7 |
| children | 330ebeb57515 |
line wrap: on
line diff
--- a/Makefile Wed Sep 11 14:03:06 2024 +0200 +++ b/Makefile Wed Sep 11 14:23:20 2024 +0200 @@ -81,11 +81,7 @@ ${CP} Makefile ${WRKSRC}/Makefile .for _rp in sbin/check-ports sbin/fjail sbin/ftjail sbin/fzfs sbin/fpkg sbin/bsmtp2dma ${CP} -v ${SRC}/${_rp} ${WRKSRC}/${_rp} - ${SED} -i "" -e "s|@@VERSION@@|${PORTVERSION}|" ${WRKSRC}/${_rp} - ${SED} -i "" -e "s|@@ETCDIR@@|${ETCDIR}|" ${WRKSRC}/${_rp} - ${SED} -i "" -e "s|@@DATADIR@@|${DATADIR}|" ${WRKSRC}/${_rp} - ${SED} -i "" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" ${WRKSRC}/${_rp} - ${SED} -i "" -e "s|@@SIMPLEVERSIONSTR@@|${SIMPLEVERSIONSTR}|" ${WRKSRC}/${_rp} + ${SED} -i "" -e "s|@@VERSION@@|${PORTVERSION}|" -e "s|@@ETCDIR@@|${ETCDIR}|" -e "s|@@DATADIR@@|${DATADIR}|" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" -e "s|@@SIMPLEVERSIONSTR@@|${SIMPLEVERSIONSTR}|" ${WRKSRC}/${_rp} .endfor ${MKDIR} ${WRKSRC}/etc/periodic/daily .for _ef in etc/package-mapping.conf.sample etc/pkgtools.conf.sample etc/bsmtp2dma.conf.sample etc/periodic/daily/800.local-ipv6-refresh etc/periodic/daily/750.local-trim-zfs etc/periodic/daily/720.local-triggered-action
