Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Jun 2021 09:58:07 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: cecec6701874 - main - science/coordgenlibs: Update 1.4.2 -> 2.0.3
Message-ID:  <202106110958.15B9w73O078138@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cecec6701874b4a53d8148582fd690dd71b09ea8

commit cecec6701874b4a53d8148582fd690dd71b09ea8
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-06-11 09:56:03 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-06-11 09:57:59 +0000

    science/coordgenlibs: Update 1.4.2 -> 2.0.3
---
 science/coordgenlibs/Makefile                   | 12 +++++++-----
 science/coordgenlibs/distinfo                   |  6 +++---
 science/coordgenlibs/files/patch-CMakeLists.txt | 13 +++++++++++++
 science/coordgenlibs/pkg-plist                  |  4 ++--
 science/openbabel/Makefile                      |  1 +
 5 files changed, 26 insertions(+), 10 deletions(-)

diff --git a/science/coordgenlibs/Makefile b/science/coordgenlibs/Makefile
index e04cbdbaccf3..eae6ab9be9b8 100644
--- a/science/coordgenlibs/Makefile
+++ b/science/coordgenlibs/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	coordgenlibs
 DISTVERSIONPREFIX=	v
-DISTVERSION=	1.4.2
+DISTVERSION=	2.0.3
 CATEGORIES=	science
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -12,15 +12,17 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${LOCALBASE}/include/boost/dynamic_bitset.hpp:devel/boost-libs
 LIB_DEPENDS=	libmaeparser.so:science/maeparser
 
-USES=		cmake compiler:c++11-lang localbase:ldflags
+USES=		cmake:testing compiler:c++11-lang localbase:ldflags
+USE_LDCONFIG=	yes
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	schrodinger
-USE_LDCONFIG=	yes
 
 DATADIR=	${LOCALBASE}/share/coordgen
 
-CMAKE_ON=	COORDGEN_USE_MAEPARSER
-CMAKE_OFF=	COORDGEN_BUILD_TESTS COORDGEN_BUILD_EXAMPLE
+CMAKE_ON=		COORDGEN_USE_MAEPARSER
+CMAKE_OFF=		COORDGEN_BUILD_TESTS COORDGEN_BUILD_EXAMPLE
+CMAKE_TESTING_ON=	COORDGEN_BUILD_TESTS COORDGEN_BUILD_EXAMPLE
 
 post-patch: # see https://github.com/schrodinger/coordgenlibs/issues/64
 	@${REINPLACE_CMD} 's|return getTempFileProjDir() + suffix;|return "${DATADIR}/templates.mae";|' ${WRKSRC}/sketcherMinimizer.cpp
diff --git a/science/coordgenlibs/distinfo b/science/coordgenlibs/distinfo
index c3a5265cc18e..522bc2a15217 100644
--- a/science/coordgenlibs/distinfo
+++ b/science/coordgenlibs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1602662859
-SHA256 (schrodinger-coordgenlibs-v1.4.2_GH0.tar.gz) = de8886db30fbb78d08d1532c21e710c5a967e5927e46866f07a9f7eab49d8b3c
-SIZE (schrodinger-coordgenlibs-v1.4.2_GH0.tar.gz) = 155306
+TIMESTAMP = 1623389928
+SHA256 (schrodinger-coordgenlibs-v2.0.3_GH0.tar.gz) = 7db567ba988d9fa92918c174ee7a3ba99ee653ca7eef3bee321a3c4419aff515
+SIZE (schrodinger-coordgenlibs-v2.0.3_GH0.tar.gz) = 162607
diff --git a/science/coordgenlibs/files/patch-CMakeLists.txt b/science/coordgenlibs/files/patch-CMakeLists.txt
new file mode 100644
index 000000000000..c9eb1f872341
--- /dev/null
+++ b/science/coordgenlibs/files/patch-CMakeLists.txt
@@ -0,0 +1,13 @@
+- see https://github.com/schrodinger/coordgenlibs/issues/100
+
+--- CMakeLists.txt.orig	2021-06-11 05:40:44 UTC
++++ CMakeLists.txt
+@@ -38,7 +38,7 @@ if(COORDGEN_RIGOROUS_BUILD)
+ if(MSVC)
+     add_definitions(/WX)
+ else(MSVC)
+-    add_definitions(-Wall -Wextra -Werror)
++    add_definitions(-Wall -Wextra)
+ endif(MSVC)
+ endif(COORDGEN_RIGOROUS_BUILD)
+ 
diff --git a/science/coordgenlibs/pkg-plist b/science/coordgenlibs/pkg-plist
index e3aa72107a41..a4cf07d1562f 100644
--- a/science/coordgenlibs/pkg-plist
+++ b/science/coordgenlibs/pkg-plist
@@ -21,6 +21,6 @@ include/coordgen/sketcherMinimizerStretchInteraction.h
 lib/cmake/coordgen-config-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/coordgen-config.cmake
 lib/libcoordgen.so
-lib/libcoordgen.so.1
-lib/libcoordgen.so.1.4.2
+lib/libcoordgen.so.2
+lib/libcoordgen.so.2.0.3
 %%DATADIR%%/templates.mae
diff --git a/science/openbabel/Makefile b/science/openbabel/Makefile
index 7f3c7a7abfe1..3b98322f741e 100644
--- a/science/openbabel/Makefile
+++ b/science/openbabel/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	openbabel
 DISTVERSION=	3.1.1
+PORTREVISION=	1
 DISTVERSIONSUFFIX=	-source
 CATEGORIES=	science
 MASTER_SITES=	https://github.com/openbabel/openbabel/releases/download/openbabel-${PORTVERSION:C/\./-/g}/



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