freebsd-ports/science/libint2/Makefile
Gerald Pfeifer a9f015d155 Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.

PR:		231590
2018-12-12 01:35:33 +00:00

48 lines
1.3 KiB
Makefile

# Created by: NAKATA, Maho <maho@FreeBSD.org>
# $FreeBSD$
PORTNAME= libint
DISTVERSIONPREFIX= v
DISTVERSION= 2.5.0-beta.2-20
DISTVERSIONSUFFIX= -gc2e0a72
PORTREVISION= 3
CATEGORIES= science
PKGNAMESUFFIX= 2
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
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
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>