diff options
author | joerg <joerg> | 2006-05-21 18:40:20 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-05-21 18:40:20 +0000 |
commit | 7d9798dd6fe4a8b5a909fd497c621831375760b1 (patch) | |
tree | 5a1c3f13130efb7fe36d47effedbdc5c02dca717 /devel/py-gobject-shared | |
parent | 2b3e627282ad8df66e562d50530418397373757c (diff) | |
download | pkgsrc-7d9798dd6fe4a8b5a909fd497c621831375760b1.tar.gz |
Import py-gobject-shared, which contains Python version independent
files to avoid conflicts within py{23,24}-gobject.
Diffstat (limited to 'devel/py-gobject-shared')
-rw-r--r-- | devel/py-gobject-shared/DESCR | 2 | ||||
-rw-r--r-- | devel/py-gobject-shared/Makefile | 23 | ||||
-rw-r--r-- | devel/py-gobject-shared/PLIST | 4 | ||||
-rw-r--r-- | devel/py-gobject-shared/buildlink3.mk | 22 |
4 files changed, 51 insertions, 0 deletions
diff --git a/devel/py-gobject-shared/DESCR b/devel/py-gobject-shared/DESCR new file mode 100644 index 00000000000..c2293b32867 --- /dev/null +++ b/devel/py-gobject-shared/DESCR @@ -0,0 +1,2 @@ +Python bindings for the GObject. +This package contains the common files for all Python versions. diff --git a/devel/py-gobject-shared/Makefile b/devel/py-gobject-shared/Makefile new file mode 100644 index 00000000000..42496de529e --- /dev/null +++ b/devel/py-gobject-shared/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1.1.1 2006/05/21 18:40:20 joerg Exp $ +# + +PKGNAME= py-gobject-shared-2.10.1 + +PYTHON_VERSION_REQD= ${PYTHON_VERSION_DEFAULT} + +.include "../../devel/py-gobject/Makefile.common" + +PYTHON_FOR_BUILD_ONLY= yes +INSTALLATION_DIRS= include/pygtk-2.0 lib/pkgconfig + +do-build: + +do-install: + ${INSTALL_DATA_DIR} ${PREFIX}/include/pygtk-2.0 + ${INSTALL_DATA} ${WRKSRC}/gobject/pygobject.h ${PREFIX}/include/pygtk-2.0 + ${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig + ${INSTALL_DATA} ${WRKSRC}/pygobject-2.0.pc ${PREFIX}/lib/pkgconfig + +.include "../../lang/python/extension.mk" +.include "../../devel/glib2/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/devel/py-gobject-shared/PLIST b/devel/py-gobject-shared/PLIST new file mode 100644 index 00000000000..c88897a6fa3 --- /dev/null +++ b/devel/py-gobject-shared/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/21 18:40:20 joerg Exp $ +include/pygtk-2.0/pygobject.h +lib/pkgconfig/pygobject-2.0.pc +@dirrm include/pygtk-2.0 diff --git a/devel/py-gobject-shared/buildlink3.mk b/devel/py-gobject-shared/buildlink3.mk new file mode 100644 index 00000000000..8b40eb4a0c6 --- /dev/null +++ b/devel/py-gobject-shared/buildlink3.mk @@ -0,0 +1,22 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/05/21 18:40:20 joerg Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +PY_GOBJECT_SHARED_BUILDLINK3_MK:= ${PY_GOBJECT_SHARED_BUILDLINK3_MK}+ + +.if ${BUILDLINK_DEPTH} == "+" +BUILDLINK_DEPENDS+= py-gobject-shared +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npy-gobject-shared} +BUILDLINK_PACKAGES+= py-gobject-shared + +.if ${PY_GOBJECT_SHARED_BUILDLINK3_MK} == "+" +BUILDLINK_API_DEPENDS.py-gobject-shared+= py-gobject-shared>=2.10.1 +BUILDLINK_PKGSRCDIR.py-gobject-shared?= ../../devel/py-gobject-shared +.endif # PY_GOBJECT_SHARED_BUILDLINK3_MK + +BUILDLINK_DEPMETHOD.py-gobject-shared?= build + +.include "../../devel/glib2/buildlink3.mk" + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |