mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
43 lines
1.3 KiB
Makefile
43 lines
1.3 KiB
Makefile
# Created by: Nakata Maho <maho@FreeBSD.org>
|
|
|
|
PORTNAME= libghemical
|
|
PORTVERSION= 3.0.0
|
|
PORTREVISION= 16
|
|
CATEGORIES= science
|
|
MASTER_SITES= http://bioinformatics.org/ghemical/download/release20111012/ \
|
|
http://bioinformatics.org/ghemical/download/current/
|
|
|
|
MAINTAINER= yuri@FreeBSD.org
|
|
COMMENT= Support libraries of science/ghemical port
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= obabel:science/openbabel \
|
|
intltool-update:textproc/intltool \
|
|
ld:devel/binutils
|
|
LIB_DEPENDS= libblas.so:math/blas \
|
|
libint.so:science/libint \
|
|
libf2c.so:lang/f2c \
|
|
liblapack.so:math/lapack \
|
|
libmpqc.so:science/mpqc
|
|
|
|
USES= fortran gettext gl gmake libtool localbase pathfix pkgconfig
|
|
USE_CXXSTD= c++98
|
|
USE_GL= gl
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
CONFIGURE_ENV= LD_PRELOAD=${LOCALBASE}/lib/gcc${GCC_DEFAULT}/libgcc_s.so # workaround: otherwise configure fails
|
|
|
|
CONFIGURE_ARGS+= --enable-mpqc
|
|
LDFLAGS+= -lSCbasis -lSCcints -lSCclass -lSCcontainer -lSCdft -lSCgroup \
|
|
-lSCintv3 -lSCisosurf -lSCkeyval -lSCmbpt -lSCmbptr12 -lSCmisc \
|
|
-lSCmolecule -lSCoint3 -lSCoptimize -lSCoptions -lSCpsi \
|
|
-lSCref -lSCrender -lSCscf -lSCscmat -lSCsolvent -lSCstate \
|
|
-lSCsymmetry -lSCwfn -lgfortran -lpthread -lblas -llapack
|
|
PLIST_SUB= LIBGHEMICAL_VERSION="${PORTVERSION}"
|
|
INSTALL_TARGET= install-strip
|
|
|
|
.include <bsd.port.mk>
|