mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
d2a01d263d
Reported by: portscout
44 lines
1.0 KiB
Makefile
44 lines
1.0 KiB
Makefile
PORTNAME= qbox
|
|
DISTVERSIONPREFIX= rel
|
|
DISTVERSION= 1_76_4
|
|
CATEGORIES= science
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= First-principles molecular dynamics code
|
|
WWW= http://qboxcode.org/
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/../COPYING
|
|
|
|
LIB_DEPENDS= libblas.so:math/blas \
|
|
libcurl.so:ftp/curl \
|
|
libfftw3.so:math/fftw3 \
|
|
liblapack.so:math/lapack \
|
|
libmpicxx.so:net/mpich \
|
|
libscalapack.so:math/scalapack \
|
|
libuuid.so:misc/e2fsprogs-libuuid \
|
|
libxerces-c.so:textproc/xerces-c3
|
|
|
|
USES= compiler:c++11-lang gmake iconv:wchar_t localbase:ldflags
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= qboxcode
|
|
GH_PROJECT= qbox-public
|
|
|
|
WRKSRC_SUBDIR= src
|
|
|
|
MAKE_ARGS= TARGET=freebsd
|
|
|
|
ALL_TARGET= qb
|
|
TEST_TARGET= tests # only builds tests, but doesn't run them: https://github.com/qboxcode/qbox-public/issues/6
|
|
|
|
PLIST_FILES= bin/qb
|
|
|
|
post-extract:
|
|
@${SED} -e 's|%%LOCALBASE%%|${LOCALBASE}|; s|%%CXXFLAGS%%|${CXXFLAGS}|; s|%%LDFLAGS%%|${LDFLAGS}|' < ${FILESDIR}/freebsd.mk.in > ${WRKSRC}/freebsd.mk
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/qb ${STAGEDIR}${PREFIX}/bin
|
|
|
|
.include <bsd.port.mk>
|