Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2016 22:15:04 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417687 - in head/devel/pcre: . files
Message-ID:  <201606272215.u5RMF48p039553@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adamw
Date: Mon Jun 27 22:15:04 2016
New Revision: 417687
URL: https://svnweb.freebsd.org/changeset/ports/417687

Log:
  Update to 8.39. Introduce a "MAN3" option, to control installation of
  ~100 API manpages. Remove the bits about preventing coredumps on package
  clusters during regression tests, because I'm not clear why the package
  clusters would be running the regression tests. Rewrite the pkg-descr
  using current text from pcre.org.
  
  While here, clean up and reorganize the Makefile for simplicity and
  clarity.

Deleted:
  head/devel/pcre/files/
Modified:
  head/devel/pcre/Makefile
  head/devel/pcre/distinfo
  head/devel/pcre/pkg-descr
  head/devel/pcre/pkg-plist

Modified: head/devel/pcre/Makefile
==============================================================================
--- head/devel/pcre/Makefile	Mon Jun 27 21:44:56 2016	(r417686)
+++ head/devel/pcre/Makefile	Mon Jun 27 22:15:04 2016	(r417687)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	pcre
-PORTVERSION=	8.38
-PORTREVISION=	1
+PORTVERSION=	8.39
 CATEGORIES=	devel
 MASTER_SITES=	SF \
 		ftp://ftp.csx.cam.ac.uk/pub/software/programming/${PORTNAME}/ \
@@ -16,38 +15,36 @@ COMMENT=	Perl Compatible Regular Express
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENCE
 
-GNU_CONFIGURE=	yes
 USES=		libtool pathfix tar:bzip2
 USE_LDCONFIG=	yes
+
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-utf --enable-unicode-properties \
 		--enable-pcre8 --enable-pcre16 --enable-pcre32
+
 INSTALL_TARGET=	install-strip
+TEST_TARGET=	check
 
-OPTIONS_DEFINE=		DOCS STACK_RECURSION
-OPTIONS_DEFAULT=	STACK_RECURSION
-OPTIONS_RADIO=	CLI
+PORTDOCS=	*
+
+OPTIONS_DEFINE=		DOCS MAN3 STACK_RECURSION
+OPTIONS_DEFAULT=	MAN3 STACK_RECURSION
+OPTIONS_SUB=		yes
+
+OPTIONS_RADIO=		CLI
 OPTIONS_RADIO_CLI=	LIBEDIT READLINE
 
+MAN3_DESC=		Install API manpages (section 3)
 STACK_RECURSION_DESC=	Use the stack for recursion during matching
 
-LIBEDIT_CONFIGURE_ENABLE=	pcretest-libedit
 LIBEDIT_USES=			libedit
+LIBEDIT_CONFIGURE_ENABLE=	pcretest-libedit
 
 READLINE_USES=			readline
 READLINE_CONFIGURE_ENABLE=	pcretest-libreadline
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH} != "sparc64" && ${ARCH} != "ia64" && ${ARCH:Mmips64*} == ""
-CONFIGURE_ARGS+=	--enable-jit
-.else
-CONFIGURE_ARGS+=	--disable-jit
-.endif
-
-.if ${PORT_OPTIONS:MDOCS}
-PORTDOCS=	*
-.endif
-
 # Using the heap rather than the stack for recursion is slower but less
 # prone to segfaults from stack exhaustion when matching certain patterns
 .if !${PORT_OPTIONS:MSTACK_RECURSION}
@@ -87,29 +84,19 @@ CONFIGURE_ARGS+=	--with-parens-nest-limi
 CONFIGURE_ARGS+=	--with-posix-malloc-threshold=${WITH_POSIX_MALLOC_THRESHOLD}
 .endif
 
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} != "sparc64" && ${ARCH} != "ia64" && ${ARCH:Mmips64*} == ""
+CONFIGURE_ARGS+=	--enable-jit
+.else
+CONFIGURE_ARGS+=	--disable-jit
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e "/^\.rs/d" ${WRKSRC}/doc/*.3 ${WRKSRC}/doc/*.1
 	@${REINPLACE_CMD} -e "s/£//g" ${WRKSRC}/doc/pcre_compile2.3
-.if !${PORT_OPTIONS:MDOCS}
-	@${REINPLACE_CMD} -E -e '/^install-data-am/,/^$$/ s,install-(dist_doc|dist_html|html)DATA,,g' \
-		${WRKSRC}/Makefile.in
-.endif
-
-#prevent regression test coredumps from causing failures on the
-#package-building cluster:
-.ifndef(MAINTAINER_MODE)
-CORELIMIT?=	/usr/bin/limits -Sc 0
-.endif
-TESTLOGS?=	RunGrepTest RunTest pcre_jit_test pcre_scanner_unittest \
-		pcre_stringpiece_unittest pcrecpp_unittest
 
 post-stage:
 	${LN} -s libpcre.so.1 ${STAGEDIR}${PREFIX}/lib/libpcre.so.3
 
-check regression-test test: build
-	@cd ${WRKSRC} ; \
-	${SETENV} ${MAKE_ENV} ${CORELIMIT} ${MAKE_CMD} ${MAKE_ARGS} check ; \
-	for _l in ${TESTLOGS} ; do if ${TEST} -f $${_l}.log ; then \
-	${PRINTF} "\n\n$${_l}.log\n\n\n" ; ${CAT} $${_l}.log ; fi ; done
-
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>

Modified: head/devel/pcre/distinfo
==============================================================================
--- head/devel/pcre/distinfo	Mon Jun 27 21:44:56 2016	(r417686)
+++ head/devel/pcre/distinfo	Mon Jun 27 22:15:04 2016	(r417687)
@@ -1,2 +1,3 @@
-SHA256 (pcre-8.38.tar.bz2) = b9e02d36e23024d6c02a2e5b25204b3a4fa6ade43e0a5f869f254f49535079df
-SIZE (pcre-8.38.tar.bz2) = 1562265
+TIMESTAMP = 1467064459
+SHA256 (pcre-8.39.tar.bz2) = b858099f82483031ee02092711689e7245586ada49e534a06e678b8ea9549e8b
+SIZE (pcre-8.39.tar.bz2) = 1560758

Modified: head/devel/pcre/pkg-descr
==============================================================================
--- head/devel/pcre/pkg-descr	Mon Jun 27 21:44:56 2016	(r417686)
+++ head/devel/pcre/pkg-descr	Mon Jun 27 22:15:04 2016	(r417687)
@@ -1,8 +1,7 @@
 The PCRE library is a set of functions that implement regular expression
-pattern matching using the same syntax and semantics as Perl 5, with just
-a few differences. The current implementation corresponds to Perl 5.005.
-PCRE is  used by many programs, including Exim, Postfix, and PHP.
-
-Written by: Phil Hazel <ph10@cam.ac.uk>
+pattern matching using the same syntax and semantics as Perl 5. PCRE has its
+own native API, as well as a set of wrapper functions that correspond to the
+POSIX regular expression API. The PCRE library is free, even for building
+proprietary software.
 
 WWW: http://www.pcre.org/

Modified: head/devel/pcre/pkg-plist
==============================================================================
--- head/devel/pcre/pkg-plist	Mon Jun 27 21:44:56 2016	(r417686)
+++ head/devel/pcre/pkg-plist	Mon Jun 27 22:15:04 2016	(r417687)
@@ -10,16 +10,16 @@ include/pcrecpp.h
 lib/libpcre.a
 lib/libpcre.so
 lib/libpcre.so.1
-lib/libpcre.so.1.2.6
+lib/libpcre.so.1.2.7
 lib/libpcre.so.3
 lib/libpcre16.a
 lib/libpcre16.so
 lib/libpcre16.so.0
-lib/libpcre16.so.0.2.6
+lib/libpcre16.so.0.2.7
 lib/libpcre32.a
 lib/libpcre32.so
 lib/libpcre32.so.0
-lib/libpcre32.so.0.0.6
+lib/libpcre32.so.0.0.7
 lib/libpcrecpp.a
 lib/libpcrecpp.so
 lib/libpcrecpp.so.0
@@ -27,7 +27,7 @@ lib/libpcrecpp.so.0.0.1
 lib/libpcreposix.a
 lib/libpcreposix.so
 lib/libpcreposix.so.0
-lib/libpcreposix.so.0.0.3
+lib/libpcreposix.so.0.0.4
 libdata/pkgconfig/libpcre.pc
 libdata/pkgconfig/libpcre16.pc
 libdata/pkgconfig/libpcre32.pc
@@ -36,103 +36,103 @@ libdata/pkgconfig/libpcreposix.pc
 man/man1/pcre-config.1.gz
 man/man1/pcregrep.1.gz
 man/man1/pcretest.1.gz
-man/man3/pcre.3.gz
-man/man3/pcre16.3.gz
-man/man3/pcre16_assign_jit_stack.3.gz
-man/man3/pcre16_compile.3.gz
-man/man3/pcre16_compile2.3.gz
-man/man3/pcre16_config.3.gz
-man/man3/pcre16_copy_named_substring.3.gz
-man/man3/pcre16_copy_substring.3.gz
-man/man3/pcre16_dfa_exec.3.gz
-man/man3/pcre16_exec.3.gz
-man/man3/pcre16_free_study.3.gz
-man/man3/pcre16_free_substring.3.gz
-man/man3/pcre16_free_substring_list.3.gz
-man/man3/pcre16_fullinfo.3.gz
-man/man3/pcre16_get_named_substring.3.gz
-man/man3/pcre16_get_stringnumber.3.gz
-man/man3/pcre16_get_stringtable_entries.3.gz
-man/man3/pcre16_get_substring.3.gz
-man/man3/pcre16_get_substring_list.3.gz
-man/man3/pcre16_jit_exec.3.gz
-man/man3/pcre16_jit_stack_alloc.3.gz
-man/man3/pcre16_jit_stack_free.3.gz
-man/man3/pcre16_maketables.3.gz
-man/man3/pcre16_pattern_to_host_byte_order.3.gz
-man/man3/pcre16_refcount.3.gz
-man/man3/pcre16_study.3.gz
-man/man3/pcre16_utf16_to_host_byte_order.3.gz
-man/man3/pcre16_version.3.gz
-man/man3/pcre32.3.gz
-man/man3/pcre32_assign_jit_stack.3.gz
-man/man3/pcre32_compile.3.gz
-man/man3/pcre32_compile2.3.gz
-man/man3/pcre32_config.3.gz
-man/man3/pcre32_copy_named_substring.3.gz
-man/man3/pcre32_copy_substring.3.gz
-man/man3/pcre32_dfa_exec.3.gz
-man/man3/pcre32_exec.3.gz
-man/man3/pcre32_free_study.3.gz
-man/man3/pcre32_free_substring.3.gz
-man/man3/pcre32_free_substring_list.3.gz
-man/man3/pcre32_fullinfo.3.gz
-man/man3/pcre32_get_named_substring.3.gz
-man/man3/pcre32_get_stringnumber.3.gz
-man/man3/pcre32_get_stringtable_entries.3.gz
-man/man3/pcre32_get_substring.3.gz
-man/man3/pcre32_get_substring_list.3.gz
-man/man3/pcre32_jit_exec.3.gz
-man/man3/pcre32_jit_stack_alloc.3.gz
-man/man3/pcre32_jit_stack_free.3.gz
-man/man3/pcre32_maketables.3.gz
-man/man3/pcre32_pattern_to_host_byte_order.3.gz
-man/man3/pcre32_refcount.3.gz
-man/man3/pcre32_study.3.gz
-man/man3/pcre32_utf32_to_host_byte_order.3.gz
-man/man3/pcre32_version.3.gz
-man/man3/pcre_assign_jit_stack.3.gz
-man/man3/pcre_compile.3.gz
-man/man3/pcre_compile2.3.gz
-man/man3/pcre_config.3.gz
-man/man3/pcre_copy_named_substring.3.gz
-man/man3/pcre_copy_substring.3.gz
-man/man3/pcre_dfa_exec.3.gz
-man/man3/pcre_exec.3.gz
-man/man3/pcre_free_study.3.gz
-man/man3/pcre_free_substring.3.gz
-man/man3/pcre_free_substring_list.3.gz
-man/man3/pcre_fullinfo.3.gz
-man/man3/pcre_get_named_substring.3.gz
-man/man3/pcre_get_stringnumber.3.gz
-man/man3/pcre_get_stringtable_entries.3.gz
-man/man3/pcre_get_substring.3.gz
-man/man3/pcre_get_substring_list.3.gz
-man/man3/pcre_jit_exec.3.gz
-man/man3/pcre_jit_stack_alloc.3.gz
-man/man3/pcre_jit_stack_free.3.gz
-man/man3/pcre_maketables.3.gz
-man/man3/pcre_pattern_to_host_byte_order.3.gz
-man/man3/pcre_refcount.3.gz
-man/man3/pcre_study.3.gz
-man/man3/pcre_utf16_to_host_byte_order.3.gz
-man/man3/pcre_utf32_to_host_byte_order.3.gz
-man/man3/pcre_version.3.gz
-man/man3/pcreapi.3.gz
-man/man3/pcrebuild.3.gz
-man/man3/pcrecallout.3.gz
-man/man3/pcrecompat.3.gz
-man/man3/pcrecpp.3.gz
-man/man3/pcredemo.3.gz
-man/man3/pcrejit.3.gz
-man/man3/pcrelimits.3.gz
-man/man3/pcrematching.3.gz
-man/man3/pcrepartial.3.gz
-man/man3/pcrepattern.3.gz
-man/man3/pcreperform.3.gz
-man/man3/pcreposix.3.gz
-man/man3/pcreprecompile.3.gz
-man/man3/pcresample.3.gz
-man/man3/pcrestack.3.gz
-man/man3/pcresyntax.3.gz
-man/man3/pcreunicode.3.gz
+%%MAN3%%man/man3/pcre.3.gz
+%%MAN3%%man/man3/pcre16.3.gz
+%%MAN3%%man/man3/pcre16_assign_jit_stack.3.gz
+%%MAN3%%man/man3/pcre16_compile.3.gz
+%%MAN3%%man/man3/pcre16_compile2.3.gz
+%%MAN3%%man/man3/pcre16_config.3.gz
+%%MAN3%%man/man3/pcre16_copy_named_substring.3.gz
+%%MAN3%%man/man3/pcre16_copy_substring.3.gz
+%%MAN3%%man/man3/pcre16_dfa_exec.3.gz
+%%MAN3%%man/man3/pcre16_exec.3.gz
+%%MAN3%%man/man3/pcre16_free_study.3.gz
+%%MAN3%%man/man3/pcre16_free_substring.3.gz
+%%MAN3%%man/man3/pcre16_free_substring_list.3.gz
+%%MAN3%%man/man3/pcre16_fullinfo.3.gz
+%%MAN3%%man/man3/pcre16_get_named_substring.3.gz
+%%MAN3%%man/man3/pcre16_get_stringnumber.3.gz
+%%MAN3%%man/man3/pcre16_get_stringtable_entries.3.gz
+%%MAN3%%man/man3/pcre16_get_substring.3.gz
+%%MAN3%%man/man3/pcre16_get_substring_list.3.gz
+%%MAN3%%man/man3/pcre16_jit_exec.3.gz
+%%MAN3%%man/man3/pcre16_jit_stack_alloc.3.gz
+%%MAN3%%man/man3/pcre16_jit_stack_free.3.gz
+%%MAN3%%man/man3/pcre16_maketables.3.gz
+%%MAN3%%man/man3/pcre16_pattern_to_host_byte_order.3.gz
+%%MAN3%%man/man3/pcre16_refcount.3.gz
+%%MAN3%%man/man3/pcre16_study.3.gz
+%%MAN3%%man/man3/pcre16_utf16_to_host_byte_order.3.gz
+%%MAN3%%man/man3/pcre16_version.3.gz
+%%MAN3%%man/man3/pcre32.3.gz
+%%MAN3%%man/man3/pcre32_assign_jit_stack.3.gz
+%%MAN3%%man/man3/pcre32_compile.3.gz
+%%MAN3%%man/man3/pcre32_compile2.3.gz
+%%MAN3%%man/man3/pcre32_config.3.gz
+%%MAN3%%man/man3/pcre32_copy_named_substring.3.gz
+%%MAN3%%man/man3/pcre32_copy_substring.3.gz
+%%MAN3%%man/man3/pcre32_dfa_exec.3.gz
+%%MAN3%%man/man3/pcre32_exec.3.gz
+%%MAN3%%man/man3/pcre32_free_study.3.gz
+%%MAN3%%man/man3/pcre32_free_substring.3.gz
+%%MAN3%%man/man3/pcre32_free_substring_list.3.gz
+%%MAN3%%man/man3/pcre32_fullinfo.3.gz
+%%MAN3%%man/man3/pcre32_get_named_substring.3.gz
+%%MAN3%%man/man3/pcre32_get_stringnumber.3.gz
+%%MAN3%%man/man3/pcre32_get_stringtable_entries.3.gz
+%%MAN3%%man/man3/pcre32_get_substring.3.gz
+%%MAN3%%man/man3/pcre32_get_substring_list.3.gz
+%%MAN3%%man/man3/pcre32_jit_exec.3.gz
+%%MAN3%%man/man3/pcre32_jit_stack_alloc.3.gz
+%%MAN3%%man/man3/pcre32_jit_stack_free.3.gz
+%%MAN3%%man/man3/pcre32_maketables.3.gz
+%%MAN3%%man/man3/pcre32_pattern_to_host_byte_order.3.gz
+%%MAN3%%man/man3/pcre32_refcount.3.gz
+%%MAN3%%man/man3/pcre32_study.3.gz
+%%MAN3%%man/man3/pcre32_utf32_to_host_byte_order.3.gz
+%%MAN3%%man/man3/pcre32_version.3.gz
+%%MAN3%%man/man3/pcre_assign_jit_stack.3.gz
+%%MAN3%%man/man3/pcre_compile.3.gz
+%%MAN3%%man/man3/pcre_compile2.3.gz
+%%MAN3%%man/man3/pcre_config.3.gz
+%%MAN3%%man/man3/pcre_copy_named_substring.3.gz
+%%MAN3%%man/man3/pcre_copy_substring.3.gz
+%%MAN3%%man/man3/pcre_dfa_exec.3.gz
+%%MAN3%%man/man3/pcre_exec.3.gz
+%%MAN3%%man/man3/pcre_free_study.3.gz
+%%MAN3%%man/man3/pcre_free_substring.3.gz
+%%MAN3%%man/man3/pcre_free_substring_list.3.gz
+%%MAN3%%man/man3/pcre_fullinfo.3.gz
+%%MAN3%%man/man3/pcre_get_named_substring.3.gz
+%%MAN3%%man/man3/pcre_get_stringnumber.3.gz
+%%MAN3%%man/man3/pcre_get_stringtable_entries.3.gz
+%%MAN3%%man/man3/pcre_get_substring.3.gz
+%%MAN3%%man/man3/pcre_get_substring_list.3.gz
+%%MAN3%%man/man3/pcre_jit_exec.3.gz
+%%MAN3%%man/man3/pcre_jit_stack_alloc.3.gz
+%%MAN3%%man/man3/pcre_jit_stack_free.3.gz
+%%MAN3%%man/man3/pcre_maketables.3.gz
+%%MAN3%%man/man3/pcre_pattern_to_host_byte_order.3.gz
+%%MAN3%%man/man3/pcre_refcount.3.gz
+%%MAN3%%man/man3/pcre_study.3.gz
+%%MAN3%%man/man3/pcre_utf16_to_host_byte_order.3.gz
+%%MAN3%%man/man3/pcre_utf32_to_host_byte_order.3.gz
+%%MAN3%%man/man3/pcre_version.3.gz
+%%MAN3%%man/man3/pcreapi.3.gz
+%%MAN3%%man/man3/pcrebuild.3.gz
+%%MAN3%%man/man3/pcrecallout.3.gz
+%%MAN3%%man/man3/pcrecompat.3.gz
+%%MAN3%%man/man3/pcrecpp.3.gz
+%%MAN3%%man/man3/pcredemo.3.gz
+%%MAN3%%man/man3/pcrejit.3.gz
+%%MAN3%%man/man3/pcrelimits.3.gz
+%%MAN3%%man/man3/pcrematching.3.gz
+%%MAN3%%man/man3/pcrepartial.3.gz
+%%MAN3%%man/man3/pcrepattern.3.gz
+%%MAN3%%man/man3/pcreperform.3.gz
+%%MAN3%%man/man3/pcreposix.3.gz
+%%MAN3%%man/man3/pcreprecompile.3.gz
+%%MAN3%%man/man3/pcresample.3.gz
+%%MAN3%%man/man3/pcrestack.3.gz
+%%MAN3%%man/man3/pcresyntax.3.gz
+%%MAN3%%man/man3/pcreunicode.3.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606272215.u5RMF48p039553>