summaryrefslogtreecommitdiff
path: root/editors/gedit-python/Makefile
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2010-11-03 20:05:14 +0000
committerdrochner <drochner@pkgsrc.org>2010-11-03 20:05:14 +0000
commit0e4bf721eaa2eb91e19141037b29daf1a87acc30 (patch)
tree08a40ec210f385d59727e5764b8acd4aafdaa62e /editors/gedit-python/Makefile
parent4c328b945cb215101205d45951b6d1962ac008da (diff)
downloadpkgsrc-0e4bf721eaa2eb91e19141037b29daf1a87acc30.tar.gz
add gedit-python-2.30.4, containing Python plugin support for gedit, based
on PR pkg/44017 by Matthew Mondor
Diffstat (limited to 'editors/gedit-python/Makefile')
-rw-r--r--editors/gedit-python/Makefile48
1 files changed, 48 insertions, 0 deletions
diff --git a/editors/gedit-python/Makefile b/editors/gedit-python/Makefile
new file mode 100644
index 00000000000..9ddd7f27887
--- /dev/null
+++ b/editors/gedit-python/Makefile
@@ -0,0 +1,48 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/11/03 20:05:14 drochner Exp $
+#
+
+DISTNAME= gedit-2.30.4
+PKGNAME= gedit-python-2.30.4
+CATEGORIES= editors gnome
+MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gedit/2.30/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://www.gnome.org/projects/gedit/
+COMMENT= Lightweight GNOME2 text editor
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_PKGLOCALEDIR= YES
+USE_TOOLS+= gmake intltool msgfmt perl pkg-config
+USE_LIBTOOL= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --disable-spell
+CONFIGURE_ARGS+= --enable-python
+
+PATCHDIR= ${.CURDIR}/../../editors/gedit/patches
+DISTINFO_FILE= ${.CURDIR}/../../editors/gedit/distinfo
+BUILD_DIRS= plugin-loaders/python
+BUILD_DIRS+= plugins/pythonconsole plugins/quickopen plugins/snippets
+INSTALL_DIRS= ${BUILD_DIRS}
+
+.include "../../lang/python/application.mk"
+.include "../../devel/py-gobject/buildlink3.mk"
+.include "../../x11/py-gtk2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.py_gtksourceview+= ${PYPKGPREFIX}-gtksourceview>=2.10.1
+.include "../../x11/py-gtksourceview/buildlink3.mk"
+.include "../../editors/gedit/buildlink3.mk"
+.include "../../devel/GConf/schemas.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
+BUILDLINK_API_DEPENDS.glib2+= glib2>=2.16.0
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../sysutils/desktop-file-utils/desktopdb.mk"
+.include "../../textproc/gnome-doc-utils/buildlink3.mk"
+.include "../../mk/omf-scrollkeeper.mk"
+BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.13.0
+.include "../../x11/gtk2/buildlink3.mk"
+BUILDLINK_API_DEPENDS.gtksourceview2+= gtksourceview2>=2.2.0
+.include "../../x11/gtksourceview2/buildlink3.mk"
+.include "../../x11/libSM/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"