1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

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>
This commit is contained in:
Will Andrews 2000-04-22 21:27:56 +00:00
parent 79eab9f8fd
commit db365067b2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=27898
6 changed files with 55 additions and 0 deletions

View File

@ -198,6 +198,7 @@
SUBDIR += sdl
SUBDIR += sfio
SUBDIR += shtool
SUBDIR += sip
SUBDIR += stlport
SUBDIR += str
SUBDIR += swarm

23
devel/sip/Makefile Normal file
View File

@ -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>

1
devel/sip/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (sip-0.11.1.tar.gz) = 6ad0a57e957b8950803481bbf1458beb

1
devel/sip/pkg-comment Normal file
View File

@ -0,0 +1 @@
Python to C++ bindings generator

20
devel/sip/pkg-descr Normal file
View File

@ -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.

9
devel/sip/pkg-plist Normal file
View File

@ -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