2009-04-16 04:11:13 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.37 2009/04/16 08:11:13 ajacoutot 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
|
|
|
|
|
|
|
|
GNOME_PROJECT= gedit
|
2009-01-11 08:07:35 -05:00
|
|
|
GNOME_VERSION= 2.24.3
|
2009-04-06 06:05:20 -04:00
|
|
|
PKGNAME= ${DISTNAME}p4
|
2007-07-05 18:50:10 -04:00
|
|
|
CATEGORIES= editors
|
2004-07-28 00:55:59 -04:00
|
|
|
|
2005-03-06 03:42:29 -05:00
|
|
|
HOMEPAGE= http://www.gnome.org/projects/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
|
|
|
|
|
|
|
WANTLIB= ICE ORBit-2 SM X11 Xau Xcomposite Xcursor Xdamage \
|
|
|
|
Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender atk-1.0 c \
|
|
|
|
cairo dbus-1 dbus-glib-1 expat fontconfig freetype \
|
|
|
|
gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 \
|
|
|
|
glitz gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0 \
|
|
|
|
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 \
|
|
|
|
png pthread stdc++ util xml2 z
|
2007-11-26 16:31:54 -05:00
|
|
|
|
|
|
|
MODULES= devel/gettext \
|
|
|
|
lang/python \
|
|
|
|
x11/gnome
|
2004-07-28 00:55:59 -04:00
|
|
|
|
2007-05-07 15:38:23 -04:00
|
|
|
BUILD_DEPENDS= :iso-codes-*:devel/iso-codes \
|
2008-08-19 18:32:08 -04:00
|
|
|
::x11/py-gtksourceview \
|
2009-04-06 06:05:20 -04:00
|
|
|
:py-gtk2->=2.12.0:x11/py-gtk2
|
2007-05-07 15:38:23 -04:00
|
|
|
LIB_DEPENDS= enchant::textproc/enchant \
|
2007-11-26 16:31:54 -05:00
|
|
|
gtksourceview-2.0::x11/gtksourceview \
|
|
|
|
${MODPY_LIB_DEPENDS}
|
2009-04-06 06:05:20 -04:00
|
|
|
RUN_DEPENDS= :py-gtk2->=2.12.0:x11/py-gtk2 \
|
2007-11-26 16:31:54 -05:00
|
|
|
::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
|
2004-07-28 00:55:59 -04:00
|
|
|
USE_X11= Yes
|
2007-07-05 18:50:10 -04:00
|
|
|
DESKTOP_FILES= Yes
|
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} \
|
2007-05-07 15:38:23 -04:00
|
|
|
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gedit \
|
|
|
|
--disable-schemas-install \
|
2007-11-26 16:31:54 -05:00
|
|
|
--enable-python \
|
|
|
|
--disable-attr
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LDFLAGS="-L${LOCALBASE}/lib -lm -lstdc++ -lintl -liconv" \
|
|
|
|
PYTHON="${MODPY_BIN}"
|
2004-07-28 00:55:59 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|