freebsd-ports/science/gchemutils/Makefile

60 lines
1.8 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: gchemutils
# Date created: Mar 18, 2003
# Whom: Pav Lucistnik <pav@oook.cz>
#
# $FreeBSD$
#
PORTNAME= gchemutils
2009-11-18 15:58:11 +01:00
PORTVERSION= 0.10.9
2009-12-18 07:39:57 +01:00
PORTREVISION= 3
CATEGORIES= science
MASTER_SITES= ${MASTER_SITE_SAVANNAH}
2009-01-13 19:17:55 +01:00
MASTER_SITE_SUBDIR= ${PORTNAME}/0.10
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 \
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
USE_BZIP2= yes
USE_GNOME= gnomehack intlhack libglade2 gnomedocutils libgnomecanvas
USE_GMAKE= yes
2006-09-07 18:40:40 +02:00
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
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
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>
2009-01-13 19:17:55 +01:00
.if defined(WITH_XUL)
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
.if ${OSVERSION} < 700043
BROKEN= does not compile
.endif
2006-01-05 23:17:47 +01:00
.include <bsd.port.post.mk>