2011-06-08 13:35:54 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.64 2011/06/08 17:41:57 rpointel Exp $
|
2007-11-26 16:31:54 -05:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
2004-07-28 00:55:59 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
COMMENT= lightweight GNOME text editor
|
|
|
|
|
2009-07-12 16:33:19 -04:00
|
|
|
# PLIST regen is needed for at least the following ports when
|
|
|
|
# the gedit plugins directory changes:
|
|
|
|
# (i.e. ${LOCALBASE}/lib/gedit-2/plugins)
|
|
|
|
# x11/gnome/gedit-plugins
|
|
|
|
# x11/gnome/seahorse-plugins
|
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
GNOME_PROJECT= gedit
|
2010-09-30 03:49:49 -04:00
|
|
|
GNOME_VERSION= 2.30.4
|
2011-06-08 13:35:54 -04:00
|
|
|
REVISION= 3
|
2010-07-25 04:15:32 -04:00
|
|
|
|
2007-07-05 18:50:10 -04:00
|
|
|
CATEGORIES= editors
|
2004-07-28 00:55:59 -04:00
|
|
|
|
2009-07-12 16:33:19 -04:00
|
|
|
HOMEPAGE= http://projects.gnome.org/gedit/
|
2004-07-28 00:55:59 -04:00
|
|
|
|
2008-06-24 16:34:07 -04:00
|
|
|
# GPLv2
|
2004-07-28 00:55:59 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2008-11-23 13:26:30 -05:00
|
|
|
|
2009-10-11 14:13:25 -04:00
|
|
|
WANTLIB += ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage Xdmcp
|
|
|
|
WANTLIB += Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c cairo
|
|
|
|
WANTLIB += dbus-1 dbus-glib-1 expat ffi fontconfig freetype gdk-x11-2.0
|
2010-10-11 04:11:24 -04:00
|
|
|
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
2009-10-11 14:13:25 -04:00
|
|
|
WANTLIB += gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
|
|
|
|
WANTLIB += pangoft2-1.0 pcre pixman-1 png pthread pthread-stubs
|
2010-04-22 17:52:39 -04:00
|
|
|
WANTLIB += stdc++ util xcb xcb-render xcb-render-util xml2 z
|
2010-09-30 03:49:49 -04:00
|
|
|
WANTLIB += gtksourceview-2.0 enchant
|
2010-10-24 11:53:55 -04:00
|
|
|
WANTLIB += ${MODPY_WANTLIB}
|
2007-11-26 16:31:54 -05:00
|
|
|
|
2010-04-22 17:52:39 -04:00
|
|
|
MODULES= devel/gconf2 \
|
|
|
|
devel/gettext \
|
|
|
|
lang/python \
|
|
|
|
x11/gnome
|
2004-07-28 00:55:59 -04:00
|
|
|
|
2010-11-22 03:36:47 -05:00
|
|
|
BUILD_DEPENDS= devel/iso-codes \
|
|
|
|
x11/py-gtksourceview \
|
|
|
|
x11/py-gtk2>=2.12.0
|
|
|
|
LIB_DEPENDS= textproc/enchant \
|
|
|
|
x11/gtksourceview \
|
2007-11-26 16:31:54 -05:00
|
|
|
${MODPY_LIB_DEPENDS}
|
2010-11-22 03:36:47 -05:00
|
|
|
RUN_DEPENDS= x11/py-gtk2>=2.12.0 \
|
|
|
|
x11/py-gtksourceview \
|
|
|
|
x11/gnome/py-gnome
|
2004-07-28 00:55:59 -04:00
|
|
|
|
2008-05-26 06:28:46 -04:00
|
|
|
MODGNOME_HELP_FILES= Yes
|
2007-07-05 18:50:10 -04:00
|
|
|
DESKTOP_FILES= Yes
|
2009-06-07 05:44:47 -04:00
|
|
|
MODGCONF2_SCHEMAS_DIR= gedit
|
2007-04-07 09:40:22 -04:00
|
|
|
LIBTOOL_FLAGS= --tag=disable-static
|
2007-05-07 15:38:23 -04:00
|
|
|
|
2007-11-26 16:31:54 -05:00
|
|
|
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
|
|
|
|
--enable-python \
|
2009-10-11 14:13:25 -04:00
|
|
|
--disable-attr \
|
|
|
|
--disable-updater
|
2010-04-22 17:52:39 -04:00
|
|
|
#CONFIGURE_ARGS+= --enable-gvfs-metadata
|
2007-11-26 16:31:54 -05:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2011-05-31 12:10:20 -04:00
|
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
2010-11-22 03:36:47 -05:00
|
|
|
USE_GROFF = Yes
|
2004-07-28 00:55:59 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|