aboutsummaryrefslogtreecommitdiff
path: root/science/ghemical/Makefile
blob: 98c6ca1826d5ecdf0722e63279a9ede8dec8ca05 (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
32
33
34
35
# Created by: Nakata Maho <maho@FreeBSD.org>
# $FreeBSD$

PORTNAME=	ghemical
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=	Ghemical is a computational chemistry software package

BUILD_DEPENDS=	f2c:${PORTSDIR}/lang/f2c \
		obabel:${PORTSDIR}/science/openbabel \
		ld:${PORTSDIR}/devel/binutils
RUN_DEPENDS=	f2c:${PORTSDIR}/lang/f2c
LIB_DEPENDS=	mpqc:${PORTSDIR}/science/mpqc \
		gtkglext-x11-1.0:${PORTSDIR}/x11-toolkits/gtkglext \
		ghemical:${PORTSDIR}/science/libghemical \
		oglappth:${PORTSDIR}/science/liboglappth \
		mopac7:${PORTSDIR}/biology/mopac

USES=		pkgconfig gettext
USE_FORTRAN=	yes
USE_GMAKE=	yes
USE_GNOME=	glib20 gtk20 libglade2
USE_GL=		glut
GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--enable-gamess --enable-mpqc --enable-openbabel --enable-gtk --enable-threads --enable-mopac7
PLIST_SUB=	GHEMICAL_VERSION="${PORTVERSION}"

MAKE_ENV=	PKG_CONFIG=${LOCALBASE}/pkg-config

NO_STAGE=	yes
.include <bsd.port.mk>