openbsd-ports/x11/gnome/gedit/Makefile
2011-06-08 17:35:54 +00:00

67 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.64 2011/06/08 17:41:57 rpointel Exp $
SHARED_ONLY= Yes
COMMENT= lightweight GNOME text editor
# 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
GNOME_PROJECT= gedit
GNOME_VERSION= 2.30.4
REVISION= 3
CATEGORIES= editors
HOMEPAGE= http://projects.gnome.org/gedit/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
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
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
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
WANTLIB += stdc++ util xcb xcb-render xcb-render-util xml2 z
WANTLIB += gtksourceview-2.0 enchant
WANTLIB += ${MODPY_WANTLIB}
MODULES= devel/gconf2 \
devel/gettext \
lang/python \
x11/gnome
BUILD_DEPENDS= devel/iso-codes \
x11/py-gtksourceview \
x11/py-gtk2>=2.12.0
LIB_DEPENDS= textproc/enchant \
x11/gtksourceview \
${MODPY_LIB_DEPENDS}
RUN_DEPENDS= x11/py-gtk2>=2.12.0 \
x11/py-gtksourceview \
x11/gnome/py-gnome
MODGNOME_HELP_FILES= Yes
DESKTOP_FILES= Yes
MODGCONF2_SCHEMAS_DIR= gedit
LIBTOOL_FLAGS= --tag=disable-static
CONFIGURE_ARGS= ${CONFIGURE_SHARED} \
--enable-python \
--disable-attr \
--disable-updater
#CONFIGURE_ARGS+= --enable-gvfs-metadata
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_GROFF = Yes
.include <bsd.port.mk>