diff options
author | will <will@FreeBSD.org> | 2000-04-23 05:27:56 +0800 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-04-23 05:27:56 +0800 |
commit | ba4d1c643c505db84b0da7cc74f3ecfb8b663c0c (patch) | |
tree | 92f9bf7d917f8ec879c9caf37e7d17299e270da1 /devel | |
parent | 8c8495a68f9974103fd0f6e23f95c64b2969ab93 (diff) | |
download | freebsd-ports-gnome-ba4d1c643c505db84b0da7cc74f3ecfb8b663c0c.tar.gz freebsd-ports-gnome-ba4d1c643c505db84b0da7cc74f3ecfb8b663c0c.tar.zst freebsd-ports-gnome-ba4d1c643c505db84b0da7cc74f3ecfb8b663c0c.zip |
SIP is a tool for generating bindings for C++ classes so that they can be
accessed as normal Python classes.
PR: 17932
Submitted by: Arun Sharma <adsharma@sharmas.dhs.org>
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/sip/Makefile | 23 | ||||
-rw-r--r-- | devel/sip/distinfo | 1 | ||||
-rw-r--r-- | devel/sip/pkg-comment | 1 | ||||
-rw-r--r-- | devel/sip/pkg-descr | 20 | ||||
-rw-r--r-- | devel/sip/pkg-plist | 9 |
6 files changed, 55 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 2c86ce5565ac..296903cf61af 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -198,6 +198,7 @@ SUBDIR += sdl SUBDIR += sfio SUBDIR += shtool + SUBDIR += sip SUBDIR += stlport SUBDIR += str SUBDIR += swarm diff --git a/devel/sip/Makefile b/devel/sip/Makefile new file mode 100644 index 000000000000..9071f838e438 --- /dev/null +++ b/devel/sip/Makefile @@ -0,0 +1,23 @@ +# New ports collection makefile for: sip +# Version required: 0.9 +# Date created: Sun Oct 17 00:24:28 PDT 1999 +# Whom: adsharma@home.com +# +# $FreeBSD$ +# + +PORTNAME= sip +PORTVERSION= 0.11.1 +CATEGORIES= devel python +MASTER_SITES= http://www.river-bank.demon.co.uk/software/ + +MAINTAINER= adsharma@home.com + +USE_LIBTOOL= yes +USE_QT= yes +CONFIGURE_ARGS= --enable-qt --with-qt-includes=${X11BASE}/include/X11/qt +GNU_CONFIGURE= yes +USE_GMAKE= yes +CONFIGURE_ENV= LDFLAGS=-lgcc + +.include <bsd.port.mk> diff --git a/devel/sip/distinfo b/devel/sip/distinfo new file mode 100644 index 000000000000..eefb7c0e0709 --- /dev/null +++ b/devel/sip/distinfo @@ -0,0 +1 @@ +MD5 (sip-0.11.1.tar.gz) = 6ad0a57e957b8950803481bbf1458beb diff --git a/devel/sip/pkg-comment b/devel/sip/pkg-comment new file mode 100644 index 000000000000..4b49f7034dfd --- /dev/null +++ b/devel/sip/pkg-comment @@ -0,0 +1 @@ +Python to C++ bindings generator diff --git a/devel/sip/pkg-descr b/devel/sip/pkg-descr new file mode 100644 index 000000000000..9852ea208b06 --- /dev/null +++ b/devel/sip/pkg-descr @@ -0,0 +1,20 @@ +SIP is a tool for generating bindings for C++ classes so that they can be +accessed as normal Python classes. SIP takes many of its ideas from SWIG but, +because it is specifically designed for C++ and Python, is able to generate +tighter bindings. SIP is so called because it is a small SWIG. + +SIP was originally designed to generate Python bindings for KDE and so has +explicit support for the signal slot mechanism used by the Qt/KDE class +libraries. However, SIP can be used to generate Python bindings for any C++ +class library. + +The bindings generated by SIP support access to the following C++ and Qt +features: + - connecting Qt signals to Python functions and class methods + - connecting Python signals to Qt slots + - overloading virtual member functions with Python class methods + - protected member functions + - abstract classes + - enumerated types + - global class instances + - static member functions. diff --git a/devel/sip/pkg-plist b/devel/sip/pkg-plist new file mode 100644 index 000000000000..17abf6aba7ad --- /dev/null +++ b/devel/sip/pkg-plist @@ -0,0 +1,9 @@ +bin/sip +lib/libsip.so.2 +lib/libsip.so +lib/libsip.a +include/sip/sip.h +include/sip/sipQt.h +@dirrm include/sip +@exec /sbin/ldconfig -m %D/lib +@unexec /sbin/ldconfig -R |