[Midnightbsd-cvs] mports [23702] trunk/devel/oniguruma: update to 6.8.2

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Thu Jul 26 22:48:51 EDT 2018


Revision: 23702
          http://svnweb.midnightbsd.org/mports/?rev=23702
Author:   laffer1
Date:     2018-07-26 22:48:50 -0400 (Thu, 26 Jul 2018)
Log Message:
-----------
update to 6.8.2

Modified Paths:
--------------
    trunk/devel/oniguruma/Makefile
    trunk/devel/oniguruma/distinfo
    trunk/devel/oniguruma/pkg-descr
    trunk/devel/oniguruma/pkg-plist

Removed Paths:
-------------
    trunk/devel/oniguruma/files/

Modified: trunk/devel/oniguruma/Makefile
===================================================================
--- trunk/devel/oniguruma/Makefile	2018-07-27 02:37:29 UTC (rev 23701)
+++ trunk/devel/oniguruma/Makefile	2018-07-27 02:48:50 UTC (rev 23702)
@@ -1,49 +1,41 @@
 # $MidnightBSD$
 
 PORTNAME=	oniguruma
-PORTVERSION=	2.5.8
-PORTREVISION=	1
+DISTVERSION=	6.8.2
 CATEGORIES=	devel textproc
-MASTER_SITES=	http://www.geocities.jp/kosako3/oniguruma/archive/:onig \
-		http://www.SpringDaemons.com/stas/:ruby
-DISTFILES=	onigd${PORTVERSION:S/./_/g}${EXTRACT_SUFX}:onig \
-		ruby187p72-oniguruma.patch:ruby
-DIST_SUBDIR=	ruby
-EXTRACT_ONLY=	onigd${PORTVERSION:S/./_/g}${EXTRACT_SUFX}
+MASTER_SITES=	https://github.com/kkos/${PORTNAME}/releases/download/v${DISTVERSION}/
+DISTNAME=	onig-${DISTVERSION}
 
 MAINTAINER=	ports at MidnightBSD.org
-COMMENT=	A BSDL Regular Expressions library compatible with POSIX/GNU/Perl
+COMMENT=	Regular expressions library compatible with POSIX/GNU/Perl
+
 LICENSE=	bsd2
+LICENSE_FILE=	${WRKSRC}/COPYING
 
-WRKSRC=		${WRKDIR}/${PORTNAME}
+USES=			autoreconf pathfix libtool  # configure provided in the tarball breaks: https://github.com/kkos/oniguruma/issues/73
+GNU_CONFIGURE=		yes
+CONFIGURE_ARGS=		--disable-static
+PATHFIX_MAKEFILEIN=	Makefile.am
+USE_LDCONFIG=		yes
+INSTALL_TARGET=		install-strip
+TEST_WRKSRC=		${WRKSRC}/test
+TEST_TARGET=		test
 
-NO_LATEST_LINK=	yes
-CONFLICTS=	oniguruma-4.*
+OPTIONS_DEFINE=			STATISTICS DOCS EXAMPLES
+STATISTICS_DESC=		Take matching time statistical data (debug feature)
 
-FAKE_OPTS=	prefixhack
+STATISTICS_CONFIGURE_WITH=	statistics
 
-GNU_CONFIGURE=	yes
-DOCS=		HISTORY README doc/*
+PORTDOCS=	*
+PORTEXAMPLES=	*
 
-post-patch:
-	${CP} ${DISTDIR}/${DIST_SUBDIR}/ruby187p72-oniguruma.patch \
-		${WRKSRC}/ruby187.patch
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}
 
-post-configure:
-	${SED} -e 's|%%PREFIX%%|${PREFIX}|' \
-		${FILESDIR}/onig-config > ${WRKSRC}/onig-config
+post-install-EXAMPLES-on:
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	cd ${WRKSRC}/sample && ${INSTALL_DATA} *.c ${STAGEDIR}${EXAMPLESDIR}
 
-post-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/onig-config ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-.for f in ${DOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
-.endfor
-.endif
-.if !defined(NOPORTEXAMPLES)
-	${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/sample/* ${EXAMPLESDIR}/
-.endif
-
 .include <bsd.port.mk>

Modified: trunk/devel/oniguruma/distinfo
===================================================================
--- trunk/devel/oniguruma/distinfo	2018-07-27 02:37:29 UTC (rev 23701)
+++ trunk/devel/oniguruma/distinfo	2018-07-27 02:48:50 UTC (rev 23702)
@@ -1,4 +1,3 @@
-SHA256 (ruby/onigd2_5_8.tar.gz) = 11aa092d7cb1c21b7fb60980e9c5a9b931e670c29553ea9444927a8a468e526b
-SIZE (ruby/onigd2_5_8.tar.gz) = 218187
-SHA256 (ruby/ruby187p72-oniguruma.patch) = 43c6633dda09c29fb5c09744ed6c190b1960255a829451cfebb7c390689c97d1
-SIZE (ruby/ruby187p72-oniguruma.patch) = 8654
+TIMESTAMP = 1531100884
+SHA256 (onig-6.8.2.tar.gz) = adeada5f6b54c2a6f58ff021831a01b18a62b55ea9935e972e36ebb19e7c4903
+SIZE (onig-6.8.2.tar.gz) = 979775

Modified: trunk/devel/oniguruma/pkg-descr
===================================================================
--- trunk/devel/oniguruma/pkg-descr	2018-07-27 02:37:29 UTC (rev 23701)
+++ trunk/devel/oniguruma/pkg-descr	2018-07-27 02:48:50 UTC (rev 23702)
@@ -1,14 +1,18 @@
-Oniguruma is a BSDL Regular Expression library written for ruby-m17n,
-which implements all of Perl extensions, many of .NET extensions plus
-more.
+Oniguruma is a modern and flexible regular expressions library. It
+encompasses features from different regular expression implementations
+that traditionally exist in different languages. It comes close to
+being a complete superset of all regular expression features found
+in other regular expression implementations.
 
-It provides multiple APIs for ease of use; GNU regex compatible API,
-POSIX regex compatible API and its own.
+Its features include:
+* Character encoding can be specified per regular expression object.
+* Several regular expression types are supported:
+  * POSIX
+  * Grep
+  * GNU Regex
+  * Perl
+  * Java
+  * Ruby
+  * Emacs
 
-This library is multilingualized by design and can have one encoding
-for each regex object.  Currently supported character encodings are
-ASCII, UTF-8, EUC-JP and Shift_JIS.
-
-2.x supports Ruby1.6/1.8
-
-WWW:	http://www.geocities.jp/kosako3/oniguruma/
+WWW: https://github.com/kkos/oniguruma

Modified: trunk/devel/oniguruma/pkg-plist
===================================================================
--- trunk/devel/oniguruma/pkg-plist	2018-07-27 02:37:29 UTC (rev 23701)
+++ trunk/devel/oniguruma/pkg-plist	2018-07-27 02:48:50 UTC (rev 23702)
@@ -2,18 +2,7 @@
 include/oniggnu.h
 include/onigposix.h
 include/oniguruma.h
-lib/libonig.a
-%%PORTDOCS%%%%DOCSDIR%%/API
-%%PORTDOCS%%%%DOCSDIR%%/HISTORY
-%%PORTDOCS%%%%DOCSDIR%%/RE
-%%PORTDOCS%%%%DOCSDIR%%/RE.ja
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/encode.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/listcap.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/names.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/posix.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sql.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/syntax.c
-%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
+lib/libonig.so
+lib/libonig.so.5
+lib/libonig.so.5.0.0
+libdata/pkgconfig/oniguruma.pc



More information about the Midnightbsd-cvs mailing list