openbsd-ports/devel/gconf2/Makefile
ajacoutot 4e96d0b36a - fix GCONF_ETCDIR
before this change it wasn't possible to add mandatory settings without
tweaking gconf
- while here, rework the way we build this port so we can drop some
patching
2008-07-25 13:42:57 +00:00

42 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.31 2008/07/25 13:42:57 ajacoutot Exp $
COMMENT= configuration database system for GNOME
GNOME_PROJECT= GConf
GNOME_VERSION= 2.22.0
PKGNAME= gconf2-${GNOME_VERSION}p1
SHARED_LIBS += gconf-2 6.1 # .5.5
CATEGORIES= devel
HOMEPAGE= http://www.gnome.org/projects/gconf/
# LGPL
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
WANTLIB= X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes \
Xi Xinerama Xrandr Xrender atk-1.0 c cairo expat fontconfig \
freetype glitz m pango-1.0 pangocairo-1.0 pangoft2-1.0 \
pcre pixman-1 png pthread z
MODULES= devel/gettext \
x11/gnome
LIB_DEPENDS= glib-2.0.>=1200.0,gmodule-2.0.>=1200.0,gobject-2.0.>=1200.0,gthread-2.0.>=1200.0::devel/glib2 \
gdk-x11-2.0,gdk_pixbuf-2.0,gtk-x11-2.0::x11/gtk+2 \
ORBit-2.>=2.0::devel/ORBit2 \
xml2.>=9::textproc/libxml
USE_X11= Yes
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
CONFIGURE_ARGS= ${CONFIGURE_SHARED}
FAKE_FLAGS= sysgconfdir=${PREFIX}/share/examples/gconf2
.include <bsd.port.mk>