pkgsrc/editors/gedit-python/Makefile
wiz aa67e11089 Mark packages as not ready for python-3.x where applicable;
either because they themselves are not ready or because a
dependency isn't. This is annotated by
PYTHON_VERSIONS_INCOMPATIBLE=  33 # not yet ported as of x.y.z
or
PYTHON_VERSIONS_INCOMPATIBLE=  33 # py-foo, py-bar
respectively, please use the same style for other packages,
and check during updates.

Use versioned_dependencies.mk where applicable.
Use REPLACE_PYTHON instead of handcoded alternatives, where applicable.
Reorder Makefile sections into standard order, where applicable.

Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default
with the next commit.

Whitespace cleanups and other nits corrected, where necessary.
2014-01-25 10:29:56 +00:00

48 lines
1.7 KiB
Makefile

# $NetBSD: Makefile,v 1.23 2014/01/25 10:30:06 wiz Exp $
DISTNAME= gedit-2.30.4
PKGNAME= gedit-python-2.30.4
PKGREVISION= 20
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
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}
PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-gtk2
.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"