ports/177692: New port: science/openkim

Jason Bacon jwbacon at tds.net
Sun Apr 7 16:00:01 UTC 2013


>Number:         177692
>Category:       ports
>Synopsis:       New port: science/openkim
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 07 16:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Jason Bacon
>Release:        8.3-RELEASE
>Organization:
Acadix Consulting, LLC
>Environment:
FreeBSD sculpin.jbacon.dyndns.org 8.3-RELEASE FreeBSD 8.3-RELEASE #0: Mon Apr  9 21:23:18 UTC 2012     root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
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.

openkim is a prerequisite for science/lammps, which is currently being tested and will be submitted soon.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	openkim
#	openkim/Makefile
#	openkim/pkg-plist
#	openkim/pkg-descr
#	openkim/distinfo
#
echo c - openkim
mkdir -p openkim > /dev/null 2>&1
echo x - openkim/Makefile
sed 's/^X//' >openkim/Makefile << '619b81347ca24050c8a16a92351b91c2'
X# Created by:	Jason Bacon
X# $FreeBSD$
X
XPORTNAME=	openkim
XPORTVERSION=	1.1.1
XCATEGORIES=	science
XMASTER_SITES=	http://s3.openkim.org/
XDISTNAME=	${PORTNAME}-api-v${PORTVERSION}
XEXTRACT_SUFX=	.tgz
X
XMAINTAINER=	jwbacon at tds.net
XCOMMENT=	Knowledgebase of Interatomic Models
X
XLICENSE=	CDDL
X
XMAKE_ENV+=	KIM_DIR=${WRKSRC}
X
XUSE_GMAKE=	yes
XUSE_FORTRAN=	yes
X
X.include <bsd.port.options.mk>
X
X# Is there a better way to detect 32-bit systems?
X.if ${ARCH} == "i386" || ${ARCH} == "powerpc"
XMAKE_ENV+=	KIM_SYSTEM32="yes"
X.endif
X
Xpost-patch:
X	${REINPLACE_CMD} \
X		-e "s|gcc|${CC}|g" \
X		-e "s|g++|${CXX}|g" \
X		-e "s|= gfortran|= ${FC}|g" \
X		-e "s|-O3|-O2|g" \
X		-e "s|LINKLIBFLAG =|LINKLIBFLAG = -Wl,-rpath=${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS}|g" \
X		${WRKSRC}/KIM_API/GNU_compiler_settings.mk
X
X# Required for main build to succeed
Xpre-build:
X	(cd ${WRKSRC} && ${GMAKE} KIM_DIR=${WRKSRC} examples)
X
Xdo-install:
X	${MKDIR} ${PREFIX}/lib ${PREFIX}/include/KIM_API
X	${INSTALL_DATA} ${WRKSRC}/KIM_API/libkim.a ${PREFIX}/lib
X	${INSTALL_DATA} ${WRKSRC}/KIM_API/*.h ${PREFIX}/include/KIM_API
X
X.include <bsd.port.mk>
619b81347ca24050c8a16a92351b91c2
echo x - openkim/pkg-plist
sed 's/^X//' >openkim/pkg-plist << 'cce1e0694659449116be088de2c1b458'
Xinclude/KIM_API/KIM_API.h
Xinclude/KIM_API/KIM_API_C.h
Xinclude/KIM_API/KIM_API_status.h
Xinclude/KIM_API/KIM_AUX.h
Xinclude/KIM_API/Unit_Handling.h
Xinclude/KIM_API/model_init_include.h
Xinclude/KIM_API/model_kim_str_include.h
Xlib/libkim.a
X at dirrm include/KIM_API
cce1e0694659449116be088de2c1b458
echo x - openkim/pkg-descr
sed 's/^X//' >openkim/pkg-descr << '4b6a841c2a4f4dbb6fb5a9a59128bd28'
XAn online resource for standardized testing and long-term warehousing of
Xinteratomic models and data. This includes the development of application
Xprogramming interface (API) standards for coupling atomistic simulation
Xcodes and interatomic potential subroutines.
X
XWWW:	https://openkim.org/
4b6a841c2a4f4dbb6fb5a9a59128bd28
echo x - openkim/distinfo
sed 's/^X//' >openkim/distinfo << '9035931e998d864046599c4d7a7fc52f'
XSHA256 (openkim-api-v1.1.1.tgz) = 683bda8011754b2525e6f935f52909c141e9d39c2184cefb98babb9e4e5e0959
XSIZE (openkim-api-v1.1.1.tgz) = 1529043
9035931e998d864046599c4d7a7fc52f
exit



>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list