summaryrefslogtreecommitdiff
path: root/science/ergo/Makefile
blob: b787a939e117d845f77574074383faf74f4aa189 (plain) (blame)
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
PORTNAME=	ergo
DISTVERSION=	3.8
CATEGORIES=	science
MASTER_SITES=	http://www.ergoscf.org/source/tarfiles/

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Quantum chemistry program for large-scale atomic calculations

LICENSE=	GPLv3
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libblas.so:math/blas \
		liblapack.so:math/lapack
TEST_DEPENDS=	bash:shells/bash

USES=		compiler:c++11-lang gmake localbase shebangfix

SHEBANG_FILES=	test/check_eigenvectors.sh test/compare_homo_lumo.sh

GNU_CONFIGURE=	yes

CONFLICTS_INSTALL=	ergo-irc-server # bin/ergo

TEST_TARGET=	check

OPTIONS_DEFINE_amd64=	SSE
OPTIONS_DEFINE_i386=	SSE
OPTIONS_DEFAULT_amd64=	SSE
OPTIONS_DEFAULT_i386=	SSE

SSE_CONFIGURE_ENABLE=	sse-intrinsics

.include <bsd.port.mk>