Hello ports@,
Here is a diff to update ansiweather to latest version (1.06).
I used the opportunity to merge do-install and post-install sections.
Index: Makefile
===================================================================
RCS file: /cvs/ports/astro/ansiweather/Makefile,v
retrieving revision 1.3
diff -u -p -u -p -r1.3 Makefile
--- Makefile 30 Sep 2015 06:57:35 -0000 1.3
+++ Makefile 30 Oct 2015 15:29:56 -0000
@@ -11,7 +11,7 @@ PERMIT_PACKAGE_CDROM = Yes
GH_ACCOUNT = fcambus
GH_PROJECT = ansiweather
-GH_TAGNAME = 1.05
+GH_TAGNAME = 1.06
RUN_DEPENDS = textproc/jq
@@ -20,8 +20,6 @@ NO_TEST = Yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/ansiweather ${PREFIX}/bin
-
-post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ansiweather
${INSTALL_DATA} ${WRKSRC}/README.md ${PREFIX}/share/doc/ansiweather
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ansiweather
Index: distinfo
===================================================================
RCS file: /cvs/ports/astro/ansiweather/distinfo,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 distinfo
--- distinfo 30 Sep 2015 06:57:35 -0000 1.2
+++ distinfo 30 Oct 2015 15:29:56 -0000
@@ -1,2 +1,2 @@
-SHA256 (ansiweather-1.05.tar.gz) = DVLGIItZbdVqyOcRNI45BOZgOP1OmAHJG+mKHtIBH2E=
-SIZE (ansiweather-1.05.tar.gz) = 6890
+SHA256 (ansiweather-1.06.tar.gz) = Gi4JxkjgyocbcRRnEAINj4YznobuaxQnvBrbl3QKLQ4=
+SIZE (ansiweather-1.06.tar.gz) = 7025
Index: patches/patch-ansiweather
===================================================================
RCS file: /cvs/ports/astro/ansiweather/patches/patch-ansiweather,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 patch-ansiweather
--- patches/patch-ansiweather 30 Sep 2015 06:57:35 -0000 1.2
+++ patches/patch-ansiweather 30 Oct 2015 15:29:56 -0000
@@ -1,11 +1,11 @@
-$OpenBSD: patch-ansiweather,v 1.2 2015/09/30 06:57:35 jasper Exp $
---- ansiweather.orig Sun Sep 27 22:49:33 2015
-+++ ansiweather Tue Sep 29 09:41:11 2015
+$OpenBSD$
+--- ansiweather.orig Fri Oct 30 05:38:36 2015
++++ ansiweather Fri Oct 30 05:40:15 2015
@@ -36,7 +36,7 @@ get_config() {
fi
}
--fetch_cmd=$(get_config "fetch_cmd" || echo "curl -s")
+-fetch_cmd=$(get_config "fetch_cmd" || echo "curl -sf")
+fetch_cmd=$(get_config "fetch_cmd" || echo "ftp -V -o -")