openbsd-ports/devel/gconf-editor/Makefile

52 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.16 2006/10/15 20:30:55 mbalmer Exp $
COMMENT= "editor for the GConf configuration system"
DISTNAME= gconf-editor-2.10.0
PKGNAME= ${DISTNAME}p3
CATEGORIES= devel x11/gnome
HOMEPAGE= http://www.gnome.org/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ORBit-2 X11 Xext Xrender atk-1.0 c m SM \
fontconfig freetype gdk-x11-2.0 gdk_pixbuf-2.0 \
glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 \
gtk-x11-2.0 pango-1.0 pangoft2-1.0 \
popt pthread esd art_lgpl_2 \
gnomecanvas-2 ICE ORBitCosNaming-2 audiofile gnomevfs-2 jpeg z \
gnome-2 xml2 crypto bonobo-activation bonobo-2 ssl bonoboui-2 \
gnome-keyring pangocairo-1.0 cairo glitz png
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gconf-editor/2.10/}
EXTRACT_SUFX= .tar.bz2
BUILD_DEPENDS= :pkgconfig-*:devel/pkgconfig \
:p5-XML-Parser-*:textproc/p5-XML-Parser \
:scrollkeeper-*:textproc/scrollkeeper
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper
LIB_DEPENDS= gconf-2::devel/gconf2 \
gnomeui-2::x11/gnome/libgnomeui
MODULES= devel/gettext
USE_X11= Yes
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --disable-gtk-doc
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gconf-editor/ ; \
cp -Rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/gconf-editor/
.include <bsd.port.mk>