Here's an update for oniguruma. I found that it breaks some of the old  
APIs, but I couldn't find anything in ports that depends on it.

OK?

martijn@

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/oniguruma/Makefile,v
retrieving revision 1.7
diff -u -p -r1.7 Makefile
--- Makefile    16 Jul 2015 23:21:48 -0000      1.7
+++ Makefile    26 May 2018 06:00:50 -0000
@@ -2,20 +2,22 @@
 
 COMMENT=       regular expressions library
 
-V=             5.9.6
-DISTNAME=      onig-$V
-SHARED_LIBS=   onig 2.1
-PKGNAME=       oniguruma-$V
+V=             6.8.2
+DISTFILES=     onig-${V}.tar.gz
 CATEGORIES=    textproc
+PKGNAME=       oniguruma-${V}
 
-HOMEPAGE=      http://www.geocities.jp/kosako3/oniguruma/
+
+SHARED_LIBS=   onig 5.0
+HOMEPAGE=      https://github.com/kkos/oniguruma/
 
 # BSD
 PERMIT_PACKAGE_CDROM=  Yes
 
-MASTER_SITES=  ${HOMEPAGE}/archive/
+MASTER_SITES=  ${HOMEPAGE}/releases/download/v${V}/
 
 CONFIGURE_STYLE=gnu
+WRKDIST=       ${WRKDIR}/onig-${V}
 
 USE_GMAKE=     Yes
 
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/oniguruma/distinfo,v
retrieving revision 1.4
diff -u -p -r1.4 distinfo
--- distinfo    16 Jul 2015 23:21:48 -0000      1.4
+++ distinfo    26 May 2018 06:00:50 -0000
@@ -1,2 +1,2 @@
-SHA256 (onig-5.9.6.tar.gz) = 1WQgEDNqb2i38uNLHxyxS+Mz5NlcKsArOMFiyvROR6c=
-SIZE (onig-5.9.6.tar.gz) = 588225
+SHA256 (onig-6.8.2.tar.gz) = reraX2tUwqb1j/AhgxoBsYpitV6pk16XLjbrsZ58SQM=
+SIZE (onig-6.8.2.tar.gz) = 979775

Reply via email to