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)
This commit is contained in:
Yuri Victorovich 2022-08-07 23:40:53 -07:00
commit 7be8373034

1
MOVED
View file

@ -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

View file

@ -195,7 +195,6 @@
SUBDIR += octopus
SUBDIR += openbabel
SUBDIR += openems
SUBDIR += openkim
SUBDIR += openkim-models
SUBDIR += openmc
SUBDIR += openmolcas

View file

@ -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>

View file

@ -1,2 +0,0 @@
SHA256 (openkim-api-v1.1.1.tgz) = 683bda8011754b2525e6f935f52909c141e9d39c2184cefb98babb9e4e5e0959
SIZE (openkim-api-v1.1.1.tgz) = 1529043

View file

@ -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

View file

@ -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/

View file

@ -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