Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/re2 re2: updated to 20200801



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d24a7faf091a
branches:  trunk
changeset: 436597:d24a7faf091a
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Aug 06 16:23:21 2020 +0000

description:
re2: updated to 20200801

20200801:
Unknown changes

diffstat:

 devel/re2/Makefile |  25 ++++++++++++++++++-------
 devel/re2/PLIST    |   7 +++----
 devel/re2/distinfo |  10 +++++-----
 3 files changed, 26 insertions(+), 16 deletions(-)

diffs (76 lines):

diff -r e6f753c0cb28 -r d24a7faf091a devel/re2/Makefile
--- a/devel/re2/Makefile        Thu Aug 06 14:27:21 2020 +0000
+++ b/devel/re2/Makefile        Thu Aug 06 16:23:21 2020 +0000
@@ -1,22 +1,33 @@
-# $NetBSD: Makefile,v 1.7 2020/04/21 12:31:19 jperkin Exp $
+# $NetBSD: Makefile,v 1.8 2020/08/06 16:23:21 adam Exp $
 
-DISTNAME=      re2-20200101
+DISTNAME=      re2-${GITHUB_TAG:S/-//g}
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=google/}
-GITHUB_TAG=    2020-01-01
+GITHUB_TAG=    2020-08-01
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/google/re2
 COMMENT=       Regular expression library
 LICENSE=       modified-bsd
 
-USE_LANGUAGES+=        c c++
-USE_TOOLS+=    gmake gsed pkg-config
+USE_CMAKE=     yes
+USE_LANGUAGES= c c++11
+TEST_ENV=      LD_LIBRARY_PATH=${WRKSRC}
+TEST_TARGET=   test
+
+CMAKE_ARGS+=   -DBUILD_SHARED_LIBS=ON
+
+PKGCONFIG_OVERRIDE=    re2.pc
+INSTALLATION_DIRS+=    lib/pkgconfig
 
 SUBST_CLASSES+=                path
 SUBST_MESSAGE.path=    Fixup pathnames
 SUBST_STAGE.path=      pre-configure
-SUBST_FILES.path=      Makefile
-SUBST_SED.path=                -e 's|/usr/local|${PREFIX}|g'
+SUBST_FILES.path=      re2.pc
+SUBST_SED.path=                -e 's,@includedir@,${PREFIX}/include,'
+SUBST_SED.path+=       -e 's,@libdir@,${PREFIX}/lib,'
+
+post-install:
+       ${INSTALL_DATA} ${WRKSRC}/re2.pc ${DESTDIR}${PREFIX}/lib/pkgconfig
 
 .include "../../mk/bsd.pkg.mk"
diff -r e6f753c0cb28 -r d24a7faf091a devel/re2/PLIST
--- a/devel/re2/PLIST   Thu Aug 06 14:27:21 2020 +0000
+++ b/devel/re2/PLIST   Thu Aug 06 16:23:21 2020 +0000
@@ -1,10 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2016/08/13 14:04:22 mef Exp $
+@comment $NetBSD: PLIST,v 1.3 2020/08/06 16:23:21 adam Exp $
 include/re2/filtered_re2.h
 include/re2/re2.h
 include/re2/set.h
 include/re2/stringpiece.h
-lib/libre2.a
+lib/cmake/re2/re2Config-noconfig.cmake
+lib/cmake/re2/re2Config.cmake
 lib/libre2.so
-lib/libre2.so.0
-lib/libre2.so.0.0.0
 lib/pkgconfig/re2.pc
diff -r e6f753c0cb28 -r d24a7faf091a devel/re2/distinfo
--- a/devel/re2/distinfo        Thu Aug 06 14:27:21 2020 +0000
+++ b/devel/re2/distinfo        Thu Aug 06 16:23:21 2020 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2020/02/26 16:20:43 nia Exp $
+$NetBSD: distinfo,v 1.7 2020/08/06 16:23:21 adam Exp $
 
-SHA1 (re2-20200101.tar.gz) = 7a131caa1d906924c0e7ca5e977ec5f0ff67e538
-RMD160 (re2-20200101.tar.gz) = f0b7e70504586852fdbb12c6995240df7cef45d6
-SHA512 (re2-20200101.tar.gz) = ca9c5e3b63b55074ad1d74b73bcf115ae285b3b8989bb56de0bccdfd7b423df742cfd1d1b6eb963da6dc550b81f492eaef9a9c582e354906b8dd1b92fb451ed0
-Size (re2-20200101.tar.gz) = 391298 bytes
+SHA1 (re2-20200801.tar.gz) = ac4796e631461c27cd05629097a6931c1d5b13a4
+RMD160 (re2-20200801.tar.gz) = 466113d0439912c66df4346ab25e34f84f197824
+SHA512 (re2-20200801.tar.gz) = 1ae261155a1eb96606788eb736faa4dc3240d85f47e3b4c412a4f85f7e4cc69f7c7cbab98397aaf725def1cbc9c5da2c679cfb5573a442d60897740766ae2967
+Size (re2-20200801.tar.gz) = 404076 bytes



Home | Main Index | Thread Index | Old Index