Hack correct title/section into the geoipupdate manpages

This commit is contained in:
Adam Weinberger 2019-05-13 19:57:01 +00:00
parent ed335000d6
commit 86e0540b3e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=501594

View File

@ -42,8 +42,12 @@ post-extract:
${REINPLACE_CMD} -e '/make-man-pages.pl/d' ${WRKSRC}/Makefile
do-build-MANPAGES-on:
${LOCALBASE}/bin/lowdown -s -Tman ${WRKSRC}/doc/GeoIP.conf.md > ${WRKSRC}/build/GeoIP.conf.5
${LOCALBASE}/bin/lowdown -s -Tman ${WRKSRC}/doc/geoipupdate.md > ${WRKSRC}/build/geoipupdate.1
{ ${PRINTF} "title: geoipupdate\n\n" && ${CAT} ${WRKSRC}/doc/geoipupdate.md; } \
| ${LOCALBASE}/bin/lowdown -s -Tman \
| ${SED} -e '1s/7/1/' > ${WRKSRC}/build/geoipupdate.1
{ ${PRINTF} "title: GeoIP.conf\n\n" && ${CAT} ${WRKSRC}/doc/GeoIP.conf.md; } \
| ${LOCALBASE}/bin/lowdown -s -Tman \
| ${SED} -e '1s/7/5/' > ${WRKSRC}/build/GeoIP.conf.5
do-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/share/GeoIP