comparison Makefile @ 385:d058f55fffea

Expand some keyword in the mail manual page also
author Franz Glasner <fzglas.hg@dom66.de>
date Wed, 22 Feb 2023 21:23:50 +0100
parents d0ee2d9b8513
children 84d2735fe7f6
comparison
equal deleted inserted replaced
384:3c214808f2c7 385:d058f55fffea
62 .endfor 62 .endfor
63 63
64 post-extract-DOCS-on: 64 post-extract-DOCS-on:
65 ${MKDIR} ${WRKSRC}/docs 65 ${MKDIR} ${WRKSRC}/docs
66 (${TAR} -C ${.CURDIR}/docs -c --exclude ./_build -f - . | ${TAR} -C ${WRKSRC}/docs -x -f - ) 66 (${TAR} -C ${.CURDIR}/docs -c --exclude ./_build -f - . | ${TAR} -C ${WRKSRC}/docs -x -f - )
67 .for _mp in man/man8/local-bsdtools.rst
68 ${SED} -i "" -e "s|@@PKGORIGIN@@|${PKGORIGIN}|" ${WRKSRC}/docs/${_mp}
69 ${SED} -i "" -e "s|@@VERSION@@|${PORTVERSION}|" ${WRKSRC}/docs/${_mp}
70 ${SED} -i "" -e "s|\\\$$HGid\\\$$|\$$HGid: ${HGPATH}/docs/${_mp} ${HGREVISION} ${HGDATE} ${HGAUTHOR} ${HGPHASE} \$$|" ${WRKSRC}/docs/${_mp}
71 .endfor
67 72
68 .if ${PORT_OPTIONS:MDOCS} 73 .if ${PORT_OPTIONS:MDOCS}
69 do-build: 74 do-build:
70 (cd ${WRKSRC}/docs && sphinx-build -M man . _build) 75 (cd ${WRKSRC}/docs && sphinx-build -M man . _build)
71 (cd ${WRKSRC}/docs && sphinx-build -M html . _build) 76 (cd ${WRKSRC}/docs && sphinx-build -M html . _build)