aboutsummaryrefslogtreecommitdiff
path: root/net/geoipupdate
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2019-05-13 19:57:01 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2019-05-13 19:57:01 +0000
commit86e0540b3ece00d29ede83fe77130893a80e7640 (patch)
tree5b28f15646741808f5a0ec61c4d82a56a23f55a9 /net/geoipupdate
parented335000d6c100779bcf99c62290864db4daf146 (diff)
downloadports-86e0540b3ece00d29ede83fe77130893a80e7640.tar.gz
ports-86e0540b3ece00d29ede83fe77130893a80e7640.zip
Notes
Diffstat (limited to 'net/geoipupdate')
-rw-r--r--net/geoipupdate/Makefile8
1 files 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