blob: 81736b5cd85d183b89c90755bdad06d50236bf9f (
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
44
45
46
47
48
49
50
51
|
# New ports collection makefile for: gchemutils
# Date created: Mar 18, 2003
# Whom: Pav Lucistnik <pav@oook.cz>
#
# $FreeBSD$
PORTNAME= gchemutils
PORTVERSION= 0.6.3
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.0:${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
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --mandir=${PREFIX}/man
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
MAN1= gchem3d-viewer.1 gchemcalc.1 gchemtable.1
MAN3= libgcu.3
OPTIONS= MOZILLA "Build mozilla plugin" off
.include <bsd.port.pre.mk>
.if defined(WITH_MOZILLA)
USE_GECKO= mozilla
.include "${PORTSDIR}/www/mozilla/bsd.gecko.mk"
CONFIGURE_ARGS+=--enable-mozilla-plugin
PLIST_SUB= MOZILLA=""
.else
CONFIGURE_ARGS+=--disable-mozilla-plugin
PLIST_SUB= MOZILLA="@comment "
.endif
.if ${OSVERSION} < 500000
BROKEN= does not link with openbabel
.endif
.include <bsd.port.post.mk>
|