summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2002-04-17 10:29:01 +0000
committerdrochner <drochner@pkgsrc.org>2002-04-17 10:29:01 +0000
commit57d0464b44aa5a083c417c35228ff533be4ebc31 (patch)
treeabafb21334ecdaf136eb8bd1a6bbe763fb409870 /x11
parentd69b59e8fbc7a059c242f581a1d25218e2234b33 (diff)
downloadpkgsrc-57d0464b44aa5a083c417c35228ff533be4ebc31.tar.gz
initial import of sip-3.1, a tool to create Python bindings for C++
libraries, in its "Qt-2" variant
Diffstat (limited to 'x11')
-rw-r--r--x11/py-qt2-sip/DESCR4
-rw-r--r--x11/py-qt2-sip/Makefile29
-rw-r--r--x11/py-qt2-sip/PLIST9
-rw-r--r--x11/py-qt2-sip/buildlink.mk6
-rw-r--r--x11/py-qt2-sip/distinfo5
-rw-r--r--x11/py-qt2-sip/patches/patch-aa13
6 files changed, 66 insertions, 0 deletions
diff --git a/x11/py-qt2-sip/DESCR b/x11/py-qt2-sip/DESCR
new file mode 100644
index 00000000000..066f40f3895
--- /dev/null
+++ b/x11/py-qt2-sip/DESCR
@@ -0,0 +1,4 @@
+SIP is a tool that makes it very easy to create Python bindings for
+C++ libraries. It was originally developed to create PyQt, the Python
+bindings for the Qt toolkit, but can be used to create bindings for any
+C++ library.
diff --git a/x11/py-qt2-sip/Makefile b/x11/py-qt2-sip/Makefile
new file mode 100644
index 00000000000..517fb118977
--- /dev/null
+++ b/x11/py-qt2-sip/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/04/17 10:29:01 drochner Exp $
+#
+
+DISTNAME= sip-3.1
+PKGNAME= ${PYPKGPREFIX}-qt2-sip-3.1
+CATEGORIES= x11 devel
+MASTER_SITES= http://www.riverbankcomputing.co.uk/download/sip/
+
+MAINTAINER= drochner@netbsd.org
+HOMEPAGE= http://www.riverbankcomputing.co.uk/sip/index.php
+COMMENT= tool to create Python bindings for C++ libraries
+
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+HAS_CONFIGURE= YES
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-python=${PYTHONBIN}
+CONFIGURE_ARGS+= --with-qt-dir=${BUILDLINK_QTDIR}
+USE_BUILDLINK_ONLY= yes
+
+PY_PATCHPLIST= yes
+PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+MAKE_ENV+= PYVERSSUFFIX=${PYVERSSUFFIX}
+
+.include "../../lang/python/extension.buildlink.mk"
+.include "../../x11/qt2-libs/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/py-qt2-sip/PLIST b/x11/py-qt2-sip/PLIST
new file mode 100644
index 00000000000..5fe1e74df7f
--- /dev/null
+++ b/x11/py-qt2-sip/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/04/17 10:29:01 drochner Exp $
+bin/sip${PYVERSSUFFIX}
+${PYINC}/sip.h
+${PYINC}/sipQt.h
+${PYSITELIB}/libsip.a
+${PYSITELIB}/libsip.la
+${PYSITELIB}/libsip.so
+${PYSITELIB}/libsip.so.8
+${PYSITELIB}/libsip.so.8.0
diff --git a/x11/py-qt2-sip/buildlink.mk b/x11/py-qt2-sip/buildlink.mk
new file mode 100644
index 00000000000..b6e8a8367cd
--- /dev/null
+++ b/x11/py-qt2-sip/buildlink.mk
@@ -0,0 +1,6 @@
+# $NetBSD: buildlink.mk,v 1.1.1.1 2002/04/17 10:29:01 drochner Exp $
+
+.include "../../lang/python/pyversion.mk"
+
+BUILDLINK_DEPENDS.pyqt2sip?= ${PYPKGPREFIX}-qt2-sip-*
+DEPENDS+= ${BUILDLINK_DEPENDS.pyqt2sip}:../../x11/py-qt2-sip
diff --git a/x11/py-qt2-sip/distinfo b/x11/py-qt2-sip/distinfo
new file mode 100644
index 00000000000..9b88ce6e1c9
--- /dev/null
+++ b/x11/py-qt2-sip/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/04/17 10:29:01 drochner Exp $
+
+SHA1 (sip-3.1.tar.gz) = b930045b531a3a20cd4ef7146814540045d44e2a
+Size (sip-3.1.tar.gz) = 367024 bytes
+SHA1 (patch-aa) = 28cab67cc04659efda873c7407182968dabf09e7
diff --git a/x11/py-qt2-sip/patches/patch-aa b/x11/py-qt2-sip/patches/patch-aa
new file mode 100644
index 00000000000..b2064f41eb2
--- /dev/null
+++ b/x11/py-qt2-sip/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/04/17 10:29:01 drochner Exp $
+
+--- sip/Makefile.in.orig Tue Apr 16 17:02:41 2002
++++ sip/Makefile.in Tue Apr 16 17:05:22 2002
+@@ -68,7 +68,7 @@
+ host_alias = @host_alias@
+ host_triplet = @host@
+
+-EXEEXT = @EXEEXT@
++EXEEXT = ${PYVERSSUFFIX}
+ OBJEXT = @OBJEXT@
+ PATH_SEPARATOR = @PATH_SEPARATOR@
+ AMTAR = @AMTAR@