aboutsummaryrefslogtreecommitdiffstats
path: root/science/gchemutils/Makefile
blob: 50bfcf302704059f96a4c1b159e321b124c16457 (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
# New ports collection makefile for:    gchemutils
# Date created:         Mar 18, 2003
# Whom:             Pav Lucistnik <pav@oook.cz>
#
# $FreeBSD$

PORTNAME=   gchemutils
PORTVERSION=    0.6.1
CATEGORIES= science
MASTER_SITES=   ${MASTER_SITE_SAVANNAH}
MASTER_SITE_SUBDIR= ${PORTNAME}
DISTNAME=   gnome-chemistry-utils-${PORTVERSION}

MAINTAINER= pav@FreeBSD.org
COMMENT=    C++ classes and Gtk2 widgets related to chemistry

LIB_DEPENDS=    gtkglext-x11-1.0.2:${PORTSDIR}/x11-toolkits/gtkglext \
        openbabel.1:${PORTSDIR}/science/openbabel \
        goffice-1.2:${PORTSDIR}/devel/goffice

USE_BZIP2=  yes
USE_X_PREFIX=   yes
USE_GNOME=  gnomehack gnomeprefix intlhack libglade2 libgnomeprintui libgnomeui
USE_GMAKE=  yes
GNU_CONFIGURE=  yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=     does not link with openbabel
.endif

.include <bsd.port.post.mk>