# Created by: Nakata Maho <maho@FreeBSD.org>
# $FreeBSD: branches/RELEASE_8_4_0/science/libghemical/Makefile 314640 2013-03-19 13:04:30Z eadler $

PORTNAME=	libghemical
PORTVERSION=	3.0.0
CATEGORIES=	science
MASTER_SITES=	http://bioinformatics.org/ghemical/download/release20111012/	\
		http://bioinformatics.org/ghemical/download/current
		
MAINTAINER=	maho@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+=	mpqc:${PORTSDIR}/science/mpqc \
		f2c:${PORTSDIR}/lang/f2c

USE_GMAKE=	yes
USES=	pathfix
USE_GL=		gl
GNU_CONFIGURE=	yes
USE_LDCONFIG=   yes
USE_GETTEXT=	yes
USE_PKGCONFIG=	build

USE_FORTRAN=	yes
CONFIGURE_ARGS+=	--enable-mpqc
PLIST_SUB=	LIBGHEMICAL_VERSION="${PORTVERSION}"

.include <bsd.port.mk>
