2000-10-05 01:32:21 +00:00
#-*- mode: Fundamental; tab-width: 4; -*-
# ex:ts=4
#
# $FreeBSD$
# $NetBSD: $
2006-10-14 08:35:50 +00:00
# $MCom: ports/Mk/bsd.gnome.mk,v 1.401 2006/08/05 05:25:55 marcus Exp $
2000-10-05 01:32:21 +00:00
#
# Please view me with 4 column tabs!
2004-02-03 21:26:54 +00:00
. i f ! d e f i n e d ( _ P O S T M K I N C L U D E D ) & & ! d e f i n e d ( G n o m e _ P r e _ I n c l u d e )
2000-10-05 01:32:21 +00:00
2003-04-04 06:44:22 +00:00
# Please make sure all changes to this file are passed through the maintainer.
2000-10-05 01:32:21 +00:00
# Do not commit them yourself (unless of course you're the Port's Wraith ;).
2001-05-11 16:36:50 +00:00
Gnome_Include_MAINTAINER = gnome@FreeBSD.org
2004-02-03 21:26:54 +00:00
Gnome_Pre_Include = bsd.gnome.mk
2000-10-05 01:32:21 +00:00
2003-04-04 06:44:22 +00:00
# This section defines possible names of GNOME components and all information
# necessary for ports to use those components.
# Ports can use this as follows:
#
# USE_GNOME= gnomeprint bonobo
#
# .include <bsd.port.mk>
#
# As a result proper LIB_DEPENDS/RUN_DEPENDS will be added and CONFIGURE_ENV
# and MAKE_ENV defined.
2004-11-07 22:24:32 +00:00
#
#
# GCONF_SCHEMAS - Set the following to list of all schema files
# that your port installs. These schema files and
# %gconf.xml files will be automatically added to
# ${PLIST}. For example, if your port has
2004-11-20 22:35:32 +00:00
# "etc/gconf/schemas/(foo.schemas and bar.schemas)",
2004-11-07 22:24:32 +00:00
# add the following to your Makefile:
# "GCONF_SCHEMAS=foo.schemas bar.schemas".
#
2004-11-16 07:34:58 +00:00
# INSTALLS_OMF - If set, bsd.gnome.mk will automatically scan pkg-plist
# file and add apropriate @exec/@unexec directives for
# each .omf file found to track OMF registration database.
#
2006-04-30 00:58:13 +00:00
# INSTALLS_ICONS - If your port installs Freedesktop-style icons to
# ${LOCALBASE}/share/icons or ${X11BASE}/share/icons, then
# you should use this macro. If the icons are not cached,
# they will not be displayed.
#
2003-04-04 06:44:22 +00:00
2004-01-13 17:36:19 +00:00
# non-version specific components
2005-11-05 05:10:27 +00:00
_USE_GNOME_ALL = esound intlhack intltool lthack ltverhack gnomehack \
2006-05-09 22:21:29 +00:00
referencehack gnomehier gnomemimedata gnomeprefix gnometarget pkgconfig
2004-01-13 17:36:19 +00:00
# GNOME 1 components
2005-03-21 17:47:08 +00:00
_USE_GNOME_ALL += bonobo gal gconf gdkpixbuf glib12 glibwww \
gnomecanvas gnomedb gnomelibs gnomeprint gnomevfs gtk12 \
gtkhtml libcapplet libgda libghttp libglade libxml imlib \
2005-05-16 21:20:23 +00:00
oaf orbit pygnome pygtk
2004-01-13 17:36:19 +00:00
# GNOME 2 components
2005-03-21 17:47:08 +00:00
_USE_GNOME_ALL += atk atspi desktopfileutils eel2 evolutiondataserver \
gail gal2 gconf2 glib20 gnomecontrolcenter2 gnomedesktop \
2005-11-05 05:10:27 +00:00
gnomedocutils gnomemenus gnomepanel gnomespeech gnomevfs2 \
gtk20 gtkhtml3 gtksourceview libartlgpl2 libbonobo \
2006-03-26 23:20:22 +00:00
libbonoboui libgailgnome libgda2 libgda3 libglade2 libgnome \
libgnomecanvas libgnomedb libgnomeprint libgnomeprintui \
libgnomeui libgsf libgsf_gnome libgtkhtml libidl librsvg2 libwnck \
libxml2 libxslt libzvt linc metacity nautilus2 nautiluscdburner \
2006-04-30 00:58:13 +00:00
orbit2 pango pygnome2 pygnomeextras pygtk2 vte pygnomedesktop
2003-04-04 06:44:22 +00:00
SCROLLKEEPER_DIR = /var/db/scrollkeeper
2005-05-20 19:53:59 +00:00
gnomehack_PRE_PATCH = ${ FIND } ${ WRKSRC } -name "Makefile.in*" -type f | ${ XARGS } ${ REINPLACE_CMD } -e \
2003-04-04 06:44:22 +00:00
' s| [ ( ] GNOME_datadir[ ) ] /gnome/| ( datadir) /| g ; \
s| [ ( ] GNOME_datadir[ ) ] /locale| ( prefix) /share/locale| g ; \
s| [ ( ] datadir[ ) ] /locale| ( prefix) /share/locale| g ; \
s| [ ( ] libdir[ ) ] /locale| ( prefix) /share/locale| g ; \
s| [ ( ] gnomedatadir[ ) ] /gnome| ( gnomedatadir) | g ; \
s| [ ( ] datadir[ ) ] /aclocal| ( prefix) /share/aclocal| g ; \
s| [ ( ] datadir[ ) ] /gnome/| ( datadir) /| g ; \
2004-12-21 00:23:18 +00:00
s| [ ( ] datadir[ ) ] /mime/| ( prefix) /share/mime/| g ; \
s| [ ( ] datadir[ ) ] /mime"|(prefix)/share/mime" | g ; \
s| [ ( ] datadir[ ) ] /mime; | ( prefix) /share/mime; | g ; \
s| [ ( ] datadir[ ) ] /mime$$ | ( prefix) /share/mime| g ; \
2006-02-02 07:15:22 +00:00
s| [ ( ] datadir[ ) ] /dbus-1| ( prefix) /share/dbus-1| g ; \
2003-04-04 06:44:22 +00:00
s| [ ( ] libdir[ ) ] /pkgconfig| ( prefix) /libdata/pkgconfig| g ; \
s| [ $$ ] [ ( ] localstatedir[ ) ] /scrollkeeper| ${ SCROLLKEEPER_DIR } | g ; \
2004-12-21 00:23:18 +00:00
s| [ ( ] datadir[ ) ] /icons/hicolor| ( prefix) /share/icons/hicolor| g ; \
2006-06-14 02:51:02 +00:00
s| { datadir} /icons/hicolor| { prefix} /share/icons/hicolor| g ; \
2003-06-02 07:57:27 +00:00
s| [ ( ] libdir[ ) ] /bonobo/servers| ( prefix) /libdata/bonobo/servers| g' ; \
2005-05-20 19:53:59 +00:00
${ FIND } ${ WRKSRC } -name "configure" -type f | ${ XARGS } ${ REINPLACE_CMD } -e \
2003-06-02 07:57:27 +00:00
' s| -lpthread| ${ PTHREAD_LIBS } | g ; \
2004-06-27 17:32:30 +00:00
s| DATADIRNAME = lib| DATADIRNAME = share| g ; \
s| { datadir} /locale| { prefix} /share/locale| g ; \
2005-11-05 05:10:27 +00:00
s| DATADIR/dbus-1/services| prefix/share/dbus-1/services| g ; \
s| datadir/dbus-1/services| prefix/share/dbus-1/services| g ; \
2004-06-27 17:32:30 +00:00
s| { libdir} /locale| { prefix} /share/locale| g'
2003-04-04 06:44:22 +00:00
2006-05-09 22:21:29 +00:00
referencehack_PRE_PATCH = ${ FIND } ${ WRKSRC } -name "Makefile.in" -type f | ${ XARGS } ${ REINPLACE_CMD } -e \
" s|test \"\$ $\$ $installfiles \" = '\$ $( srcdir) /html/\*'|:| "
2005-05-20 19:53:59 +00:00
lthack_PRE_PATCH = ${ FIND } ${ WRKSRC } -name "configure" -type f | ${ XARGS } ${ REINPLACE_CMD } -e \
2004-04-05 02:52:41 +00:00
'/^LIBTOOL_DEPS="$$ac_aux_dir\/ltmain.sh"$$/s|$$|; $$ac_aux_dir/ltconfig $$LIBTOOL_DEPS;|'
2003-09-18 06:58:18 +00:00
2006-10-14 08:35:50 +00:00
GNOME_MTREE_FILE ?= ${ LOCALBASE } /etc/mtree/BSD.gnome.dist
2006-04-30 00:58:13 +00:00
gnomehier_DETECT = ${ GNOME_MTREE_FILE }
2004-01-13 17:36:19 +00:00
gnomehier_RUN_DEPENDS = ${ gnomehier_DETECT } :${ PORTSDIR } /misc/gnomehier
2003-04-04 06:44:22 +00:00
GNOME_HTML_DIR ?= ${ PREFIX } /share/doc
2006-04-30 00:58:13 +00:00
GCONF_CONFIG_OPTIONS ?= merged
GCONF_CONFIG_DIRECTORY ?= etc/gconf/gconf.xml.defaults
2006-08-04 12:34:50 +00:00
GCONF_CONFIG_SOURCE ?= xml:${ GCONF_CONFIG_OPTIONS } :${ TARGETDIR } /${ GCONF_CONFIG_DIRECTORY }
2006-04-30 00:58:13 +00:00
GNOME_LOCALSTATEDIR ?= ${ PREFIX } /share/gnome
2003-04-04 06:44:22 +00:00
gnomeprefix_CONFIGURE_ENV = GTKDOC = "false"
2006-08-04 12:34:50 +00:00
gnomeprefix_CONFIGURE_ARGS = --localstatedir= ${ DESTDIR } ${ GNOME_LOCALSTATEDIR } \
--datadir= ${ TARGETDIR } /share/gnome \
--with-html-dir= ${ DESTDIR } ${ GNOME_HTML_DIR } \
--with-help-dir= ${ TARGETDIR } /share/gnome/help \
2003-04-04 06:44:22 +00:00
--disable-gtk-doc \
2004-11-07 22:24:32 +00:00
--with-gconf-source= ${ GCONF_CONFIG_SOURCE }
2003-04-04 06:44:22 +00:00
gnomeprefix_USE_GNOME_IMPL = gnomehier
2006-10-14 08:35:50 +00:00
. i f ! d e f i n e d ( W I T H O U T _ H A C K )
gnomeprefix_PREFIX = ${ LOCALBASE }
. e n d i f
2003-04-04 06:44:22 +00:00
2006-04-30 04:41:46 +00:00
gnometarget_CONFIGURE_TARGET = --build= ${ MACHINE_ARCH } -portbld-freebsd${ OSREL }
2003-04-19 18:52:05 +00:00
2003-04-04 06:44:22 +00:00
ESD_CONFIG ?= ${ LOCALBASE } /bin/esd-config
esound_LIB_DEPENDS = esd.2:${ PORTSDIR } /audio/esound
esound_CONFIGURE_ENV = ESD_CONFIG = " ${ ESD_CONFIG } "
esound_MAKE_ENV = ESD_CONFIG = " ${ ESD_CONFIG } "
esound_DETECT = ${ ESD_CONFIG }
libghttp_LIB_DEPENDS = ghttp.1:${ PORTSDIR } /www/libghttp
libghttp_DETECT = ${ LOCALBASE } /etc/ghttpConf.sh
GLIB_CONFIG ?= ${ LOCALBASE } /bin/glib12-config
2006-02-23 10:42:21 +00:00
glib12_LIB_DEPENDS = glib-12.3:${ PORTSDIR } /devel/glib12
2003-04-04 06:44:22 +00:00
glib12_CONFIGURE_ENV = GLIB_CONFIG = " ${ GLIB_CONFIG } "
glib12_MAKE_ENV = GLIB_CONFIG = " ${ GLIB_CONFIG } "
glib12_DETECT = ${ GLIB_CONFIG }
2003-06-16 20:47:13 +00:00
glib12_USE_GNOME_IMPL = pkgconfig
2003-04-04 06:44:22 +00:00
2006-10-14 08:35:50 +00:00
GTK_CONFIG ?= ${ LOCALBASE } /bin/gtk12-config
2006-02-23 10:42:21 +00:00
gtk12_LIB_DEPENDS = gtk-12.2:${ PORTSDIR } /x11-toolkits/gtk12
2003-04-04 06:44:22 +00:00
gtk12_CONFIGURE_ENV = GTK_CONFIG = " ${ GTK_CONFIG } "
gtk12_MAKE_ENV = GTK_CONFIG = " ${ GTK_CONFIG } "
gtk12_DETECT = ${ GTK_CONFIG }
gtk12_USE_GNOME_IMPL = glib12
XML_CONFIG ?= ${ LOCALBASE } /bin/xml-config
libxml_LIB_DEPENDS = xml.5:${ PORTSDIR } /textproc/libxml
libxml_CONFIGURE_ENV = XML_CONFIG = " ${ XML_CONFIG } "
libxml_MAKE_ENV = XML_CONFIG = " ${ XML_CONFIG } "
libxml_DETECT = ${ XML_CONFIG }
2003-06-16 21:09:18 +00:00
libxml_USE_GNOME_IMPL = glib12
2003-04-04 06:44:22 +00:00
ORBIT_CONFIG ?= ${ LOCALBASE } /bin/orbit-config
orbit_LIB_DEPENDS = ORBit.2:${ PORTSDIR } /devel/ORBit
orbit_CONFIGURE_ENV = ORBIT_CONFIG = " ${ ORBIT_CONFIG } "
orbit_MAKE_ENV = ORBIT_CONFIG = " ${ ORBIT_CONFIG } "
orbit_DETECT = ${ ORBIT_CONFIG }
2003-06-16 21:09:18 +00:00
orbit_USE_GNOME_IMPL = glib12
2003-04-04 06:44:22 +00:00
2006-10-14 08:35:50 +00:00
GDK_PIXBUF_CONFIG ?= ${ LOCALBASE } /bin/gdk-pixbuf-config
2003-04-04 06:44:22 +00:00
gdkpixbuf_LIB_DEPENDS = gdk_pixbuf.2:${ PORTSDIR } /graphics/gdk-pixbuf
gdkpixbuf_CONFIGURE_ENV = GDK_PIXBUF_CONFIG = " ${ GDK_PIXBUF_CONFIG } "
gdkpixbuf_MAKE_ENV = GDK_PIXBUF_CONFIG = " ${ GDK_PIXBUF_CONFIG } "
gdkpixbuf_DETECT = ${ GDK_PIXBUF_CONFIG }
gdkpixbuf_USE_GNOME_IMPL = gtk12
2006-10-14 08:35:50 +00:00
IMLIB_CONFIG ?= ${ LOCALBASE } /bin/imlib-config
2003-04-04 06:44:22 +00:00
imlib_LIB_DEPENDS = Imlib.5:${ PORTSDIR } /graphics/imlib
imlib_CONFIGURE_ENV = IMLIB_CONFIG = " ${ IMLIB_CONFIG } "
imlib_MAKE_ENV = IMLIB_CONFIG = " ${ IMLIB_CONFIG } "
imlib_DETECT = ${ IMLIB_CONFIG }
imlib_USE_GNOME_IMPL = gtk12
2006-10-14 08:35:50 +00:00
GNOME_CONFIG ?= ${ LOCALBASE } /bin/gnome-config
2006-05-28 19:50:56 +00:00
gnomelibs_LIB_DEPENDS = gnome.5:${ PORTSDIR } /x11/gnome-libs
2003-04-04 06:44:22 +00:00
gnomelibs_CONFIGURE_ENV = GNOME_CONFIG = " ${ GNOME_CONFIG } "
gnomelibs_MAKE_ENV = GNOME_CONFIG = " ${ GNOME_CONFIG } "
gnomelibs_DETECT = ${ GNOME_CONFIG }
gnomelibs_USE_GNOME_IMPL = esound gtk12 imlib libxml orbit
gnomecanvas_LIB_DEPENDS = gnomecanvaspixbuf.1:${ PORTSDIR } /graphics/gnomecanvas
2006-10-14 08:35:50 +00:00
gnomecanvas_DETECT = ${ LOCALBASE } /etc/gnomecanvaspixbufConf.sh
2003-04-04 06:44:22 +00:00
gnomecanvas_USE_GNOME_IMPL = gnomelibs gdkpixbuf
2006-10-14 08:35:50 +00:00
OAF_CONFIG ?= ${ LOCALBASE } /bin/oaf-config
2003-04-04 06:44:22 +00:00
oaf_LIB_DEPENDS = oaf.0:${ PORTSDIR } /devel/oaf
oaf_CONFIGURE_ENV = OAF_CONFIG = " ${ OAF_CONFIG } "
oaf_MAKE_ENV = OAF_CONFIG = " ${ OAF_CONFIG } "
oaf_DETECT = ${ OAF_CONFIG }
oaf_USE_GNOME_IMPL = glib12 orbit libxml
2006-10-14 08:35:50 +00:00
gnomemimedata_DETECT = ${ LOCALBASE } /libdata/pkgconfig/gnome-mime-data-2.0.pc
2006-05-28 12:41:45 +00:00
gnomemimedata_BUILD_DEPENDS = ${ gnomemimedata_DETECT } :${ PORTSDIR } /misc/gnome-mime-data
gnomemimedata_RUN_DEPENDS = ${ gnomemimedata_DETECT } :${ PORTSDIR } /misc/gnome-mime-data
2003-06-16 20:47:13 +00:00
gnomemimedata_USE_GNOME_IMPL = gnomehier pkgconfig
2003-04-04 06:44:22 +00:00
2006-10-14 08:35:50 +00:00
GCONF_CONFIG ?= ${ LOCALBASE } /bin/gconf-config
2003-04-04 06:44:22 +00:00
gconf_LIB_DEPENDS = gconf-1.1:${ PORTSDIR } /devel/gconf
gconf_CONFIGURE_ENV = GCONF_CONFIG = " ${ GCONF_CONFIG } "
gconf_MAKE_ENV = GCONF_CONFIG = " ${ GCONF_CONFIG } "
gconf_DETECT = ${ GCONF_CONFIG }
gconf_USE_GNOME_IMPL = oaf
2006-10-14 08:35:50 +00:00
GNOME_VFS_CONFIG ?= ${ LOCALBASE } /bin/gnome-vfs-config
2006-05-28 16:11:40 +00:00
gnomevfs_LIB_DEPENDS = gnomevfs.0:${ PORTSDIR } /devel/gnome-vfs1
2003-04-04 06:44:22 +00:00
gnomevfs_CONFIGURE_ENV = GNOME_VFS_CONFIG = " ${ GNOME_VFS_CONFIG } "
gnomevfs_MAKE_ENV = GNOME_VFS_CONFIG = " ${ GNOME_VFS_CONFIG } "
gnomevfs_DETECT = ${ GNOME_VFS_CONFIG }
gnomevfs_USE_GNOME_IMPL = gnomemimedata gconf gnomelibs
libcapplet_LIB_DEPENDS = capplet.5:${ PORTSDIR } /x11/libcapplet
2006-10-14 08:35:50 +00:00
libcapplet_DETECT = ${ LOCALBASE } /etc/cappletConf.sh
2003-04-04 06:44:22 +00:00
libcapplet_USE_GNOME_IMPL = gnomelibs
2006-05-28 13:24:05 +00:00
gnomeprint_LIB_DEPENDS = gnomeprint.16:${ PORTSDIR } /print/gnome-print
2006-10-14 08:35:50 +00:00
gnomeprint_DETECT = ${ LOCALBASE } /etc/printConf.sh
2003-04-04 06:44:22 +00:00
gnomeprint_USE_GNOME_IMPL = gnomelibs gnomecanvas
bonobo_LIB_DEPENDS = bonobo.2:${ PORTSDIR } /devel/bonobo
2006-10-14 08:35:50 +00:00
bonobo_DETECT = ${ LOCALBASE } /etc/bonoboConf.sh
2003-04-04 06:44:22 +00:00
bonobo_USE_GNOME_IMPL = oaf gnomeprint
2006-10-14 08:35:50 +00:00
GDA_CONFIG ?= ${ LOCALBASE } /bin/gda-config
2003-04-04 06:44:22 +00:00
libgda_LIB_DEPENDS = gda-client.0:${ PORTSDIR } /databases/libgda
libgda_CONFIGURE_ENV = GDA_CONFIG = " ${ GDA_CONFIG } "
libgda_MAKE_ENV = GDA_CONFIG = " ${ GDA_CONFIG } "
libgda_DETECT = ${ GDA_CONFIG }
libgda_USE_GNOME_IMPL = gconf bonobo
2006-10-14 08:35:50 +00:00
GNOMEDB_CONFIG ?= ${ LOCALBASE } /bin/gnomedb-config
2006-05-28 02:53:21 +00:00
gnomedb_LIB_DEPENDS = gnomedb.0:${ PORTSDIR } /databases/gnome-db
2003-04-04 06:44:22 +00:00
gnomedb_CONFIGURE_ENV = GNOMEDB_CONFIG = " ${ GNOMEDB_CONFIG } "
gnomedb_MAKE_ENV = GNOMEDB_CONFIG = " ${ GNOMEDB_CONFIG } "
gnomedb_DETECT = ${ GNOMEDB_CONFIG }
gnomedb_USE_GNOME_IMPL = libgda
2006-10-14 08:35:50 +00:00
LIBGLADE_CONFIG ?= ${ LOCALBASE } /bin/libglade-config
2003-04-04 06:44:22 +00:00
libglade_LIB_DEPENDS = glade.4:${ PORTSDIR } /devel/libglade
libglade_CONFIGURE_ENV = LIBGLADE_CONFIG = " ${ LIBGLADE_CONFIG } "
libglade_MAKE_ENV = LIBGLADE_CONFIG = " ${ LIBGLADE_CONFIG } "
libglade_DETECT = ${ LIBGLADE_CONFIG }
libglade_USE_GNOME_IMPL = gnomedb
gal_LIB_DEPENDS = gal.23:${ PORTSDIR } /x11-toolkits/gal
2006-10-14 08:35:50 +00:00
gal_DETECT = ${ LOCALBASE } /etc/galConf.sh
2003-04-04 06:44:22 +00:00
gal_USE_GNOME_IMPL = libglade
glibwww_LIB_DEPENDS = glibwww.1:${ PORTSDIR } /www/glibwww
2006-10-14 08:35:50 +00:00
glibwww_DETECT = ${ LOCALBASE } /etc/glibwwwConf.sh
2003-04-04 06:44:22 +00:00
glibwww_USE_GNOME_IMPL = gnomelibs
gtkhtml_LIB_DEPENDS = gtkhtml-1.1.3:${ PORTSDIR } /www/gtkhtml
2006-10-14 08:35:50 +00:00
gtkhtml_DETECT = ${ LOCALBASE } /etc/gtkhtmlConf.sh
2003-04-04 06:44:22 +00:00
gtkhtml_USE_GNOME_IMPL = glibwww gal libghttp libcapplet
2006-04-30 00:58:13 +00:00
pygtk_DETECT = ${ LOCALBASE } /bin/pygtk-codegen-1.2
2004-01-13 17:36:19 +00:00
pygtk_BUILD_DEPENDS = ${ pygtk_DETECT } :${ PORTSDIR } /x11-toolkits/py-gtk
pygtk_RUN_DEPENDS = ${ pygtk_DETECT } :${ PORTSDIR } /x11-toolkits/py-gtk
pygtk_USE_GNOME_IMPL = gnomelibs gdkpixbuf libglade
2006-04-30 00:58:13 +00:00
pygnome_DETECT = ${ LOCALBASE } /share/pygtk/1.2/defs/applet.defs
2004-01-13 17:36:19 +00:00
pygnome_BUILD_DEPENDS = ${ pygnome_DETECT } :${ PORTSDIR } /x11-toolkits/py-gnome
pygnome_RUN_DEPENDS = ${ pygnome_DETECT } :${ PORTSDIR } /x11-toolkits/py-gnome
pygnome_USE_GNOME_IMPL = gtkhtml pygtk
2005-11-05 05:10:27 +00:00
glib20_LIB_DEPENDS = glib-2.0.0:${ PORTSDIR } /devel/glib20
2003-04-04 06:44:22 +00:00
glib20_DETECT = ${ LOCALBASE } /libdata/pkgconfig/glib-2.0.pc
2003-06-16 20:47:13 +00:00
glib20_USE_GNOME_IMPL = gnometarget pkgconfig
2003-04-04 06:44:22 +00:00
2005-11-05 05:10:27 +00:00
atk_LIB_DEPENDS = atk-1.0.0:${ PORTSDIR } /accessibility/atk
2003-04-04 06:44:22 +00:00
atk_DETECT = ${ LOCALBASE } /libdata/pkgconfig/atk.pc
atk_USE_GNOME_IMPL = glib20
2005-11-05 05:10:27 +00:00
pango_LIB_DEPENDS = pango-1.0.0:${ PORTSDIR } /x11-toolkits/pango
2006-10-14 08:35:50 +00:00
pango_DETECT = ${ LOCALBASE } /libdata/pkgconfig/pango.pc
2003-04-04 06:44:22 +00:00
pango_USE_GNOME_IMPL = glib20
2005-11-05 05:10:27 +00:00
gtk20_LIB_DEPENDS = gtk-x11-2.0.0:${ PORTSDIR } /x11-toolkits/gtk20
2006-10-14 08:35:50 +00:00
gtk20_DETECT = ${ LOCALBASE } /libdata/pkgconfig/gtk+-x11-2.0.pc
2004-01-20 09:19:07 +00:00
gtk20_USE_GNOME_IMPL = intltool atk pango
2006-10-14 08:35:50 +00:00
GTK2_VERSION = 2.10.0
2003-04-04 06:44:22 +00:00
linc_LIB_DEPENDS = linc.1:${ PORTSDIR } /net/linc
linc_DETECT = ${ LOCALBASE } /libdata/pkgconfig/linc.pc
2003-09-18 06:58:18 +00:00
linc_USE_GNOME_IMPL = glib20
2003-04-04 06:44:22 +00:00
libidl_LIB_DEPENDS = IDL-2.0:${ PORTSDIR } /devel/libIDL
libidl_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libIDL-2.0.pc
libidl_USE_GNOME_IMPL = glib20
orbit2_LIB_DEPENDS = ORBit-2.0:${ PORTSDIR } /devel/ORBit2
orbit2_DETECT = ${ LOCALBASE } /libdata/pkgconfig/ORBit-2.0.pc
2003-09-18 06:58:18 +00:00
orbit2_USE_GNOME_IMPL = libidl
2003-04-04 06:44:22 +00:00
libglade2_LIB_DEPENDS = glade-2.0.0:${ PORTSDIR } /devel/libglade2
2006-10-14 08:35:50 +00:00
libglade2_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libglade-2.0.pc
2003-04-04 06:44:22 +00:00
libglade2_USE_GNOME_IMPL = libxml2 gtk20
libxml2_LIB_DEPENDS = xml2.5:${ PORTSDIR } /textproc/libxml2
libxml2_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libxml-2.0.pc
2003-06-16 20:47:13 +00:00
libxml2_USE_GNOME_IMPL = pkgconfig
2003-04-04 06:44:22 +00:00
2003-11-04 18:22:56 +00:00
libxslt_LIB_DEPENDS = xslt.2:${ PORTSDIR } /textproc/libxslt
2003-04-04 06:44:22 +00:00
libxslt_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libxslt.pc
libxslt_USE_GNOME_IMPL = libxml2
libbonobo_LIB_DEPENDS = bonobo-2.0:${ PORTSDIR } /devel/libbonobo
libbonobo_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libbonobo-2.0.pc
2003-09-18 06:58:18 +00:00
libbonobo_USE_GNOME_IMPL = libxml2 orbit2
2003-04-04 06:44:22 +00:00
2005-11-05 05:10:27 +00:00
gconf2_LIB_DEPENDS = gconf-2.4:${ PORTSDIR } /devel/gconf2
2006-10-14 08:35:50 +00:00
gconf2_DETECT = ${ LOCALBASE } /libdata/pkgconfig/gconf-2.0.pc
2003-09-18 06:58:18 +00:00
gconf2_USE_GNOME_IMPL = orbit2 libxml2 gtk20 linc
2003-04-04 06:44:22 +00:00
2006-05-28 16:11:40 +00:00
gnomevfs2_LIB_DEPENDS = gnomevfs-2.0:${ PORTSDIR } /devel/gnome-vfs
2006-10-14 08:35:50 +00:00
gnomevfs2_DETECT = ${ LOCALBASE } /libdata/pkgconfig/gnome-vfs-2.0.pc
2003-04-04 06:44:22 +00:00
gnomevfs2_USE_GNOME_IMPL = gconf2 libbonobo gnomemimedata
2006-10-14 08:35:50 +00:00
gail_LIB_DEPENDS = gailutil.18:${ PORTSDIR } /accessibility/gail
gail_DETECT = ${ LOCALBASE } /libdata/pkgconfig/gail.pc
2003-04-04 06:44:22 +00:00
gail_USE_GNOME_IMPL = libgnomecanvas
2005-11-05 05:10:27 +00:00
libgnomecanvas_LIB_DEPENDS = gnomecanvas-2.0:${ PORTSDIR } /graphics/libgnomecanvas
2006-10-14 08:35:50 +00:00
libgnomecanvas_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libgnomecanvas-2.0.pc
2003-04-04 06:44:22 +00:00
libgnomecanvas_USE_GNOME_IMPL = libglade2 libartlgpl2
2006-05-28 13:37:06 +00:00
libartlgpl2_LIB_DEPENDS = art_lgpl_2.5:${ PORTSDIR } /graphics/libart_lgpl
2003-04-04 06:44:22 +00:00
libartlgpl2_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libart-2.0.pc
2004-01-13 17:36:19 +00:00
libartlgpl2_USE_GNOME_IMPL = pkgconfig
2003-04-04 06:44:22 +00:00
2005-11-05 05:10:27 +00:00
libgnomeprint_LIB_DEPENDS = gnomeprint-2-2.0:${ PORTSDIR } /print/libgnomeprint
2006-10-14 08:35:50 +00:00
libgnomeprint_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libgnomeprint-2.2.pc
2005-11-05 05:10:27 +00:00
libgnomeprint_USE_GNOME_IMPL = libbonobo libartlgpl2 gtk20
2003-04-04 06:44:22 +00:00
2005-11-05 05:10:27 +00:00
libgnomeprintui_LIB_DEPENDS = gnomeprintui-2-2.0:${ PORTSDIR } /x11-toolkits/libgnomeprintui
2006-10-14 08:35:50 +00:00
libgnomeprintui_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libgnomeprintui-2.2.pc
2003-04-04 06:44:22 +00:00
libgnomeprintui_USE_GNOME_IMPL = libgnomeprint libgnomecanvas
2005-11-05 05:10:27 +00:00
libgnome_LIB_DEPENDS = gnome-2.0:${ PORTSDIR } /x11/libgnome
2006-10-14 08:35:50 +00:00
libgnome_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libgnome-2.0.pc
2003-04-04 06:44:22 +00:00
libgnome_USE_GNOME_IMPL = libxslt gnomevfs2 esound
libbonoboui_LIB_DEPENDS = bonoboui-2.0:${ PORTSDIR } /x11-toolkits/libbonoboui
2006-10-14 08:35:50 +00:00
libbonoboui_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libbonoboui-2.0.pc
2003-04-04 06:44:22 +00:00
libbonoboui_USE_GNOME_IMPL = libgnomecanvas libgnome
2005-11-05 05:10:27 +00:00
libgnomeui_LIB_DEPENDS = gnomeui-2.0:${ PORTSDIR } /x11-toolkits/libgnomeui
2006-10-14 08:35:50 +00:00
libgnomeui_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libgnomeui-2.0.pc
2003-04-04 06:44:22 +00:00
libgnomeui_USE_GNOME_IMPL = libbonoboui
2004-11-07 22:24:32 +00:00
atspi_LIB_DEPENDS = spi.10:${ PORTSDIR } /accessibility/at-spi
2006-10-14 08:35:50 +00:00
atspi_DETECT = ${ LOCALBASE } /libdata/pkgconfig/cspi-1.0.pc
2003-09-18 06:58:18 +00:00
atspi_USE_GNOME_IMPL = gail libbonobo
2003-04-04 06:44:22 +00:00
2006-10-14 08:35:50 +00:00
libgailgnome_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libgail-gnome.pc
2004-01-13 17:36:19 +00:00
libgailgnome_RUN_DEPENDS = ${ libgailgnome_DETECT } :${ PORTSDIR } /x11-toolkits/libgail-gnome
2003-04-04 06:44:22 +00:00
libgailgnome_USE_GNOME_IMPL = libgnomeui atspi
libgtkhtml_LIB_DEPENDS = gtkhtml-2.0:${ PORTSDIR } /www/libgtkhtml
2006-10-14 08:35:50 +00:00
libgtkhtml_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libgtkhtml-2.0.pc
2003-04-04 06:44:22 +00:00
libgtkhtml_USE_GNOME_IMPL = libxslt gnomevfs2 gail
2006-05-28 19:27:48 +00:00
gnomedesktop_LIB_DEPENDS = gnome-desktop-2.2:${ PORTSDIR } /x11/gnome-desktop
2006-10-14 08:35:50 +00:00
gnomedesktop_DETECT = ${ LOCALBASE } /libdata/pkgconfig/gnome-desktop-2.0.pc
2006-03-28 01:20:44 +00:00
gnomedesktop_USE_GNOME_IMPL = libgnomeui gnomedocutils
2003-04-04 06:44:22 +00:00
gnomedesktop_GNOME_DESKTOP_VERSION = 2
2005-11-05 05:10:27 +00:00
libwnck_LIB_DEPENDS = wnck-1.18:${ PORTSDIR } /x11-toolkits/libwnck
2006-10-14 08:35:50 +00:00
libwnck_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libwnck-1.0.pc
2003-04-04 06:44:22 +00:00
libwnck_USE_GNOME_IMPL = gtk20
2006-10-14 08:35:50 +00:00
vte_LIB_DEPENDS = vte.9:${ PORTSDIR } /x11-toolkits/vte
vte_DETECT = ${ LOCALBASE } /libdata/pkgconfig/vte.pc
2003-04-04 06:44:22 +00:00
vte_USE_GNOME_IMPL = gtk20
libzvt_LIB_DEPENDS = zvt-2.0.0:${ PORTSDIR } /x11-toolkits/libzvt
2006-10-14 08:35:50 +00:00
libzvt_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libzvt-2.0.pc
2003-04-04 06:44:22 +00:00
libzvt_USE_GNOME_IMPL = gtk20
2005-11-05 05:10:27 +00:00
librsvg2_LIB_DEPENDS = rsvg-2.2:${ PORTSDIR } /graphics/librsvg2
2006-10-14 08:35:50 +00:00
librsvg2_DETECT = ${ LOCALBASE } /libdata/pkgconfig/librsvg-2.0.pc
2006-04-30 00:58:13 +00:00
librsvg2_USE_GNOME_IMPL = libgsf gtk20
2003-04-04 06:44:22 +00:00
2005-11-05 05:10:27 +00:00
eel2_LIB_DEPENDS = eel-2.2:${ PORTSDIR } /x11-toolkits/eel
2006-10-14 08:35:50 +00:00
eel2_DETECT = ${ LOCALBASE } /libdata/pkgconfig/eel-2.0.pc
2005-03-12 10:40:28 +00:00
eel2_USE_GNOME_IMPL = gnomemenus gnomedesktop gail
2003-04-04 06:44:22 +00:00
2006-05-28 20:05:19 +00:00
gnomepanel_LIB_DEPENDS = panel-applet-2.0:${ PORTSDIR } /x11/gnome-panel
2006-10-14 08:35:50 +00:00
gnomepanel_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libpanelapplet-2.0.pc
2006-04-30 00:58:13 +00:00
gnomepanel_USE_GNOME_IMPL = gnomedesktop libwnck gnomemenus gnomedocutils
2003-04-04 06:44:22 +00:00
gnomepanel_GNOME_DESKTOP_VERSION = 2
2006-05-29 05:32:31 +00:00
nautilus2_LIB_DEPENDS = nautilus-extension.1:${ PORTSDIR } /x11-fm/nautilus
2006-10-14 08:35:50 +00:00
nautilus2_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libnautilus-extension.pc
2006-04-30 00:58:13 +00:00
nautilus2_USE_GNOME_IMPL = librsvg2 eel2 gnomedesktop desktopfileutils
2003-04-04 06:44:22 +00:00
nautilus2_GNOME_DESKTOP_VERSION = 2
metacity_LIB_DEPENDS = metacity-private.0:${ PORTSDIR } /x11-wm/metacity
2006-10-14 08:35:50 +00:00
metacity_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libmetacity-private.pc
2006-04-30 00:58:13 +00:00
metacity_USE_GNOME_IMPL = gconf2
2003-04-04 06:44:22 +00:00
2005-03-12 10:40:28 +00:00
gal2_LIB_DEPENDS = gal-2.4.0:${ PORTSDIR } /x11-toolkits/gal2
2006-10-14 08:35:50 +00:00
gal2_DETECT = ${ LOCALBASE } /libdata/pkgconfig/gal-2.4.pc
2003-04-04 06:44:22 +00:00
gal2_USE_GNOME_IMPL = gnomeui libgnomeprintui
2006-05-28 15:30:03 +00:00
gnomecontrolcenter2_LIB_DEPENDS = gnome-window-settings.1:${ PORTSDIR } /sysutils/gnome-control-center
2006-10-14 08:35:50 +00:00
gnomecontrolcenter2_DETECT = ${ LOCALBASE } /libdata/pkgconfig/gnome-window-settings-2.0.pc
2006-04-30 00:58:13 +00:00
gnomecontrolcenter2_USE_GNOME_IMPL = desktopfileutils gnomedesktop gnomemenus metacity nautilus2 desktopfileutils
2003-04-13 19:49:40 +00:00
2006-03-26 23:20:22 +00:00
libgda2_LIB_DEPENDS = gda-2.3:${ PORTSDIR } /databases/libgda2
2006-10-14 08:35:50 +00:00
libgda2_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libgda.pc
2003-04-13 19:49:40 +00:00
libgda2_USE_GNOME_IMPL = glib20 libxslt
2006-03-26 23:20:22 +00:00
libgda3_LIB_DEPENDS = gda-3.3:${ PORTSDIR } /databases/libgda3
2006-10-14 08:35:50 +00:00
libgda3_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libgda-2.0.pc
2006-03-26 23:20:22 +00:00
libgda3_USE_GNOME_IMPL = glib20 libxslt
2005-11-05 05:10:27 +00:00
libgnomedb_LIB_DEPENDS = gnomedb-3.4:${ PORTSDIR } /databases/libgnomedb
2006-10-14 08:35:50 +00:00
libgnomedb_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libgnomedb.pc
2006-03-26 23:20:22 +00:00
libgnomedb_USE_GNOME_IMPL = libgnomeui libgda3
2003-04-13 19:49:40 +00:00
2003-06-15 21:19:09 +00:00
gtksourceview_LIB_DEPENDS = gtksourceview-1.0.0:${ PORTSDIR } /x11-toolkits/gtksourceview
2006-10-14 08:35:50 +00:00
gtksourceview_DETECT = ${ LOCALBASE } /libdata/pkgconfig/gtksourceview-1.0.pc
2003-06-19 03:33:11 +00:00
gtksourceview_USE_GNOME_IMPL = libgnome libgnomeprintui
2003-06-15 21:19:09 +00:00
2003-06-16 20:47:13 +00:00
pkgconfig_DETECT = ${ LOCALBASE } /bin/pkg-config
2006-05-28 05:47:28 +00:00
pkgconfig_BUILD_DEPENDS = pkg-config:${ PORTSDIR } /devel/pkg-config
pkgconfig_RUN_DEPENDS = pkg-config:${ PORTSDIR } /devel/pkg-config
2003-06-16 20:47:13 +00:00
2006-04-30 00:58:13 +00:00
libgsf_LIB_DEPENDS = gsf-1.114:${ PORTSDIR } /devel/libgsf
2006-10-14 08:35:50 +00:00
libgsf_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libgsf-1.pc
2006-04-30 00:58:13 +00:00
libgsf_USE_GNOME_IMPL = gconf2 glib20 libxml2
2004-05-22 20:56:52 +00:00
2006-04-30 00:58:13 +00:00
libgsf_gnome_LIB_DEPENDS = gsf-gnome-1.114:${ PORTSDIR } /devel/libgsf-gnome
2006-10-14 08:35:50 +00:00
libgsf_gnome_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libgsf-gnome-1.pc
2004-05-22 21:09:11 +00:00
libgsf_gnome_USE_GNOME_IMPL = libgsf gnomevfs2
2003-06-16 20:47:13 +00:00
2006-04-30 00:58:13 +00:00
pygtk2_DETECT = ${ LOCALBASE } /libdata/pkgconfig/pygtk-2.0.pc
2004-01-13 17:36:19 +00:00
pygtk2_BUILD_DEPENDS = ${ pygtk2_DETECT } :${ PORTSDIR } /x11-toolkits/py-gtk2
pygtk2_RUN_DEPENDS = ${ pygtk2_DETECT } :${ PORTSDIR } /x11-toolkits/py-gtk2
pygtk2_USE_GNOME_IMPL = libglade2
2006-04-30 00:58:13 +00:00
pygnome2_DETECT = ${ LOCALBASE } /libdata/pkgconfig/gnome-python-2.0.pc
2004-01-13 17:36:19 +00:00
pygnome2_BUILD_DEPENDS = ${ pygnome2_DETECT } :${ PORTSDIR } /x11-toolkits/py-gnome2
pygnome2_RUN_DEPENDS = ${ pygnome2_DETECT } :${ PORTSDIR } /x11-toolkits/py-gnome2
2005-03-12 10:40:28 +00:00
pygnome2_USE_GNOME_IMPL = libgnomeui pygtk2
2004-01-13 17:36:19 +00:00
2004-01-20 09:19:07 +00:00
intltool_DETECT = ${ LOCALBASE } /bin/intltool-extract
intltool_BUILD_DEPENDS = ${ intltool_DETECT } :${ PORTSDIR } /textproc/intltool
2004-01-13 17:36:19 +00:00
intlhack_PRE_PATCH = ${ FIND } ${ WRKSRC } -name "intltool-merge.in" | ${ XARGS } ${ REINPLACE_CMD } -e \
2004-04-05 02:52:41 +00:00
' s| mkdir $$ lang or| mkdir $$ lang, 0777 or| ; \
2004-11-07 22:24:32 +00:00
s| ^push @INC, "/.*|push @INC, " ${ LOCALBASE } /share/intltool" ;| ; \
2004-12-07 03:01:33 +00:00
s| /usr/bin/iconv| ${ LOCALBASE } /bin/iconv| g ; \
2004-11-07 22:24:32 +00:00
s| unpack *[ ( ] '"' "'U\*'" '"' | unpack ( '"' "'C*'" '"' | '
2004-01-20 09:19:07 +00:00
intlhack_USE_GNOME_IMPL = intltool
2005-11-05 05:10:27 +00:00
gtkhtml3_LIB_DEPENDS = gtkhtml-3.8.15:${ PORTSDIR } /www/gtkhtml3
2006-10-14 08:35:50 +00:00
gtkhtml3_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libgtkhtml-3.8.pc
2004-11-07 22:24:32 +00:00
gtkhtml3_USE_GNOME_IMPL = gail libgnomeui libgnomeprintui
2004-01-13 17:36:19 +00:00
2006-05-28 00:57:24 +00:00
gnomespeech_LIB_DEPENDS = gnomespeech.7:${ PORTSDIR } /accessibility/gnome-speech
2004-04-29 00:04:47 +00:00
gnomespeech_DETECT = ${ LOCALBASE } /libdata/pkgconfig/gnome-speech-1.0.pc
gnomespeech_USE_GNOME_IMPL = libbonobo
2006-04-30 00:58:13 +00:00
evolutiondataserver_LIB_DEPENDS = edataserver-1.2.7:${ PORTSDIR } /databases/evolution-data-server
2006-10-14 08:35:50 +00:00
evolutiondataserver_DETECT = ${ LOCALBASE } /libdata/pkgconfig/evolution-data-server-1.2.pc
2006-04-30 00:58:13 +00:00
evolutiondataserver_USE_GNOME_IMPL = libgnomeui
2004-11-07 22:24:32 +00:00
2004-08-14 18:54:02 +00:00
desktopfileutils_RUN_DEPENDS = update-desktop-database:${ PORTSDIR } /devel/desktop-file-utils
2004-12-29 02:23:30 +00:00
desktopfileutils_DETECT = ${ LOCALBASE } /bin/update-desktop-database
2004-08-14 18:54:02 +00:00
desktopfileutils_USE_GNOME_IMPL = glib20
2006-10-14 08:35:50 +00:00
nautiluscdburner_LIB_DEPENDS = nautilus-burn.4:${ PORTSDIR } /sysutils/nautilus-cd-burner
nautiluscdburner_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libnautilus-burn.pc
2005-03-12 10:40:28 +00:00
nautiluscdburner_USE_GNOME_IMPL = nautilus2
2005-11-05 05:10:27 +00:00
gnomemenus_LIB_DEPENDS = gnome-menu.2:${ PORTSDIR } /x11/gnome-menus
2006-10-14 08:35:50 +00:00
gnomemenus_DETECT = ${ LOCALBASE } /libdata/pkgconfig/libgnome-menu.pc
2005-03-12 10:40:28 +00:00
gnomemenus_USE_GNOME_IMPL = gnomevfs2
2006-04-30 00:58:13 +00:00
pygnomeextras_DETECT = ${ LOCALBASE } /libdata/pkgconfig/gnome-python-extras-2.0.pc
2005-03-16 15:26:10 +00:00
pygnomeextras_BUILD_DEPENDS = ${ pygnomeextras_DETECT } :${ PORTSDIR } /x11-toolkits/py-gnome-extras
pygnomeextras_RUN_DEPENDS = ${ pygnomeextras_DETECT } :${ PORTSDIR } /x11-toolkits/py-gnome-extras
2006-04-30 00:58:13 +00:00
pygnomeextras_USE_GNOME_IMPL = pygnome2 libgtkhtml
2005-03-12 10:40:28 +00:00
2006-10-14 08:35:50 +00:00
gnomedocutils_DETECT = ${ LOCALBASE } /libdata/pkgconfig/gnome-doc-utils.pc
2006-05-28 15:41:18 +00:00
gnomedocutils_BUILD_DEPENDS = ${ gnomedocutils_DETECT } :${ PORTSDIR } /textproc/gnome-doc-utils
gnomedocutils_RUN_DEPENDS = ${ gnomedocutils_DETECT } :${ PORTSDIR } /textproc/gnome-doc-utils
2005-11-05 05:10:27 +00:00
gnomedocutils_USE_GNOME_IMPL = libxslt
2006-04-30 00:58:13 +00:00
pygnomedesktop_DETECT = ${ LOCALBASE } /libdata/pkgconfig/gnome-python-desktop-2.0.pc
pygnomedesktop_BUILD_DEPENDS = ${ pygnomedesktop_DETECT } :${ PORTSDIR } /x11-toolkits/py-gnome-desktop
pygnomedesktop_RUN_DEPENDS = ${ pygnomedesktop_DETECT } :${ PORTSDIR } /x11-toolkits/py-gnome-desktop
pygnomedesktop_USE_GNOME_IMPL = pygnome2 libgnomeprintui gtksourceview gnomepanel libwnck nautiluscdburner metacity
2003-04-04 06:44:22 +00:00
# End component definition section
2002-12-09 05:09:56 +00:00
# This section defines tests for optional software. These work off four
2003-04-04 06:44:22 +00:00
# types of variables: WANT_GNOME, WITH_GNOME, HAVE_GNOME and USE_GNOME.
# The logic of this is that a port can WANT support for a package; a user
# specifies if they want ports compiled WITH certain features; this section
# tests if we HAVE these features; and the port is then free to USE them.
2000-10-05 01:32:21 +00:00
# The logic of this section is like this:
#
2003-04-04 06:44:22 +00:00
# .if defined(WANT_GNOME) && !defined(WITHOUT_GNOME)
# .for foo in ALL_GNOME_COMPONENTS
# .if defined(WITH_GNOME)
# HAVE_GNOME += foo
# .elif (foo installed)
# HAVE_GNOME += foo
# .else
# Print option message
# .endif
# .endfor
2000-10-05 01:32:21 +00:00
# .endif
#
2003-04-05 07:42:11 +00:00
# Although it appears a little more convoluted in the tests.
2000-10-05 01:32:21 +00:00
# Ports can make use of this like so:
#
2003-04-04 06:44:22 +00:00
# WANT_GNOME= yes
2000-10-05 01:32:21 +00:00
#
# .include <bsd.port.pre.mk>
#
2003-04-04 06:44:22 +00:00
# .if ${HAVE_GNOME:Mfoo}!=""
2000-10-05 01:32:21 +00:00
# ... Do some things ...
2003-04-04 06:44:22 +00:00
# USE_GNOME= foo
2000-10-05 01:32:21 +00:00
# .else
# ... Do some other things ...
# .endif
2003-04-04 06:44:22 +00:00
# If the user has not defined GNOME_DESKTOP_VERSION, let's try to prevent
2004-02-03 21:26:54 +00:00
# users from shooting themselves in the foot. We will try to make an
2003-04-04 06:44:22 +00:00
# intelligent choice on the user's behalf.
. i f e x i s t s ( $ { g n o m e p a n e l _ D E T E C T } )
GNOME_DESKTOP_VERSION ?= 2
2003-08-12 16:25:45 +00:00
#.elif exists(${libpanel_DETECT})
#GNOME_DESKTOP_VERSION?= 1
2000-10-05 01:32:21 +00:00
. e n d i f
2003-04-04 06:44:22 +00:00
# We also check each component to see if it has a desktop requirement. If
# it does, and its requirement disagrees with the user's chosen desktop,
# do not add the component to the HAVE_GNOME list.
2000-10-05 01:32:21 +00:00
2003-04-04 06:44:22 +00:00
_USE_GNOME_SAVED := ${ USE_GNOME }
_USE_GNOME_DESKTOP = yes
HAVE_GNOME ?=
. i f ( d e f i n e d ( W A N T _ G N O M E ) & & ! d e f i n e d ( W I T H O U T _ G N O M E ) )
. f o r c o m p o n e n t i n $ { _ U S E _ G N O M E _ A L L }
. i f d e f i n e d ( G N O M E _ D E S K T O P _ V E R S I O N ) & & \
defined( ${ component } _GNOME_DESKTOP_VERSION)
. i f ${GNOME_DESKTOP_VERSION} = = ${ ${ component } _GNOME_DESKTOP_VERSION }
HAVE_GNOME += ${ component }
. e l s e
_USE_GNOME_DESKTOP = no
. e n d i f
. e l s e
. i f e x i s t s ( $ { $ { c o m p o n e n t } _ D E T E C T } )
HAVE_GNOME += ${ component }
. e l i f d e f i n e d ( W I T H _ G N O M E )
. if ${WITH_GNOME}=="yes" || ${WITH_GNOME : M ${component }}!="" \
|| ${ WITH_GNOME } = = "1"
HAVE_GNOME += ${ component }
. e n d i f
. e n d i f
. e n d i f
. e n d f o r
. e l i f d e f i n e d ( W I T H O U T _ G N O M E )
. i f ${WITHOUT_GNOME} != "yes" && ${ WITHOUT_GNOME } != "1"
. f o r c o m p o n e n t i n $ { _ U S E _ G N O M E _ A L L }
. if ${WITHOUT_GNOME : M ${component }}==""
. i f e x i s t s ( $ { $ { c o m p o n e n t } _ D E T E C T } )
HAVE_GNOME += ${ component }
. e n d i f
. e n d i f
. e n d f o r
. e n d i f
2000-10-05 01:32:21 +00:00
. e n d i f
. e n d i f
# End of optional part.
2004-02-03 21:26:54 +00:00
. i f d e f i n e d ( _ P O S T M K I N C L U D E D ) & & ! d e f i n e d ( G n o m e _ P o s t _ I n c l u d e )
2003-04-04 06:44:22 +00:00
2004-02-03 21:26:54 +00:00
Gnome_Post_Include = bsd.gnome.mk
# DO NOT USE THESE MACROS! They are obsolete, and only provided for
2003-04-07 20:11:54 +00:00
# backward compatibility with old ports that have not converted to the new
# GNOME infrastructure.
2000-10-05 01:32:21 +00:00
. i f d e f i n e d ( U S E _ G T K )
2005-11-05 15:15:21 +00:00
#.warning The USE_GTK macro is deprecated. It should be replaced by USE_GNOME=gtk12.
2003-04-08 01:11:35 +00:00
USE_GNOME += gtk12
2000-10-05 01:32:21 +00:00
. e n d i f
2003-04-07 20:11:54 +00:00
# End of obsolete macros
2000-10-05 01:32:21 +00:00
2003-04-05 06:12:02 +00:00
. i f d e f i n e d ( U S E _ G N O M E )
2003-04-07 20:11:54 +00:00
# Hack USE_GNOME to the modular infrastructure for port maintainers that
# didn't do so themselves. New ports should NOT set USE_GNOME=yes.
2003-04-05 06:12:02 +00:00
. i f ${USE_GNOME} = = "yes"
2005-11-05 15:15:21 +00:00
#.warning The USE_GNOME=yes component is deprecated. It should be replaced by some combination of gnomeprefix, gnomehack, and gtkhtml
2003-06-29 22:41:55 +00:00
USE_GNOME := ${ USE_GNOME : S /yes// }
2003-08-12 16:25:45 +00:00
USE_GNOME += gnomeprefix gnomehack gtkhtml
2003-04-05 06:12:02 +00:00
. e n d i f
2003-04-04 06:44:22 +00:00
# First of all expand all USE_GNOME_IMPL recursively
. f o r c o m p o n e n t i n $ { _ U S E _ G N O M E _ A L L }
. f o r s u b c o m p o n e n t i n $ { $ { c o m p o n e n t } _ U S E _ G N O M E _ I M P L }
${component}_USE_GNOME_IMPL += ${ ${ subcomponent } _USE_GNOME_IMPL }
. e n d f o r
. e n d f o r
# Then use already expanded USE_GNOME_IMPL to expand USE_GNOME.
# Also, check to see if each component has a desktop requirement. If it does,
# and if the user's chosen desktop is not of the same version, mark the
* Change all bogus uses of BROKEN to IGNORE. Note: the BROKEN_WITH_*
forms are retained for compatibility but deprecated [1]
* Add sha256 to CHECKSUM_ALGORITHMS [2]
* Remove some whitespace [2]
* Add USE_SCONS and bsd.scons.mk for the Python-based SCons build system [3]
* Fix USE_LDCONFIG with non-default PREFIX [4]
* Add USE_WX and friends, and bsd.wx.mk, for common code for WxWidgets
support [5]
* Add 'make missing' to show missing dependencies [6]
* Fix DESKTOP_ENTRIES processing on 4.x [7]
PR: 92445 [1], 98206 [2], 98731 [3], 99370 [4], 89398 [5],
93601 [6], 98891 [7]
Submitted by: linimon [1], edwin [2], alex at foxybanana dot com [3],
gerald [4], flz [4], alepulver [5], alex at fafula dot com [6],
shaun [7]
2006-07-05 02:18:09 +00:00
# port as IGNORE.
2003-04-04 06:44:22 +00:00
. f o r c o m p o n e n t i n $ { U S E _ G N O M E }
. i f d e f i n e d ( G N O M E _ D E S K T O P _ V E R S I O N ) & & \
defined( ${ component } _GNOME_DESKTOP_VERSION)
. i f ${GNOME_DESKTOP_VERSION} != ${ ${ component } _GNOME_DESKTOP_VERSION }
* Change all bogus uses of BROKEN to IGNORE. Note: the BROKEN_WITH_*
forms are retained for compatibility but deprecated [1]
* Add sha256 to CHECKSUM_ALGORITHMS [2]
* Remove some whitespace [2]
* Add USE_SCONS and bsd.scons.mk for the Python-based SCons build system [3]
* Fix USE_LDCONFIG with non-default PREFIX [4]
* Add USE_WX and friends, and bsd.wx.mk, for common code for WxWidgets
support [5]
* Add 'make missing' to show missing dependencies [6]
* Fix DESKTOP_ENTRIES processing on 4.x [7]
PR: 92445 [1], 98206 [2], 98731 [3], 99370 [4], 89398 [5],
93601 [6], 98891 [7]
Submitted by: linimon [1], edwin [2], alex at foxybanana dot com [3],
gerald [4], flz [4], alepulver [5], alex at fafula dot com [6],
shaun [7]
2006-07-05 02:18:09 +00:00
IGNORE = cannot install: ${ PORTNAME } wants to use the GNOME
IGNORE += ${ ${ component } _GNOME_DESKTOP_VERSION } desktop, but you wish to use
IGNORE += the GNOME ${ GNOME_DESKTOP_VERSION } desktop
2003-04-04 06:44:22 +00:00
. e n d i f
. e n d i f
. if ${_USE_GNOME_ALL : M ${component }}==""
2006-10-14 08:35:50 +00:00
IGNORE = cannot install: Unknown component ${ component }
2003-04-04 06:44:22 +00:00
. e n d i f
_USE_GNOME += ${ ${ component } _USE_GNOME_IMPL } ${ component }
. e n d f o r
2000-10-05 01:32:21 +00:00
2006-05-06 09:06:16 +00:00
# Setup the GTK+ API version for pixbuf loaders, input method modules,
# and theme engines.
PLIST_SUB += GTK2_VERSION = " ${ GTK2_VERSION } "
2005-11-05 05:10:27 +00:00
# Then handle the ltverhack component (it has to be done here, because
# we rely on some bsd.autotools.mk variables, and bsd.autotools.mk is
# included in the post-makefile section).
2006-02-23 10:42:21 +00:00
. i f d e f i n e d ( A U T O T O O L _ l i b t o o l )
2005-11-05 05:10:27 +00:00
ltverhack_PRE_PATCH = ${ CP } -pf ${ LTMAIN } ${ WRKDIR } /gnome-ltmain.sh && \
${ CP } -pf ${ LIBTOOL } ${ WRKDIR } /gnome-libtool && \
for file in ${ LIBTOOLFILES } ; do \
${ REINPLACE_CMD } -e \
' /^ltmain= /!s| $$ ac_aux_dir/ltmain\. sh| ${ LIBTOOLFLAGS } ${ WRKDIR } /gnome-ltmain.sh| g; \
/^LIBTOOL= /s| $$ ( top_builddir) /libtool| ${ WRKDIR } /gnome-libtool| g' \
${ PATCH_WRKSRC } /$$ file; \
done ;
. e l s e
2006-04-30 00:58:13 +00:00
. if ${USE_GNOME : Mltverhack }!=""
2006-10-14 09:34:03 +00:00
IGNORE = cannot install: ${ PORTNAME } uses the ltverhack GNOME component but does not use libtool
2006-04-30 00:58:13 +00:00
. e n d i f
2005-11-05 05:10:27 +00:00
. e n d i f
ltverhack_PATCH_DEPENDS = ${ LIBTOOL_DEPENDS }
ltverhack_PRE_PATCH += for file in gnome-ltmain.sh gnome-libtool; do \
if [ -f ${ WRKDIR } /$$ file ] ; then \
${ REINPLACE_CMD } -e \
' /freebsd-elf) /,/; ; / s| major = " \. $$ current " | major = .` expr $$ current - $$ age` | ; \
/freebsd-elf) /,/; ; / s| versuffix = " \. $$ current " | versuffix = " $$ major " | ' \
${ WRKDIR } /$$ file; \
fi ; \
done
2003-04-04 06:44:22 +00:00
# Then traverse through all components, check which of them
# exist in ${_USE_GNOME} and set variables accordingly
. f o r c o m p o n e n t i n $ { _ U S E _ G N O M E _ A L L }
2003-04-04 09:33:10 +00:00
_COMP_TEST = ${ _USE_GNOME : M ${ component } }
. if ${_COMP_TEST : S /${component }//}!=${_COMP_TEST :S / / /g }
2005-11-05 05:10:27 +00:00
PATCH_DEPENDS += ${ ${ component } _PATCH_DEPENDS }
FETCH_DEPENDS += ${ ${ component } _FETCH_DEPENDS }
EXTRACT_DEPENDS += ${ ${ component } _EXTRACT_DEPENDS }
2003-04-04 06:44:22 +00:00
BUILD_DEPENDS += ${ ${ component } _BUILD_DEPENDS }
2006-04-30 04:44:06 +00:00
LIB_DEPENDS += ${ ${ component } _LIB_DEPENDS }
RUN_DEPENDS += ${ ${ component } _RUN_DEPENDS }
2003-04-04 06:44:22 +00:00
2006-10-14 08:35:50 +00:00
. i f ! d e f i n e d ( W I T H O U T _ H A C K )
. i f d e f i n e d ( $ { c o m p o n e n t } _ P R E F I X )
.if ${.MAKEFLAGS : MPREFIX =*}==""
PREFIX = ${ ${ component } _PREFIX }
. e n d i f
. i f d e f i n e d ( U S E _ X _ P R E F I X )
. u n d e f U S E _ X _ P R E F I X
USE_XLIB = yes
. e n d i f
. e n d i f
. e n d i f
2003-04-04 06:44:22 +00:00
CONFIGURE_ARGS += ${ ${ component } _CONFIGURE_ARGS }
CONFIGURE_ENV += ${ ${ component } _CONFIGURE_ENV }
MAKE_ENV += ${ ${ component } _MAKE_ENV }
2003-04-12 01:12:57 +00:00
. i f ! d e f i n e d ( C O N F I G U R E _ T A R G E T ) & & d e f i n e d ( $ { c o m p o n e n t } _ C O N F I G U R E _ T A R G E T )
CONFIGURE_TARGET = ${ ${ component } _CONFIGURE_TARGET }
. e n d i f
2003-04-04 06:44:22 +00:00
. i f d e f i n e d ( $ { c o m p o n e n t } _ P R E _ P A T C H )
2004-01-13 17:36:19 +00:00
GNOME_PRE_PATCH += ; ${ ${ component } _PRE_PATCH }
2003-04-04 06:44:22 +00:00
. e n d i f
. e n d i f
. e n d f o r
2000-10-10 17:07:17 +00:00
. e n d i f
2003-04-04 06:44:22 +00:00
2004-06-26 22:08:40 +00:00
. i f d e f i n e d ( G N O M E _ P R E _ P A T C H )
2003-04-04 06:44:22 +00:00
2004-06-26 22:08:40 +00:00
pre-patch : gnome -pre -patch
gnome-pre-patch :
2004-01-13 17:36:19 +00:00
@${ GNOME_PRE_PATCH : C /^;//1 }
2000-10-10 17:07:17 +00:00
. e n d i f
2003-04-04 06:44:22 +00:00
. i f d e f i n e d ( W A N T _ G N O M E )
USE_GNOME ?=
2006-04-30 00:58:13 +00:00
. i f ${_USE_GNOME_SAVED} = = ${ USE_GNOME }
2003-04-04 06:44:22 +00:00
PLIST_SUB += GNOME:= "@comment " NOGNOME:= ""
2006-04-30 00:58:13 +00:00
. e l s e
2003-04-04 06:44:22 +00:00
PLIST_SUB += GNOME:= "" NOGNOME:= "@comment "
2006-04-30 00:58:13 +00:00
. i f d e f i n e d ( G N O M E _ D E S K T O P _ V E R S I O N )
. i f ${_USE_GNOME_DESKTOP} = = "yes"
2003-04-04 06:44:22 +00:00
PLIST_SUB += GNOMEDESKTOP:= "" NOGNOMEDESKTOP:= "@comment "
2006-04-30 00:58:13 +00:00
. e l s e
2003-04-04 06:44:22 +00:00
PLIST_SUB += GNOMEDESKTOP:= "@comment " NOGNOMEDESKTOP:= ""
2006-04-30 00:58:13 +00:00
. e n d i f
. e n d i f
. e n d i f
Add chkdepschain.py - a tool to address one of the most annoying when it comes
down to user support flaws in the FreeBSD ports system. The flaw in question
is related to the fact that dependencies are often "chained", which allows to
simplify maintenance of ports with large number of implied dependencies (a la
Evolution, Nautilus, you-name-it). Dependency chaining it's not a problem by
itself, but the fact that when building or installing a port the system doesn't
check chain integrity - it's only checks that dependencies explicitly
specified in port's Makefile are satisfied, which opens wide window for
various hard-trackable problems when one or more links in the middle of the
chain missed.
The idea behind the tool is quite simple - it should be executed right after
main dependency checking procedure, two times for each build - check build-time
chain before building the port (pre-pre-extract) and check run-time chain
before installing the port (pre-pre-install). When executed, the tool checks
integrity of the specified chain (build-time, run-time or both) and reports all
errors, both fatal (dependency isn't installed) and non-fatal (dependency is
installed, but different version).
I've wrote this tool mostly to simplify maintenance of the GNOME ports, but
it doesn't contain anything GNOME-specific, so that it could be used in the
other parts of tree as well.
As an example I've added GNOME_VALIDATE_DEPS_CHAIN knob into bsd.gnome.mk (off
by default), which enables automatic chain validation for all ports that
USE_GNOMELIBS. This is a bit hackish, because I've used pre-extract and
pre-install targets - what we probably need is a generic way to plug various
custom tasks specified in bsd.xxx.mk (where xxx is kde, gnome, python, etc.)
into various parts of the build process (something like {pre,post}-pre-foo,
{pre,post}-post-foo springs into my mind).
The code is quite raw, so that I would appreciate any bug reports, patches,
suggestions, constructive critiquie and so on.
2002-01-13 12:05:07 +00:00
. e n d i f
2004-06-07 20:42:02 +00:00
. i f ${MAINTAINER} = = "gnome@FreeBSD.org"
2006-01-16 18:28:35 +00:00
CONFIGURE_FAIL_MESSAGE = " Please run the gnomelogalyzer, available from \"http://www.freebsd.org/gnome/gnomelogalyzer.sh\", which will diagnose the problem and suggest a solution. If - and only if - the gnomelogalyzer cannot solve the problem, report the build failure to the FreeBSD GNOME team at ${ MAINTAINER } , and attach (a) \" ${ CONFIGURE_WRKSRC } / ${ CONFIGURE_LOG } \", (b) the output of the failed make command, and (c) the gnomelogalyzer output. Also, it might be a good idea to provide an overview of all packages installed on your system (i.e. an \`ls ${ PKG_DBDIR } \`). Put your attachment up on any website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use send-pr(1) with the attachment. Try to avoid sending any attachments to the mailing list ( ${ MAINTAINER } ), because attachments sent to FreeBSD mailing lists are usually discarded by the mailing list software. "
2004-06-07 20:42:02 +00:00
. e n d i f
2005-11-05 05:10:27 +00:00
2006-04-30 00:58:13 +00:00
. i f d e f i n e d ( G C O N F _ S C H E M A S ) | | d e f i n e d ( I N S T A L L S _ O M F ) | | d e f i n e d ( I N S T A L L S _ I C O N S ) \
|| ( defined( _USE_GNOME) && ${ _USE_GNOME : Mgnomeprefix } != "" )
2004-11-29 23:23:18 +00:00
pre-su-install : gnome -pre -su -install
post-install : gnome -post -install
2004-07-22 16:04:44 +00:00
2004-11-29 23:23:18 +00:00
gnome-pre-su-install :
2006-04-30 00:58:13 +00:00
.if defined(_USE_GNOME) && ${_USE_GNOME : Mgnomeprefix }!="" && !defined (NO_MTREE )
2006-08-04 12:34:50 +00:00
@${ MTREE_CMD } ${ MTREE_ARGS : S / ${ MTREE_FILE } / ${ GNOME_MTREE_FILE } / } ${ TARGETDIR } / >/dev/null
2006-04-30 00:58:13 +00:00
. e n d i f
2004-11-29 23:23:18 +00:00
. i f d e f i n e d ( G C O N F _ S C H E M A S )
2006-10-15 03:42:39 +00:00
@${ MKDIR } ${ TARGETDIR } /etc/gconf/gconf.xml.defaults/
2004-11-29 23:23:18 +00:00
. e l s e
@${ DO_NADA }
2004-11-09 10:10:54 +00:00
. e n d i f
gnome-post-install :
2004-11-16 07:34:58 +00:00
. i f d e f i n e d ( G C O N F _ S C H E M A S )
@for i in ${ GCONF_SCHEMAS } ; do \
2006-04-30 00:58:13 +00:00
${ ECHO_CMD } " @unexec env GCONF_CONFIG_SOURCE=xml: ${ GCONF_CONFIG_OPTIONS } :%D/ ${ GCONF_CONFIG_DIRECTORY } gconftool-2 --makefile-uninstall-rule %D/etc/gconf/schemas/ $$ {i} > /dev/null || /usr/bin/true " \
2004-11-16 07:34:58 +00:00
>> ${ TMPPLIST } ; \
${ ECHO_CMD } " etc/gconf/schemas/ $$ {i} " >> ${ TMPPLIST } ; \
2006-04-30 00:58:13 +00:00
${ ECHO_CMD } " @exec env GCONF_CONFIG_SOURCE=xml: ${ GCONF_CONFIG_OPTIONS } :%D/ ${ GCONF_CONFIG_DIRECTORY } gconftool-2 --makefile-install-rule %D/etc/gconf/schemas/ $$ {i} > /dev/null || /usr/bin/true " \
2004-11-16 07:34:58 +00:00
>> ${ TMPPLIST } ; \
done
. e n d i f
. i f d e f i n e d ( I N S T A L L S _ O M F )
@for i in ` ${ GREP } " \.omf $$ " ${ TMPPLIST } ` ; do \
${ ECHO_CMD } " @exec scrollkeeper-install -q %D/ $$ {i} 2>/dev/null || /usr/bin/true " \
>> ${ TMPPLIST } ; \
${ ECHO_CMD } " @unexec scrollkeeper-uninstall -q %D/ $$ {i} 2>/dev/null || /usr/bin/true " \
>> ${ TMPPLIST } ; \
done
. e n d i f
2005-11-05 05:10:27 +00:00
. i f d e f i n e d ( I N S T A L L S _ I C O N S )
@${ RM } -f ${ TMPPLIST } .icons1
@for i in ` ${ GREP } "^share/icons/.*/" ${ TMPPLIST } | ${ CUT } -d / -f 1-3 | ${ SORT } -u` ; do \
${ ECHO_CMD } " @unexec /bin/rm %D/ $$ {i}/icon-theme.cache 2>/dev/null || /usr/bin/true " \
>> ${ TMPPLIST } .icons1; \
2006-10-14 08:35:50 +00:00
${ ECHO_CMD } " @exec ${ LOCALBASE } /bin/gtk-update-icon-cache -q -f %D/ $$ {i} 2>/dev/null || /usr/bin/true " \
2005-11-05 05:10:27 +00:00
>> ${ TMPPLIST } ; \
2006-10-14 08:35:50 +00:00
${ ECHO_CMD } " @unexec ${ LOCALBASE } /bin/gtk-update-icon-cache -q -f %D/ $$ {i} 2>/dev/null || /usr/bin/true " \
2005-11-05 05:10:27 +00:00
>> ${ TMPPLIST } ; \
2006-10-14 08:35:50 +00:00
${ LOCALBASE } /bin/gtk-update-icon-cache -q -f ${ PREFIX } /$$ { i} 2>/dev/null || ${ TRUE } ; \
2005-11-05 05:10:27 +00:00
done
@if test -f ${ TMPPLIST } .icons1; then \
${ CAT } ${ TMPPLIST } .icons1 ${ TMPPLIST } > ${ TMPPLIST } .icons2; \
${ RM } -f ${ TMPPLIST } .icons1; \
${ MV } -f ${ TMPPLIST } .icons2 ${ TMPPLIST } ; \
fi
. e n d i f
2004-07-22 16:04:44 +00:00
. e n d i f
2000-10-05 01:32:21 +00:00
. e n d i f
# End of use part.