2007-11-10 09:51:30 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2007/11/10 14:51:30 jasper Exp $
|
2003-01-31 13:52:44 -05:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
COMMENT= libraries for the GNOME project
|
2003-01-31 13:52:44 -05:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
GNOME_PROJECT= libgnome
|
2007-11-10 09:51:30 -05:00
|
|
|
GNOME_VERSION= 2.20.1.1
|
|
|
|
SHARED_LIBS += gnome-2 1900.0 # .1999.2
|
2003-01-31 13:52:44 -05:00
|
|
|
|
|
|
|
# LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-11-10 09:51:30 -05:00
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/${GNOME_PROJECT}/2.20/}
|
|
|
|
|
2007-04-27 18:24:54 -04:00
|
|
|
WANTLIB= ORBit-2 ORBitCosNaming-2 c crypto dbus-1 dbus-glib-1 \
|
|
|
|
gconf-2 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 \
|
2007-11-10 09:51:30 -05:00
|
|
|
m pcre pthread ssl util xml2 z
|
2003-01-31 13:52:44 -05:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
MODULES= devel/gettext \
|
|
|
|
x11/gnome
|
2003-01-31 13:52:44 -05:00
|
|
|
|
2006-09-18 05:40:31 -04:00
|
|
|
LIB_DEPENDS= esd.>=2.26::audio/esound \
|
2007-04-27 18:24:54 -04:00
|
|
|
audiofile.>=0::devel/libaudiofile \
|
|
|
|
bonobo-2.>=1,bonobo-activation.>=5::x11/gnome/libbonobo \
|
|
|
|
gnomevfs-2.>=1799::x11/gnome/vfs2 \
|
|
|
|
popt::devel/popt
|
2003-01-31 13:52:44 -05:00
|
|
|
|
2007-04-27 18:24:54 -04:00
|
|
|
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
|
|
|
|
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/libgnome \
|
|
|
|
--disable-schemas-install
|
2003-01-31 13:52:44 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
post-install:
|
2007-11-10 09:51:30 -05:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libgnome
|
2004-10-17 00:41:19 -04:00
|
|
|
cp -Rp ${WRKINST}/${SYSCONFDIR}/gnome/* ${PREFIX}/share/examples/libgnome/
|
2003-01-31 13:52:44 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|
2007-04-27 18:24:54 -04:00
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir="${SYSCONFDIR}/gnome"
|