2018-08-28 02:57:26 +02:00
|
|
|
# Created by: NAKATA, Maho <maho@FreeBSD.org>
|
|
|
|
|
2018-08-28 09:03:11 +02:00
|
|
|
PORTNAME= libint
|
2018-08-28 02:57:26 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
2021-11-06 22:08:58 +01:00
|
|
|
DISTVERSION= 2.7.1
|
2018-08-28 02:57:26 +02:00
|
|
|
CATEGORIES= science
|
2018-08-28 09:03:11 +02:00
|
|
|
PKGNAMESUFFIX= 2
|
2018-08-28 02:57:26 +02:00
|
|
|
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
|
|
COMMENT= Evaluate the integrals in modern atomic and molecular theory
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
|
|
|
LIB_DEPENDS= libboost_system.so:devel/boost-libs \
|
|
|
|
libgmpxx.so:math/gmp
|
|
|
|
|
|
|
|
USES= autoreconf:build compiler:c++11-lang gmake libtool localbase:ldflags
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= evaleev
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
ALL_TARGET= default
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2018-08-29 05:54:05 +02:00
|
|
|
CONFIGURE_ARGS= --enable-shared \
|
|
|
|
--enable-1body=1 --enable-eri=1 --enable-eri3=1 --enable-eri2=1 --enable-contracted-ints \
|
|
|
|
--with-cc-optflags="${CFLAGS}" --with-cxx-optflags="${CXXFLAGS}"
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= STATIC # osa@ requested to keep static libs on 2018/08/28
|
|
|
|
OPTIONS_SUB= yes
|
|
|
|
STATIC_CONFIGURE_ENABLE= static
|
2018-08-28 02:57:26 +02:00
|
|
|
|
2020-01-13 03:54:47 +01:00
|
|
|
PLIST_SUB= VER=${DISTVERSION}
|
|
|
|
|
2018-08-28 02:57:26 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's| -rpath|${LDFLAGS} -rpath|g' \
|
|
|
|
${WRKSRC}/src/lib/MakeVars.in
|
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
# Cannot run autoheader so cannot use autoreconf.
|
|
|
|
@cd ${WRKSRC} && ${LOCALBASE}/bin/libtoolize -c -f \
|
|
|
|
&& ${LOCALBASE}/bin/aclocal && ${LOCALBASE}/bin/autoconf
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|