summaryrefslogtreecommitdiff
path: root/biology/mpqc/Makefile
blob: aad47d0ee3230f5c9b36845b7bfb09adf33b90b1 (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
# $NetBSD: Makefile,v 1.9 2014/12/11 22:06:08 joerg Exp $

DISTNAME=	mpqc-2.3.1
PKGREVISION=	3
CATEGORIES=	biology
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=mpqc/}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	asau@inbox.ru
HOMEPAGE=	http://www.mpqc.org/
COMMENT=	The Massively Parallel Quantum Chemistry Program

USE_LANGUAGES=	c c++ fortran77
GNU_CONFIGURE=	yes
CONFIGURE_ARGS+=	--with-libdirs="-L${PREFIX}/lib $(COMPILER_RPATH_FLAG)$(PREFIX)/lib"	# fixme
#CONFIGURE_ARGS=	-without-f77	# this doesn't work out of the box
CONFIGURE_ENV=	ac_cv_prog_WISH=$(REPLACE.wish.new)
USE_TOOLS+=	perl:run
USE_LIBTOOL=	yes

USE_TOOLS+=	gmake
BUILD_TARGET=	default

# This is strange, yet...
INSTALL_MAKE_FLAGS=	installroot=$(DESTDIR)

REPLACE_PERL=	src/bin/mpqc/ccarun.in src/bin/mpqc/mpqcrun.in

# Don't introduce Tk dependency for minor things, just leave a hook:
REPLACE_WISH=	src/bin/molrender/tkmolrender.in
CHECK_INTERPRETER_SKIP=	bin/tkmolrender

# optional:
# MPI, niama-config, libr12, libderiv
.include "../../devel/libexecinfo/buildlink3.mk" # optional
.include "../../mk/dlopen.buildlink3.mk" # optional?
.include "../../math/libint/buildlink3.mk" # optional

.include "../../x11/tk/interpreter.mk"

.include "../../math/blas/buildlink3.mk"
.include "../../math/lapack/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"