2003-04-08 02:04:57 +02:00
|
|
|
# New ports collection makefile for: gchemutils
|
|
|
|
# Date created: Mar 18, 2003
|
|
|
|
# Whom: Pav Lucistnik <pav@oook.cz>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2007-10-25 01:37:25 +02:00
|
|
|
#
|
2003-04-08 02:04:57 +02:00
|
|
|
|
|
|
|
PORTNAME= gchemutils
|
2009-11-18 15:58:11 +01:00
|
|
|
PORTVERSION= 0.10.9
|
2009-12-18 07:39:57 +01:00
|
|
|
PORTREVISION= 3
|
2003-04-08 02:04:57 +02:00
|
|
|
CATEGORIES= science
|
2004-01-29 17:43:47 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
|
2009-01-13 19:17:55 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}/0.10
|
2003-04-08 02:04:57 +02:00
|
|
|
DISTNAME= gnome-chemistry-utils-${PORTVERSION}
|
|
|
|
|
2003-11-14 02:10:23 +01:00
|
|
|
MAINTAINER= pav@FreeBSD.org
|
2003-04-08 02:04:57 +02:00
|
|
|
COMMENT= C++ classes and Gtk2 widgets related to chemistry
|
|
|
|
|
2006-07-26 10:24:25 +02:00
|
|
|
LIB_DEPENDS= gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext \
|
2007-05-25 00:22:53 +02:00
|
|
|
openbabel.3:${PORTSDIR}/science/openbabel \
|
2009-01-13 19:17:55 +01:00
|
|
|
goffice-0.8.7:${PORTSDIR}/devel/goffice
|
2007-05-25 00:22:53 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/bodr.pc:${PORTSDIR}/science/bodr \
|
|
|
|
${LOCALBASE}/libdata/pkgconfig/chemical-mime-data.pc:${PORTSDIR}/science/chemical-mime-data
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/bodr.pc:${PORTSDIR}/science/bodr \
|
|
|
|
${LOCALBASE}/libdata/pkgconfig/chemical-mime-data.pc:${PORTSDIR}/science/chemical-mime-data
|
2007-03-25 14:54:01 +02:00
|
|
|
|
2003-04-08 02:04:57 +02:00
|
|
|
USE_BZIP2= yes
|
2009-08-17 11:22:26 +02:00
|
|
|
USE_GNOME= gnomehack intlhack libglade2 gnomedocutils libgnomecanvas
|
2003-04-08 02:04:57 +02:00
|
|
|
USE_GMAKE= yes
|
2006-09-07 18:40:40 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2003-06-29 21:36:09 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
|
2007-10-25 01:37:25 +02:00
|
|
|
CONFIGURE_ARGS= --with-omf-dir=${PREFIX}/share/omf
|
2007-05-25 00:22:53 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2007-07-27 16:24:00 +02:00
|
|
|
INSTALLS_OMF= yes
|
2009-01-13 19:17:55 +01:00
|
|
|
GCONF_SCHEMAS= gcrystal.schemas gchempaint.schemas gchempaint-arrows.schemas gchemutils.schemas
|
2003-04-08 02:04:57 +02:00
|
|
|
|
2009-01-13 19:17:55 +01:00
|
|
|
MAN1= gchem3d.1 gchemcalc.1 gchempaint.1 gchemtable.1 gcrystal.1 gspectrum.1
|
2006-09-07 18:40:40 +02:00
|
|
|
|
2009-12-18 07:39:57 +01:00
|
|
|
PLIST_SUB= VER=0.10 GOFFICE=0.7.17
|
2006-05-27 00:21:20 +02:00
|
|
|
|
2009-01-13 19:17:55 +01:00
|
|
|
OPTIONS= XUL "Build browser plugin (requires Xulrunner)" off
|
2006-01-05 23:17:47 +01:00
|
|
|
|
2009-01-13 19:17:55 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
2008-12-27 00:09:20 +01:00
|
|
|
|
2009-01-13 19:17:55 +01:00
|
|
|
.if defined(WITH_XUL)
|
2009-11-27 10:10:47 +01:00
|
|
|
USE_GECKO= libxul
|
2006-05-27 00:21:20 +02:00
|
|
|
CONFIGURE_ARGS+=--enable-mozilla-plugin
|
2009-01-13 19:17:55 +01:00
|
|
|
PLIST_SUB+= XUL=""
|
2006-05-27 00:21:20 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--disable-mozilla-plugin
|
2009-01-13 19:17:55 +01:00
|
|
|
PLIST_SUB+= XUL="@comment "
|
2006-05-27 00:21:20 +02:00
|
|
|
.endif
|
|
|
|
|
2009-01-17 20:17:53 +01:00
|
|
|
.if ${OSVERSION} < 700043
|
2009-01-15 09:39:55 +01:00
|
|
|
BROKEN= does not compile
|
|
|
|
.endif
|
|
|
|
|
2006-01-05 23:17:47 +01:00
|
|
|
.include <bsd.port.post.mk>
|