aboutsummaryrefslogtreecommitdiffstats
path: root/science/libghemical/Makefile
blob: 461544576f7a6d63c076a26a226ddc64cedeab10 (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
36
37
38
39
40
41
42
43
# New ports collection makefile for: libghemical
# Date created:         July 3, 2006
# Whom:             Nakata Maho <maho@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   libghemical
PORTVERSION=    2.99.1
CATEGORIES= science
MASTER_SITES=   http://www.uku.fi/~thassine/projects/download/release20090911/ \
        http://bioinformatics.org/ghemical/download/
DISTNAME=   ${PORTNAME}-${PORTVERSION}

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

BUILD_DEPENDS=  openbabel:${PORTSDIR}/science/openbabel \
        mopac7:${PORTSDIR}/biology/mopac \
        intltool-update:${PORTSDIR}/textproc/intltool \
        ld:${PORTSDIR}/devel/binutils
LIB_DEPENDS+=   mpqc:${PORTSDIR}/science/mpqc \
        f2c:${PORTSDIR}/lang/f2c

BROKEN=     does not compile

USE_GMAKE=  yes
USE_GNOME=  pkgconfig
USE_GL=     gl
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

USE_FORTRAN=    yes
USE_AUTOTOOLS=  autoconf:262 libtool:22 automake:110
CONFIGURE_ARGS+=    --enable-mpqc
PLIST_SUB=  LIBGHEMICAL_VERSION="${PORTVERSION}"

.include <bsd.port.pre.mk>

pre-build:
    ${RM} -f ${WRKSRC}/libtool
    ${LN} -sf ${LIBTOOL} ${WRKSRC}/libtool

.include <bsd.port.post.mk>