openbsd-ports/devel/gconf/Makefile
2006-08-01 22:46:16 +00:00

51 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.23 2006/08/01 22:46:16 espie Exp $
COMMENT= "configuration database system written for GNOME"
DISTNAME= GConf-1.0.9
PKGNAME= ${DISTNAME:L}p1
SHARED_LIBS= gconf-1 1.4 \
gconf-gtk-1 1.0
CATEGORIES= devel x11/gnome
HOMEPAGE= http://www.gnome.org/projects/gconf/
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/GConf/1.0/}
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext
LIB_DEPENDS= oaf.::x11/gnome/oaf \
xml.>=9::textproc/libxml1 \
gtk.>=1,gdk.>=1::x11/gtk+
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= IIOP ORBit ORBitCosNaming ORBitutil \
X11 Xext Xi c gdk glib gmodule gtk m \
popt wrap z
DEFAULT_GCONF_SOURCE= xml::/var/db/gconf/gconf.xml.defaults
USE_LIBTOOL= Yes
SEPARATE_BUILD= concurrent
AUTOCONF_VERSION= 2.52
CONFIGURE_STYLE= autoconf
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-gconf-source=${DEFAULT_GCONF_SOURCE}
CONFIGURE_ARGS+= --disable-guile
CONFIGURE_ARGS+= --disable-db3
CONFIGURE_ARGS+= --disable-oaftest
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${WRKBUILD}/gconf/.libs -L${LOCALBASE}/lib" \
XML_CONFIG="${LOCALBASE}/bin/xml-config"
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gconf; \
cp -Rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/gconf;
.include <bsd.port.mk>