Index: head/net/geoipupdate/Makefile =================================================================== --- head/net/geoipupdate/Makefile (revision 490622) +++ head/net/geoipupdate/Makefile (revision 490623) @@ -1,47 +1,62 @@ # Created by: adamw # $FreeBSD$ PORTNAME= geoipupdate -PORTVERSION= 4.0.0 +PORTVERSION= 4.0.1 DISTVERSIONPREFIX= v CATEGORIES= net geography MAINTAINER= adamw@FreeBSD.org COMMENT= Fetch the latest copies of the GeoIP2 databases LICENSE= APACHE20 MIT LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/LICENSE-MIT BUILD_DEPENDS= go:lang/go RUN_DEPENDS= ca_root_nss>=3:security/ca_root_nss USES= gmake USE_GITHUB= yes GH_ACCOUNT= maxmind MAKE_ENV+= GOPATH=${WRKSRC} \ CONFFILE=${PREFIX}/etc/GeoIP.conf \ DATADIR=${PREFIX}/share/GeoIP -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= DOCS MANPAGES +OPTIONS_DEFAULT=MANPAGES +MANPAGES_BUILD_DEPENDS= pandoc:textproc/hs-pandoc +MANPAGES_PLIST_FILES= man/man1/geoipupdate.1.gz \ + man/man5/GeoIP.conf.5.gz +MANPAGES_USES= perl5 +MANPAGES_USE= perl5:build +MANPAGES_VARS= MAKE_JOBS_UNSAFE=yes + PLIST_FILES= bin/geoipupdate \ '@sample etc/GeoIP.conf.sample' \ '@dir share/GeoIP' PORTDOCS= GeoIP.conf.md geoipupdate.md post-extract: ${MV} ${WRKSRC}/vendor ${WRKSRC}/src +post-patch-MANPAGES-off: + ${REINPLACE_CMD} -e '/make-man-pages.pl/d' ${WRKSRC}/Makefile + do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/share/GeoIP ${INSTALL_PROGRAM} ${WRKSRC}/build/geoipupdate ${STAGEDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/build/GeoIP.conf ${STAGEDIR}${PREFIX}/etc/GeoIP.conf.sample do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/build && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} + +do-install-MANPAGES-on: + ${INSTALL_MAN} ${WRKSRC}/build/geoipupdate.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${INSTALL_MAN} ${WRKSRC}/build/GeoIP.conf.5 ${STAGEDIR}${MANPREFIX}/man/man5 .include Index: head/net/geoipupdate/distinfo =================================================================== --- head/net/geoipupdate/distinfo (revision 490622) +++ head/net/geoipupdate/distinfo (revision 490623) @@ -1,3 +1,3 @@ -TIMESTAMP = 1547578530 -SHA256 (maxmind-geoipupdate-v4.0.0_GH0.tar.gz) = 89e86d6e54d26d4482f4b5f1c75409e23b4f202ad1f4425e6f97341ea7731e61 -SIZE (maxmind-geoipupdate-v4.0.0_GH0.tar.gz) = 105955 +TIMESTAMP = 1547771783 +SHA256 (maxmind-geoipupdate-v4.0.1_GH0.tar.gz) = 89d3c2bfd87095ecf3f093c7139f1fd4b8c5faae67606592cfe2edcb48e5cf16 +SIZE (maxmind-geoipupdate-v4.0.1_GH0.tar.gz) = 106890 Index: head/net/geoipupdate/files/patch-Makefile =================================================================== --- head/net/geoipupdate/files/patch-Makefile (nonexistent) +++ head/net/geoipupdate/files/patch-Makefile (revision 490623) @@ -0,0 +1,15 @@ +--- Makefile.orig 2019-01-18 03:44:31 UTC ++++ Makefile +@@ -45,10 +45,10 @@ $(BUILDDIR)/GeoIP.conf.md: $(BUILDDIR) doc/GeoIP.conf. + $(BUILDDIR)/geoipupdate.md: $(BUILDDIR) doc/geoipupdate.md + sed -e 's|CONFFILE|$(CONFFILE)|g' -e 's|DATADIR|$(DATADIR)|g' doc/geoipupdate.md > $(BUILDDIR)/geoipupdate.md + +-$(BUILDDIR)/GeoIP.conf.5: ++$(BUILDDIR)/GeoIP.conf.5: $(BUILDDIR) + dev-bin/make-man-pages.pl + +-$(BUILDDIR)/geoipupdate.1: ++$(BUILDDIR)/geoipupdate.1: $(BUILDDIR) + dev-bin/make-man-pages.pl + + clean: Property changes on: head/net/geoipupdate/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property