Mercurial > hgrepos > FreeBSD > ports > sysutils > local-bsdtools
comparison Makefile @ 404:6c0c9159744d
Move the manual pages for the periodic scripts into man secition 5
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sat, 25 Feb 2023 16:37:01 +0100 |
| parents | def510fe4e31 |
| children | baa039348277 |
comparison
equal
deleted
inserted
replaced
| 403:39e6f675621d | 404:6c0c9159744d |
|---|---|
| 25 | 25 |
| 26 .include <bsd.port.options.mk> | 26 .include <bsd.port.options.mk> |
| 27 | 27 |
| 28 SRC= ${.CURDIR} | 28 SRC= ${.CURDIR} |
| 29 | 29 |
| 30 MANPAGES5= ${:!${LS} -1 "${.CURDIR}/docs/man/man5"!} | |
| 30 MANPAGES8= ${:!${LS} -1 "${.CURDIR}/docs/man/man8"!} | 31 MANPAGES8= ${:!${LS} -1 "${.CURDIR}/docs/man/man8"!} |
| 31 | 32 |
| 32 HGCANONICALPATH?= default | 33 HGCANONICALPATH?= default |
| 33 HGREVISION= ${:!hg id -R "${SRC}" -q!} | 34 HGREVISION= ${:!hg id -R "${SRC}" -q!} |
| 34 HGDATE= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{date|isodatesec}'!} | 35 HGDATE= ${:!hg log -R "${SRC}" -r "${HGREVISION:S/+//}" --template '{date|isodatesec}'!} |
| 83 .for _ps in 800.local-ipv6-refresh 750.local-trim-zfs 720.local-triggered-action | 84 .for _ps in 800.local-ipv6-refresh 750.local-trim-zfs 720.local-triggered-action |
| 84 ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/daily/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/daily | 85 ${INSTALL_SCRIPT} ${WRKSRC}/etc/periodic/daily/${_ps} ${STAGEDIR}${PREFIX}/etc/periodic/daily |
| 85 .endfor | 86 .endfor |
| 86 | 87 |
| 87 post-install-DOCS-on: | 88 post-install-DOCS-on: |
| 89 .for _mp in ${MANPAGES5:R} | |
| 90 ${INSTALL_DATA} ${WRKSRC}/docs/_build/man/${_mp}.5 ${STAGEDIR}${PREFIX}/man/man5/${_mp}.5 | |
| 91 .endfor | |
| 88 .for _mp in ${MANPAGES8:R} | 92 .for _mp in ${MANPAGES8:R} |
| 89 ${INSTALL_DATA} ${WRKSRC}/docs/_build/man/${_mp}.8 ${STAGEDIR}${PREFIX}/man/man8/${_mp}.8 | 93 ${INSTALL_DATA} ${WRKSRC}/docs/_build/man/${_mp}.8 ${STAGEDIR}${PREFIX}/man/man8/${_mp}.8 |
| 90 .endfor | 94 .endfor |
| 91 | 95 |
| 92 .include <bsd.port.mk> | 96 .include <bsd.port.mk> |
