summaryrefslogtreecommitdiff
path: root/devel/py-sip
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-05-12 02:22:40 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-05-12 02:22:40 +0000
commitfddcb6552ea7afe15f9a5f0fa42a44632441ae5d (patch)
treec35298023be135932d226317abf9e4ad68466e2c /devel/py-sip
parentUpdate to 2.1.1 (diff)
- Remove "without Qt support" knob; SIP always has Qt (signal/slot) support.
- Remove dependencies for qt/qmake; SIP doesn't need Qt to be installed. - Misc cleanup; SIP has a freebsd-g++ buildspec of its own Bump PORTREVISION PR: ports/97044 Submitted by: Danny Pansters (maintainer) Approved by: lawrance (mentor)
Notes
Notes: svn path=/head/; revision=162147
Diffstat (limited to 'devel/py-sip')
-rw-r--r--devel/py-sip/Makefile16
1 files changed, 3 insertions, 13 deletions
diff --git a/devel/py-sip/Makefile b/devel/py-sip/Makefile
index d35de56474ca..a02293d2644b 100644
--- a/devel/py-sip/Makefile
+++ b/devel/py-sip/Makefile
@@ -6,6 +6,7 @@
PORTNAME= sip
PORTVERSION= 4.4.3
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= http://www.riverbankcomputing.com/Downloads/sip4/ \
http://freebsd.ricin.com/ports/distfiles/
@@ -15,19 +16,15 @@ DISTNAME= sip-${PORTVERSION}
MAINTAINER= danny@ricin.com
COMMENT= Python to C and C++ bindings generator
-BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
-
USE_PYTHON= yes
OPTIONS= DEBUG "Build with debugging symbols" off \
- DOCS "Install documentation" on \
- QT "Enable Qt support" on
+ DOCS "Install documentation" on
DATADIR= ${PREFIX}/share/py-${PORTNAME}
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
-SPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
ARGS= -b ${PREFIX}/bin -d ${PYTHONPREFIX_SITELIBDIR} \
-e ${PYTHONPREFIX_INCLUDEDIR} -v ${DATADIR}
@@ -41,16 +38,9 @@ PLIST_SUB+= DOCS=""
.if defined(WITH_DEBUG)
ARGS+= -u
.endif
-.if defined(WITHOUT_QT)
-ARGS+= -x
-.else
-BUILD_DEPENDS+= moc:${PORTSDIR}/x11-toolkits/qt33
-RUN_DEPENDS+= moc:${PORTSDIR}/x11-toolkits/qt33
-.endif
do-configure:
- ( cd ${WRKSRC} && ${SETENV} QTDIR=${X11BASE} QMAKESPEC=${SPEC} \
- ${PYTHON_CMD} configure.py ${ARGS} )
+ ( cd ${WRKSRC} && ${PYTHON_CMD} configure.py ${ARGS} )
post-install:
.if !defined(NOPORTDOCS) && !defined(WITHOUT_DOCS)