# $OpenBSD$ COMMENT= "GNOME 2.0 Text Editor" VERSION= 2.0.4 DISTNAME= gedit-${VERSION} PKGNAME= gedit2-${VERSION} CATEGORIES= editors x11/gnome HOMEPAGE= http://gedit.sourceforge.net/ MAINTAINER= Jim Geovedi # GPL PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes MASTER_SITES= ${MASTER_SITE_GNOME:=2.0.1/sources/gedit/} BUILD_DEPENDS= :pkgconfig->=0.9.0:devel/pkgconfig \ :scrollkeeper-*:textproc/scrollkeeper RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper LIB_DEPENDS= gnomeui-2.0::x11/gnome/libgnomeui \ gnomeprintui-2::x11/gnome/libgnomeprintui \ gailutil.17.0::x11/gnome/gail \ eel-2.2::x11/gnome/eel USE_X11= Yes USE_GMAKE= Yes DEFAULT_GCONF_SOURCE= xml::/var/db/gconf/gconf.xml.defaults SEPARATE_BUILD= concurrent CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= --enable-gconf-source=${DEFAULT_GCONF_SOURCE} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" \ LIBS="-pthread" post-patch: @ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update post-install: @${INSTALL_DATA_DIR} ${PREFIX}/share/examples/gedit; \ cp -Rp ${WRKINST}/${SYSCONFDIR}/* ${PREFIX}/share/examples/gedit/ .include