diff options
author | drochner <drochner@pkgsrc.org> | 2006-11-24 12:55:31 +0000 |
---|---|---|
committer | drochner <drochner@pkgsrc.org> | 2006-11-24 12:55:31 +0000 |
commit | c8057c2e41fd1a1e682ad1fac1248a0f0b9060ff (patch) | |
tree | 7054da59a7b2f56b182f087bbfd2358f42f2c6e8 /sysutils/py-gnome-menus | |
parent | 80c76c041f44df8119bb681a8059d002f6aa0d15 (diff) | |
download | pkgsrc-c8057c2e41fd1a1e682ad1fac1248a0f0b9060ff.tar.gz |
add the python extension which is part of gnome-menus as a seperate pkg
Diffstat (limited to 'sysutils/py-gnome-menus')
-rw-r--r-- | sysutils/py-gnome-menus/DESCR | 1 | ||||
-rw-r--r-- | sysutils/py-gnome-menus/Makefile | 30 | ||||
-rw-r--r-- | sysutils/py-gnome-menus/PLIST | 2 | ||||
-rw-r--r-- | sysutils/py-gnome-menus/buildlink3.mk | 19 | ||||
-rw-r--r-- | sysutils/py-gnome-menus/distinfo | 6 | ||||
-rw-r--r-- | sysutils/py-gnome-menus/patches/patch-aa | 23 |
6 files changed, 81 insertions, 0 deletions
diff --git a/sysutils/py-gnome-menus/DESCR b/sysutils/py-gnome-menus/DESCR new file mode 100644 index 00000000000..5863c7c8c3b --- /dev/null +++ b/sysutils/py-gnome-menus/DESCR @@ -0,0 +1 @@ +This package provides Python bindings for gnome-menu. diff --git a/sysutils/py-gnome-menus/Makefile b/sysutils/py-gnome-menus/Makefile new file mode 100644 index 00000000000..bd9b452c8af --- /dev/null +++ b/sysutils/py-gnome-menus/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/11/24 12:55:31 drochner Exp $ +# + +DISTNAME= gnome-menus-2.16.1 +PKGNAME= ${PYPKGPREFIX}-gnome-menus-2.16.1 +CATEGORIES= sysutils gnome +MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gnome-menus/2.16/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= jmmv@NetBSD.org +HOMEPAGE= http://www.gnome.org/ +COMMENT= Python bindings for gnome-menus + +GNU_CONFIGURE= yes +USE_TOOLS+= gmake intltool msgfmt pkg-config +USE_LIBTOOL= yes + +CONFIGURE_ARGS+= --enable-python +BUILD_DIRS= python +INSTALL_DIRS= python +PY_PATCHPLIST= yes + +BUILDLINK_API_DEPENDS.glib2+= glib2>=2.6.0 +BUILDLINK_API_DEPENDS.gnome-vfs2+= gnome-vfs2>=2.10.0 + +.include "../../sysutils/gnome-menus/buildlink3.mk" +.include "../../lang/python/extension.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../mk/fam.buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/sysutils/py-gnome-menus/PLIST b/sysutils/py-gnome-menus/PLIST new file mode 100644 index 00000000000..3daf8f12777 --- /dev/null +++ b/sysutils/py-gnome-menus/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/11/24 12:55:31 drochner Exp $ +${PYSITELIB}/gmenu.la diff --git a/sysutils/py-gnome-menus/buildlink3.mk b/sysutils/py-gnome-menus/buildlink3.mk new file mode 100644 index 00000000000..d6e3f6477b6 --- /dev/null +++ b/sysutils/py-gnome-menus/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/11/24 12:55:31 drochner Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +PY_GNOME_MENUS_BUILDLINK3_MK:= ${PY_GNOME_MENUS_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= py-gnome-menus +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-gnome-menus} +BUILDLINK_PACKAGES+= py-gnome-menus +BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-gnome-menus + +.if ${PY_GNOME_MENUS_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.py-gnome-menus+= ${PYPKGPREFIX}-gnome-menus>=2.16.1 +BUILDLINK_PKGSRCDIR.py-gnome-menus?= ../../sysutils/py-gnome-menus +.endif # PY_GNOME_MENUS_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/sysutils/py-gnome-menus/distinfo b/sysutils/py-gnome-menus/distinfo new file mode 100644 index 00000000000..29bb3cde845 --- /dev/null +++ b/sysutils/py-gnome-menus/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2006/11/24 12:55:31 drochner Exp $ + +SHA1 (gnome-menus-2.16.1.tar.bz2) = ace531297189f5660fa3578058aa164087854c4f +RMD160 (gnome-menus-2.16.1.tar.bz2) = 667034b93306a0e07322562812ad8f9eaca17160 +Size (gnome-menus-2.16.1.tar.bz2) = 416053 bytes +SHA1 (patch-aa) = 09f87ef0fc03d1a02a0e2b888e81aea4290f15ca diff --git a/sysutils/py-gnome-menus/patches/patch-aa b/sysutils/py-gnome-menus/patches/patch-aa new file mode 100644 index 00000000000..4d28907de54 --- /dev/null +++ b/sysutils/py-gnome-menus/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.1.1.1 2006/11/24 12:55:31 drochner Exp $ + +--- python/Makefile.in.orig 2006-11-23 16:53:30.000000000 +0100 ++++ python/Makefile.in +@@ -56,8 +56,7 @@ am__installdirs = "$(DESTDIR)$(gmenudir) + gmenuLTLIBRARIES_INSTALL = $(INSTALL) + LTLIBRARIES = $(gmenu_LTLIBRARIES) + am__DEPENDENCIES_1 = +-gmenu_la_DEPENDENCIES = $(am__DEPENDENCIES_1) \ +- $(top_builddir)/libmenu/libgnome-menu.la ++gmenu_la_DEPENDENCIES = $(am__DEPENDENCIES_1) + am_gmenu_la_OBJECTS = gmenu.lo + gmenu_la_OBJECTS = $(am_gmenu_la_OBJECTS) + DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) +@@ -262,7 +261,7 @@ INCLUDES = \ + gmenudir = $(pyexecdir) + gmenu_LTLIBRARIES = gmenu.la + gmenu_la_LDFLAGS = -module -avoid-version -fPIC -export-symbols-regex initgmenu +-gmenu_la_LIBADD = $(GLIB_LIBS) $(top_builddir)/libmenu/libgnome-menu.la ++gmenu_la_LIBADD = $(GLIB_LIBS) $(prefix)/lib/libgnome-menu.la + gmenu_la_SOURCES = gmenu.c + all: all-am + |