svn commit: r459133 - head/devel/oniguruma

Yuri Victorovich yuri at FreeBSD.org
Mon Jan 15 22:45:03 UTC 2018


Author: yuri
Date: Mon Jan 15 22:45:02 2018
New Revision: 459133
URL: https://svnweb.freebsd.org/changeset/ports/459133

Log:
  devel/oniguruma: Update to 6.7.0
  
  Additional changes:
  * Took ownership. Maintainer's timeout expired,
    and my repeated requests to the maintainer went unanswered.
  * Rewrote the package description. Also submitted it to the
    upstream with the suggestion to replace the current description.
  * Used tarballs accoding to the policy.
  * Added the STATISTICS port option to reflect the option in configure.
  
  PR:		224810
  Submitted by:	myself
  Approved by:	tcberner (mentor), mat
  Differential Revision:	https://reviews.freebsd.org/D13903

Modified:
  head/devel/oniguruma/Makefile
  head/devel/oniguruma/distinfo
  head/devel/oniguruma/pkg-descr
  head/devel/oniguruma/pkg-plist

Modified: head/devel/oniguruma/Makefile
==============================================================================
--- head/devel/oniguruma/Makefile	Mon Jan 15 22:25:53 2018	(r459132)
+++ head/devel/oniguruma/Makefile	Mon Jan 15 22:45:02 2018	(r459133)
@@ -2,40 +2,41 @@
 # $FreeBSD$
 
 PORTNAME=	oniguruma
-PORTVERSION=	6.6.1
-DISTVERSIONPREFIX=	v
-PORTREVISION=	1
+DISTVERSION=	6.7.0
 CATEGORIES=	devel textproc
+MASTER_SITES=	https://github.com/kkos/${PORTNAME}/releases/download/v${DISTVERSION}/
+DISTNAME=	onig-${DISTVERSION}
 
-MAINTAINER=	rob at theseusnetworking.com
-COMMENT=	BSDL Regular Expressions library compatible with POSIX/GNU/Perl
+MAINTAINER=	yuri at FreeBSD.org
+COMMENT=	Regular expressions library compatible with POSIX/GNU/Perl
 
 LICENSE=	BSD2CLAUSE
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		pathfix autoreconf libtool
-USE_GITHUB=	yes
-GH_ACCOUNT=	kkos
+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
 
-OPTIONS_DEFINE=	DOCS EXAMPLES
+OPTIONS_DEFINE=			STATISTICS DOCS EXAMPLES
+STATISTICS_DESC=		Take matching time statistical data (debug feature)
 
-PATHFIX_MAKEFILEIN=	Makefile.am
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
-USE_LDCONFIG=	yes
-TEST_TARGET=	test
-TEST_WRKSRC=	${WRKSRC}/test
+STATISTICS_CONFIGURE_WITH=	statistics
 
-post-patch:
-	@${REINPLACE_CMD} -e \
-		'/^INCLUDES/s|$$(includedir)|| ; \
-		 s|$$(<)|$$(@).in|' ${WRKSRC}/Makefile.am
+PORTDOCS=	*
+PORTEXAMPLES=	*
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README ${STAGEDIR}${DOCSDIR})
-	(cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR})
+	cd ${WRKSRC} && ${INSTALL_DATA} HISTORY README ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/doc && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	(cd ${WRKSRC}/sample && ${INSTALL_DATA} *.c ${STAGEDIR}${EXAMPLESDIR})
+	cd ${WRKSRC}/sample && ${INSTALL_DATA} *.c ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>

Modified: head/devel/oniguruma/distinfo
==============================================================================
--- head/devel/oniguruma/distinfo	Mon Jan 15 22:25:53 2018	(r459132)
+++ head/devel/oniguruma/distinfo	Mon Jan 15 22:45:02 2018	(r459133)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1507483426
-SHA256 (kkos-oniguruma-v6.6.1_GH0.tar.gz) = 08d5221ced206470536045a948cced32a7e07259a9b28c044daa364399c36fe8
-SIZE (kkos-oniguruma-v6.6.1_GH0.tar.gz) = 610072
+TIMESTAMP = 1515879790
+SHA256 (onig-6.7.0.tar.gz) = 32d73c37d3c350b16287d86288f4bc98b95467fc37091cbcade60d83b01da073
+SIZE (onig-6.7.0.tar.gz) = 952950

Modified: head/devel/oniguruma/pkg-descr
==============================================================================
--- head/devel/oniguruma/pkg-descr	Mon Jan 15 22:25:53 2018	(r459132)
+++ head/devel/oniguruma/pkg-descr	Mon Jan 15 22:45:02 2018	(r459133)
@@ -1,5 +1,18 @@
-Oniguruma is a regular expressions library. The characteristics of this 
-library is that different character encoding for every regular 
-expression object can be specified.
+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.
+
+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
 
 WWW: https://github.com/kkos/oniguruma

Modified: head/devel/oniguruma/pkg-plist
==============================================================================
--- head/devel/oniguruma/pkg-plist	Mon Jan 15 22:25:53 2018	(r459132)
+++ head/devel/oniguruma/pkg-plist	Mon Jan 15 22:45:02 2018	(r459133)
@@ -2,28 +2,7 @@ bin/onig-config
 include/oniggnu.h
 include/onigposix.h
 include/oniguruma.h
-lib/libonig.a
 lib/libonig.so
 lib/libonig.so.4
 lib/libonig.so.4.0.0
 libdata/pkgconfig/oniguruma.pc
-%%PORTDOCS%%%%DOCSDIR%%/API
-%%PORTDOCS%%%%DOCSDIR%%/API.ja
-%%PORTDOCS%%%%DOCSDIR%%/FAQ
-%%PORTDOCS%%%%DOCSDIR%%/FAQ.ja
-%%PORTDOCS%%%%DOCSDIR%%/HISTORY
-%%PORTDOCS%%%%DOCSDIR%%/RE
-%%PORTDOCS%%%%DOCSDIR%%/RE.ja
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/UNICODE_PROPERTIES
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bug_fix.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/crnl.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/encode.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/listcap.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/names.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/posix.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/scan.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sql.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/syntax.c
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/user_property.c


More information about the svn-ports-head mailing list