Hi ports;

The attached diff updates vimb to the latest stable version.
https://github.com/fanglingsu/vimb/releases

Upstream has a hard dependency on .git/indox to generate the header
file.
https://github.com/fanglingsu/vimb/commit/0eda3ec2ac78577a08ace4c18cd9e912a56609e6

I used a post-extract command similar to the FreeBSD Makefile
https://svnweb.freebsd.org/ports/head/www/vimb/Makefile?view=log

Builds with many warnings and runs on amd64-current.

Testing, feedback and consideration for commit appreciated.
--
J. Scott Heppler
Index: Makefile
===================================================================
RCS file: /cvs/ports/www/vimb/Makefile,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 Makefile
--- Makefile    12 Jul 2019 20:51:06 -0000      1.19
+++ Makefile    5 Oct 2019 22:39:09 -0000
@@ -4,7 +4,7 @@ COMMENT =       modal webkit-based browser ins
 
 GH_ACCOUNT =   fanglingsu
 GH_PROJECT =   vimb
-GH_TAGNAME =   3.3.0
+GH_TAGNAME =   3.5.0
 
 CATEGORIES =   www x11
 
@@ -25,6 +25,10 @@ USE_GMAKE =  Yes
 
 CFLAGS +=      -D_BSD_SOURCE
 MAKE_ENV =     V=1
+
+# .git/index needed to generate version.h
+post-extract:
+               mkdir -p ${WRKSRC}/.git/index
 
 FAKE_FLAGS =   PREFIX="${TRUEPREFIX}" \
                MANPREFIX="${WRKINST}/${PREFIX}/man"
Index: distinfo
===================================================================
RCS file: /cvs/ports/www/vimb/distinfo,v
retrieving revision 1.10
diff -u -p -u -p -r1.10 distinfo
--- distinfo    8 Dec 2018 15:08:23 -0000       1.10
+++ distinfo    5 Oct 2019 22:39:09 -0000
@@ -1,2 +1,2 @@
-SHA256 (vimb-3.3.0.tar.gz) = XG/jmxssoYo0K7ZoP3/VsTnq1TkD9X3Z7s1aEHRXbWw=
-SIZE (vimb-3.3.0.tar.gz) = 136151
+SHA256 (vimb-3.5.0.tar.gz) = uzUWy7z0FyxRMnJYWsOxAMD/bvtflszgoDudfMlRMVs=
+SIZE (vimb-3.5.0.tar.gz) = 141269

Reply via email to