45 lines
1.4 KiB
Makefile
45 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.12 2016/07/09 06:37:51 wiz Exp $
|
|
|
|
DISTNAME= mpqc-2.3.1
|
|
PKGREVISION= 6
|
|
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
|
|
PKGSRC_FORTRAN= f2c # XXX force f2c for now
|
|
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"
|