blob: 5f761a540b264647a9451caaac00222f2f666d79 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
# Created by: NAKATA, Maho <maho@FreeBSD.org>
# $FreeBSD$
PORTNAME= libint
DISTVERSIONPREFIX= release-
DISTVERSION= 1-1-6
PORTREVISION= 2
CATEGORIES= science
MAINTAINER= ports@FreeBSD.org
COMMENT= Evaluate the integrals in modern atomic and molecular theory
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_GITHUB= yes
GH_ACCOUNT= evaleev
# USE_GCC=yes is required because libint is used with mpqc which is built
# by gfortran48 (from `lang/gcc') and these two libraries each try to pull
# in a different version of libgcc_s.so which fails. Forcing this port to
# build with `lang/gcc' as well resolves the conflict that manifests in
# `science/libghemical' port.
USES= autoreconf gmake libtool perl5
USE_GCC= yes
USE_LDCONFIG= yes
ALL_TARGET= default
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared --with-cc-optflags="${CFLAGS}" \
--with-cxx-optflags="${CXXFLAGS}"
OPTIONS_DEFINE= DEBUG DERIV R12
DERIV_DESC= 1st- and 2nd-order derivative ERI support
R12_DESC= Linear R12 methods integrals support
DEBUG_CONFIGURE_ON= --enable-debug
DERIV_CONFIGURE_ON= --enable-deriv
R12_CONFIGURE_ON= --enable-r12
post-patch:
@${REINPLACE_CMD} -e 's| -rpath|${LDFLAGS} -rpath|g' \
${WRKSRC}/src/lib/MakeVars.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
.include <bsd.port.mk>
|