From 86e0540b3ece00d29ede83fe77130893a80e7640 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Mon, 13 May 2019 19:57:01 +0000 Subject: [PATCH] Hack correct title/section into the geoipupdate manpages --- net/geoipupdate/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/net/geoipupdate/Makefile b/net/geoipupdate/Makefile index 12a2381774a7..acfac5e6dab4 100644 --- a/net/geoipupdate/Makefile +++ b/net/geoipupdate/Makefile @@ -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