From owner-svn-ports-head@freebsd.org Sun May 10 19:36:08 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id C3C752F1E6D; Sun, 10 May 2020 19:36:08 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49KvSS4mf6z4Z5x; Sun, 10 May 2020 19:36:08 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 84D0FA514; Sun, 10 May 2020 19:36:08 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 04AJa8E2076094; Sun, 10 May 2020 19:36:08 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 04AJa7tH076091; Sun, 10 May 2020 19:36:07 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <202005101936.04AJa7tH076091@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 10 May 2020 19:36:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r534861 - head/science/coordgenlibs X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/science/coordgenlibs X-SVN-Commit-Revision: 534861 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 May 2020 19:36:08 -0000 Author: yuri Date: Sun May 10 19:36:07 2020 New Revision: 534861 URL: https://svnweb.freebsd.org/changeset/ports/534861 Log: science/coordgenlibs: Update 1.4.0 -> 1.4.0-6; Fix the missing file templates.mae problem The upstream fails to install templates.mae. The port now makes up for this by installing a reasonable default. Modified: head/science/coordgenlibs/Makefile head/science/coordgenlibs/distinfo head/science/coordgenlibs/pkg-plist Modified: head/science/coordgenlibs/Makefile ============================================================================== --- head/science/coordgenlibs/Makefile Sun May 10 19:24:44 2020 (r534860) +++ head/science/coordgenlibs/Makefile Sun May 10 19:36:07 2020 (r534861) @@ -2,7 +2,8 @@ PORTNAME= coordgenlibs DISTVERSIONPREFIX= v -DISTVERSION= 1.4.0 +DISTVERSION= 1.4.0-6 +DISTVERSIONSUFFIX= -g95e2367 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org @@ -19,6 +20,16 @@ USE_GITHUB= yes GH_ACCOUNT= schrodinger USE_LDCONFIG= yes -CMAKE_ARGS= -Dmaeparser_DIR=${LOCALBASE}/lib/cmake +DATADIR= ${LOCALBASE}/share/coordgen + +CMAKE_ON= COORDGEN_USE_MAEPARSER +CMAKE_OFF= 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 + +post-install: # see https://github.com/schrodinger/coordgenlibs/issues/64 + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/templates.mae ${STAGEDIR}${DATADIR} .include Modified: head/science/coordgenlibs/distinfo ============================================================================== --- head/science/coordgenlibs/distinfo Sun May 10 19:24:44 2020 (r534860) +++ head/science/coordgenlibs/distinfo Sun May 10 19:36:07 2020 (r534861) @@ -1,3 +1,3 @@ -TIMESTAMP = 1584429626 -SHA256 (schrodinger-coordgenlibs-v1.4.0_GH0.tar.gz) = 2c739be72d04958c158e16c8402ad0dd2171859da6486096ba1b691c18d286e7 -SIZE (schrodinger-coordgenlibs-v1.4.0_GH0.tar.gz) = 154413 +TIMESTAMP = 1589134573 +SHA256 (schrodinger-coordgenlibs-v1.4.0-6-g95e2367_GH0.tar.gz) = 8ca75cabe12db8d15c9333c15a99feee39b32eef96e3adc9abf17c9947671ad9 +SIZE (schrodinger-coordgenlibs-v1.4.0-6-g95e2367_GH0.tar.gz) = 155048 Modified: head/science/coordgenlibs/pkg-plist ============================================================================== --- head/science/coordgenlibs/pkg-plist Sun May 10 19:24:44 2020 (r534860) +++ head/science/coordgenlibs/pkg-plist Sun May 10 19:36:07 2020 (r534861) @@ -23,3 +23,4 @@ lib/cmake/coordgen-config.cmake lib/libcoordgen.so lib/libcoordgen.so.1 lib/libcoordgen.so.1.4.0 +%%DATADIR%%/templates.mae