aboutsummaryrefslogtreecommitdiffstats
path: root/science/libghemical/Makefile
blob: 3a3db1704734cdee2496069f5de35768e9895238 (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
# Created by: Nakata Maho <maho@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libghemical
PORTVERSION=    3.0.0
PORTREVISION=   4
CATEGORIES= science
MASTER_SITES=   http://bioinformatics.org/ghemical/download/release20111012/    \
        http://bioinformatics.org/ghemical/download/current

MAINTAINER= ports@FreeBSD.org
COMMENT=    Support libraries of science/ghemical port

BUILD_DEPENDS=  obabel:${PORTSDIR}/science/openbabel \
        intltool-update:${PORTSDIR}/textproc/intltool \
        ld:${PORTSDIR}/devel/binutils
LIB_DEPENDS+=   libmpqc.so:${PORTSDIR}/science/mpqc \
        libf2c.so:${PORTSDIR}/lang/f2c

USES=       fortran gettext gmake pathfix pkgconfig libtool
USE_GL=     gl
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

CONFIGURE_ARGS+=    --enable-mpqc
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
PLIST_SUB=  LIBGHEMICAL_VERSION="${PORTVERSION}"
INSTALL_TARGET= install-strip

.include <bsd.port.mk>