aboutsummaryrefslogtreecommitdiffstats
path: root/science/kalzium/Makefile
blob: 96bc7fcc1b9c5dce5413725590675405ebe0da56 (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
# $FreeBSD$

PORTNAME=   kalzium
PORTVERSION=    ${KDE4_VERSION}
CATEGORIES= science kde
MASTER_SITES=   KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR=    KDE/${PORTVERSION}

MAINTAINER= kde@FreeBSD.org
COMMENT=    Periodic table of elements for KDE 4

LIB_DEPENDS=    libopenbabel.so:${PORTSDIR}/science/openbabel \
        libavogadro.so:${PORTSDIR}/science/avogadro
BUILD_DEPENDS=  ${LOCALBASE}/libdata/pkgconfig/eigen2.pc:${PORTSDIR}/math/eigen2 \
        ${LOCALBASE}/libdata/pkgconfig/eigen3.pc:${PORTSDIR}/math/eigen3 \
        ${LOCALBASE}/lib/ocaml/facile/facile.a:${PORTSDIR}/math/facile \
        ${LOCALBASE}/libdata/pkgconfig/chemical-mime-data.pc:${PORTSDIR}/science/chemical-mime-data
RUN_DEPENDS=    ${LOCALBASE}/libdata/pkgconfig/chemical-mime-data.pc:${PORTSDIR}/science/chemical-mime-data

USE_KDE4=   kdelibs kdeprefix automoc4
USES=       cmake:outsource pkgconfig tar:xz
USE_OCAML=  yes
NO_OCAML_RUNDEPENDS=    yes
USE_QT4=    corelib declarative designer opengl script xml \
        moc_build qmake_build rcc_build uic_build
USE_LDCONFIG=   yes

.include <bsd.port.mk>