openbsd-ports/devel/gconf2/Makefile

51 lines
1.3 KiB
Makefile

# $OpenBSD: Makefile,v 1.21 2007/02/11 00:56:57 steven Exp $
COMMENT= "configuration database system for GNOME"
VERSION= 2.10.1
DISTNAME= GConf-${VERSION}
PKGNAME= gconf2-${VERSION}p3
SHARED_LIBS += gconf-2 5.0 # .5.0
CATEGORIES= devel
HOMEPAGE= http://www.gnome.org/projects/gconf/
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/GConf/2.10/}
EXTRACT_SUFX= .tar.bz2
MODULES= devel/gettext
LIB_DEPENDS= ORBit-2::devel/ORBit2 \
gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
xml2.>=6::textproc/libxml
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE SM X11 Xrender Xext atk-1.0 c m \
fontconfig freetype glib-2.0 gmodule-2.0 \
gobject-2.0 gthread-2.0 pango-1.0 \
pangoft2-1.0 pangocairo-1.0 cairo glitz png \
popt pthread z
DEFAULT_GCONF_SOURCE= xml::/var/db/gconf/gconf.xml.defaults
USE_X11= Yes
USE_GMAKE= Yes
USE_LIBTOOL= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --disable-gtk-conf
CONFIGURE_ARGS+= --enable-gconf-source=${DEFAULT_GCONF_SOURCE}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gconf2; \
cp -Rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/gconf2; \
.include <bsd.port.mk>