aboutsummaryrefslogtreecommitdiff
path: root/devel/py-sip
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2003-12-26 22:31:06 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2003-12-26 22:31:06 +0000
commited47507371e1ba40b9d35fc5f2103207f59bf944 (patch)
treec1e55e58264236c8b72be844935ee609db2222c2 /devel/py-sip
parentc795389cc96548075888bc73387e1ca62be88439 (diff)
downloadports-ed47507371e1ba40b9d35fc5f2103207f59bf944.tar.gz
ports-ed47507371e1ba40b9d35fc5f2103207f59bf944.zip
Notes
Diffstat (limited to 'devel/py-sip')
-rw-r--r--devel/py-sip/Makefile18
-rw-r--r--devel/py-sip/distinfo1
-rw-r--r--devel/py-sip/pkg-descr4
-rw-r--r--devel/py-sip/pkg-plist5
4 files changed, 18 insertions, 10 deletions
diff --git a/devel/py-sip/Makefile b/devel/py-sip/Makefile
index ef58bfb66170..785b4bcd0d14 100644
--- a/devel/py-sip/Makefile
+++ b/devel/py-sip/Makefile
@@ -5,20 +5,22 @@
# $FreeBSD$
PORTNAME= sip
-PORTVERSION= 3.8
+PORTVERSION= 4.0.r1
CATEGORIES= devel python
+MASTER_SITES= http://www.river-bank.demon.co.uk/download/sip/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
-DISTFILES=
+DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/}
MAINTAINER= eugos@gmx.net
-COMMENT= Python convenience link to sip library
-
-LIB_DEPENDS= sip.10:${PORTSDIR}/devel/sip
+COMMENT= Python to C and C++ bindings generator
USE_PYTHON= yes
-NO_BUILD= yes
+USE_QT_VER= 3
-do-install:
- ${LN} -s ${LOCALBASE}/lib/libsip.so ${PYTHONPREFIX_SITELIBDIR}/libsip.so
+do-configure:
+ @(cd ${WRKSRC} && ${SETENV} QTDIR=${X11BASE} \
+ QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++ \
+ ${PYTHON_CMD} configure.py -b ${PREFIX}/bin \
+ -d ${PYTHONPREFIX_SITELIBDIR} -v ${PREFIX}/share/sip)
.include <bsd.port.mk>
diff --git a/devel/py-sip/distinfo b/devel/py-sip/distinfo
new file mode 100644
index 000000000000..366b8c64965b
--- /dev/null
+++ b/devel/py-sip/distinfo
@@ -0,0 +1 @@
+MD5 (sip-4.0rc1.tar.gz) = 63a3c4fa9f1e6eecdc2ed50570658d70
diff --git a/devel/py-sip/pkg-descr b/devel/py-sip/pkg-descr
index 1bbe1cff9ebc..6b7839aef526 100644
--- a/devel/py-sip/pkg-descr
+++ b/devel/py-sip/pkg-descr
@@ -1 +1,3 @@
-Python convenience link to sip library
+SIP is a tool for generating Python bindings for C and C++ libraries.
+
+WWW: http://www.riverbankcomputing.co.uk/sip/
diff --git a/devel/py-sip/pkg-plist b/devel/py-sip/pkg-plist
index 5513ef0bfe1e..41a841d4ac11 100644
--- a/devel/py-sip/pkg-plist
+++ b/devel/py-sip/pkg-plist
@@ -1 +1,4 @@
-%%PYTHON_SITELIBDIR%%/libsip.so
+bin/sip
+%%PYTHON_INCLUDEDIR%%/sip.h
+%%PYTHON_SITELIBDIR%%/sip.so
+%%PYTHON_SITELIBDIR%%/sipconfig.py