Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison Makefile @ 439:b5e45ecd4032
Rename the recently added example scripts and integrate into the package build.
They will be installed into the EXAMPLESDIR /usr/local/share/examples/local-bsdtools.
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Wed, 01 May 2024 23:07:59 +0200 |
| parents | 4da3377f4139 |
| children | 9c8ba2097a35 |
comparison
equal
deleted
inserted
replaced
| 438:9c3b1966ba91 | 439:b5e45ecd4032 |
|---|---|
| 55 ${MKDIR} ${WRKSRC}/etc/periodic/daily | 55 ${MKDIR} ${WRKSRC}/etc/periodic/daily |
| 56 .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 | 56 .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 |
| 57 ${CP} -v ${SRC}/${_ef} ${WRKSRC}/${_ef} | 57 ${CP} -v ${SRC}/${_ef} ${WRKSRC}/${_ef} |
| 58 ${SED} -i "" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" ${WRKSRC}/${_ef} | 58 ${SED} -i "" -e "s|@@SIMPLEVERSIONTAG@@|${SIMPLEVERSIONTAG}|" ${WRKSRC}/${_ef} |
| 59 .endfor | 59 .endfor |
| 60 ${MKDIR} ${WRKSRC}/share/examples/${PORTNAME} | |
| 61 .for _sf in share/examples/local-bsdtools/freebsd-update-ftjail-template.sh share/examples/local-bsdtools/freebsd-update-ftjail.sh | |
| 62 ${CP} -v ${SRC}/${_sf} ${WRKSRC}/${_sf} | |
| 63 .endfor | |
| 60 | 64 |
| 61 post-extract-DOCS-on: | 65 post-extract-DOCS-on: |
| 62 ${MKDIR} ${WRKSRC}/docs | 66 ${MKDIR} ${WRKSRC}/docs |
| 63 (${TAR} -C ${.CURDIR}/docs -c --exclude ./_build -f - . | ${TAR} -C ${WRKSRC}/docs -x -f - ) | 67 (${TAR} -C ${.CURDIR}/docs -c --exclude ./_build -f - . | ${TAR} -C ${WRKSRC}/docs -x -f - ) |
| 64 .for _mp in man/man8/local-bsdtools.rst | 68 .for _mp in man/man8/local-bsdtools.rst |
| 82 .endfor | 86 .endfor |
| 83 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily | 87 ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/daily |
| 84 .for _ps in 800.local-ipv6-refresh 750.local-trim-zfs 720.local-triggered-action | 88 .for _ps in 800.local-ipv6-refresh 750.local-trim-zfs 720.local-triggered-action |
| 85 ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/daily/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/daily | 89 ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/daily/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/daily |
| 86 .endfor | 90 .endfor |
| 91 ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} | |
| 92 .for _exf in freebsd-update-ftjail-template.sh freebsd-update-ftjail.sh | |
| 93 ${INSTALL_DATA} ${WRKSRC}/share/examples/${PORTNAME}/${_exf} ${STAGEDIR}${EXAMPLESDIR} | |
| 94 .endfor | |
| 87 | 95 |
| 88 post-install-DOCS-on: | 96 post-install-DOCS-on: |
| 89 .for _mp in ${MANPAGES5:R} | 97 .for _mp in ${MANPAGES5:R} |
| 90 ${INSTALL_DATA} ${WRKSRC}/docs/_build/man/${_mp}.5 ${STAGEDIR}${PREFIX}/man/man5/${_mp}.5 | 98 ${INSTALL_DATA} ${WRKSRC}/docs/_build/man/${_mp}.5 ${STAGEDIR}${PREFIX}/man/man5/${_mp}.5 |
| 91 .endfor | 99 .endfor |
