git: 7be837303439 - main - science/openkim: Remove in favor of science/openkim-models

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 08 Aug 2022 06:44:13 UTC
The branch main has been updated by yuri:

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

commit 7be83730343936b9bc65b65ea1fcf706b8e4442e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-08-08 06:40:53 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-08-08 06:44:10 +0000

    science/openkim: Remove in favor of science/openkim-models
    
    science/openkim-models and science/kim-api are packages
    distributed by the OpenKIM project.
    
    PR:             246144
    Approved by:    jwb@ (maintainer)
---
 MOVED                                              |  1 +
 science/Makefile                                   |  1 -
 science/openkim/Makefile                           | 48 ----------------------
 science/openkim/distinfo                           |  2 -
 .../files/patch-KIM_API__GNU_compiler_settings.mk  | 10 -----
 science/openkim/pkg-descr                          |  6 ---
 science/openkim/pkg-plist                          |  8 ----
 7 files changed, 1 insertion(+), 75 deletions(-)

diff --git a/MOVED b/MOVED
index 0046b10c796d..8127967a5608 100644
--- a/MOVED
+++ b/MOVED
@@ -17538,3 +17538,4 @@ mail/roundcube-mobilecube||2022-08-05|Removed, broken and no upstream updates
 mail/roundcube-mvision2||2022-08-05|Removed, broken and no upstream updates
 mail/roundcube-umich||2022-08-05|Removed, broken and no upstream updates
 games/exult|games/exult-devel|2022-08-06|Follow 1.9.x devel snapshots
+science/openkim|science/openkim-models|2022-08-07|Retire obsolete science/openkim, users should install science/openkim-models instead
diff --git a/science/Makefile b/science/Makefile
index 96cdd1a48c89..ee9c6b98b0a7 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -195,7 +195,6 @@
     SUBDIR += octopus
     SUBDIR += openbabel
     SUBDIR += openems
-    SUBDIR += openkim
     SUBDIR += openkim-models
     SUBDIR += openmc
     SUBDIR += openmolcas
diff --git a/science/openkim/Makefile b/science/openkim/Makefile
deleted file mode 100644
index 82a52ae05638..000000000000
--- a/science/openkim/Makefile
+++ /dev/null
@@ -1,48 +0,0 @@
-PORTNAME=	openkim
-PORTVERSION=	1.1.1
-PORTREVISION=	10
-CATEGORIES=	science
-MASTER_SITES=	http://s3.openkim.org/openkim-api/
-DISTNAME=	${PORTNAME}-api-v${PORTVERSION}
-
-MAINTAINER=	jwb@FreeBSD.org
-COMMENT=	Knowledgebase of Interatomic Models
-
-LICENSE=	CDDL
-
-MAKE_ENV+=	KIM_DIR=${WRKSRC}
-
-USES=		gmake fortran tar:tgz
-
-MAKE_JOBS_UNSAFE=yes
-
-.include <bsd.port.options.mk>
-
-# determine if we are on a 32-bit arch
-.if ! ${ARCH:M*64*}
-MAKE_ENV+=	KIM_SYSTEM32="yes"
-.endif
-
-post-patch:
-	${REINPLACE_CMD} \
-		-e "s|gcc|${CC}|g" \
-		-e "s|g++|${CXX}|g" \
-		-e "s|= gfortran|= ${FC}|g" \
-		-e "s|-O3|${CFLAGS}|g" \
-		-e "s|LINKLIBFLAG =|LINKLIBFLAG = ${LDFLAGS}|" \
-		${WRKSRC}/KIM_API/GNU_compiler_settings.mk
-
-# Required for main build to succeed
-pre-build:
-	(cd ${WRKSRC} && ${MAKE_CMD} KIM_DIR=${WRKSRC} examples)
-
-do-install:
-	${MKDIR} ${STAGEDIR}${PREFIX}/lib ${STAGEDIR}${PREFIX}/include/KIM_API
-	${INSTALL_DATA} ${WRKSRC}/KIM_API/libkim.a ${STAGEDIR}${PREFIX}/lib
-	${INSTALL_DATA} ${WRKSRC}/KIM_API/*.h ${STAGEDIR}${PREFIX}/include/KIM_API
-
-do-test:
-	(cd ${WRKSRC}/TESTs/ex_test_Ar_free_cluster_CLUSTER_F90 && \
-		${ECHO_CMD} "ex_model_Ar_P_MLJ_CLUSTER_C" | ./ex_test_Ar_free_cluster_CLUSTER_F90)
-
-.include <bsd.port.mk>
diff --git a/science/openkim/distinfo b/science/openkim/distinfo
deleted file mode 100644
index 997ab7791add..000000000000
--- a/science/openkim/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (openkim-api-v1.1.1.tgz) = 683bda8011754b2525e6f935f52909c141e9d39c2184cefb98babb9e4e5e0959
-SIZE (openkim-api-v1.1.1.tgz) = 1529043
diff --git a/science/openkim/files/patch-KIM_API__GNU_compiler_settings.mk b/science/openkim/files/patch-KIM_API__GNU_compiler_settings.mk
deleted file mode 100644
index 6c4a5caeef3e..000000000000
--- a/science/openkim/files/patch-KIM_API__GNU_compiler_settings.mk
+++ /dev/null
@@ -1,10 +0,0 @@
---- KIM_API/GNU_compiler_settings.mk.orig	2012-08-19 23:13:47.000000000 +0200
-+++ KIM_API/GNU_compiler_settings.mk	2014-02-21 16:11:02.000000000 +0100
-@@ -53,7 +53,3 @@
-    # Add libforgranbegin if needed.
-    LINKLIBFLAG += -lgfortranbegin
- endif
--ifdef KIM_DYNAMIC
--   # Add libdl if dynamic linking is being used
--   LINKLIBFLAG += -ldl
--endif
diff --git a/science/openkim/pkg-descr b/science/openkim/pkg-descr
deleted file mode 100644
index 5ab2ea064286..000000000000
--- a/science/openkim/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-An online resource for standardized testing and long-term warehousing of
-interatomic models and data. This includes the development of application
-programming interface (API) standards for coupling atomistic simulation
-codes and interatomic potential subroutines.
-
-WWW: https://openkim.org/
diff --git a/science/openkim/pkg-plist b/science/openkim/pkg-plist
deleted file mode 100644
index 60df7cae2d34..000000000000
--- a/science/openkim/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-include/KIM_API/KIM_API.h
-include/KIM_API/KIM_API_C.h
-include/KIM_API/KIM_API_status.h
-include/KIM_API/KIM_AUX.h
-include/KIM_API/Unit_Handling.h
-include/KIM_API/model_init_include.h
-include/KIM_API/model_kim_str_include.h
-lib/libkim.a