diff --git a/devel/pyside/Makefile b/devel/pyside/Makefile index 4afa67248730..266c4178f63e 100644 --- a/devel/pyside/Makefile +++ b/devel/pyside/Makefile @@ -6,25 +6,28 @@ # PORTNAME= pyside -PORTVERSION= 1.1.0 -PORTREVISION= 1 +PORTVERSION= 1.1.1 +PORTREVISION= 0 CATEGORIES= devel MASTER_SITES= http://www.pyside.org/files/ PKGNAMESUFFIX= ${PYTHON_PKGNAMESUFFIX} -DISTNAME= ${PORTNAME}-qt4.7+${PORTVERSION} +DISTNAME= ${PORTNAME}-qt${QT4_VERSION:R}+${PORTVERSION} MAINTAINER= nivit@FreeBSD.org COMMENT= Python bindings for the Qt applications and UI framework LICENSE= LGPL21 -LIB_DEPENDS= apiextractor.0:${PORTSDIR}/devel/apiextractor \ - shiboken-${PYTHON_VERSION}.1:${PORTSDIR}/devel/shiboken +LIB_DEPENDS= apiextractor:${PORTSDIR}/devel/apiextractor \ + genrunner:${PORTSDIR}/devel/generatorrunner \ + shiboken-${PYTHON_VERSION}:${PORTSDIR}/devel/shiboken -CMAKE_ARGS= -DGL_H:FILEPATH="${LOCALBASE}/include/GL/gl.h" \ +MANUAL_PACKAGE_BUILD= requires x11-toolkits/qt4-gui with QGTKSTYLE enabled + +CMAKE_ARGS= -DCMAKE_COLOR_MAKEFILE:BOOL="OFF" \ + -DGL_H:FILEPATH="${LOCALBASE}/include/GL/gl.h" \ -DGL_INCLUDE_DIR:FILEPATH="${LOCALBASE}/include" -# QT4_OPTIONS=QGTKSTYLE in /etc/make.conf removes some warnings USE_QT4= declarative designer gui help qmake_build \ moc_build multimedia network opengl \ phonon rcc_build script scripttools \ @@ -36,8 +39,34 @@ PLIST_SUB= PORTVERSION=${PORTVERSION} \ USE_BZIP2= yes USE_CMAKE= yes USE_LDCONFIG= yes -USE_PYTHON= 2.5-2.7 +USE_PYTHON= -2.7 -# API documentation requires graphics/graphviz and Qt4 src to build +.include -.include +.include "${PORTSDIR}/devel/qt4/files/Makefile.options" + +nl= ${.newline} + +REBUILD_QT4GUI= "${nl} Before building ${PORTNAME},\ +please add QT4_OPTIONS+=QGTKSTYLE to ${__MAKE_CONF}${nl}\ +and then reinstall devel/qt4-corelib and x11-toolkits/qt4-gui${nl}" + +#QGTKSTYLE_MSG= "${nl}\# ${PORTNAME} requires\ +#x11-toolkits/qt4-gui built with QGTKSTYLE\ +#${nl}QT4_OPTIONS+=QGTKSTYLE${nl}" + +post-fetch: +.if !${QT4_OPTIONS:MQGTKSTYLE} + @${ECHO_MSG} ${REBUILD_QT4GUI} + @exit 1 +# a non canonical way... +# @${ECHO_CMD} ${QGTKSTYLE_MSG} >> ${__MAKE_CONF} +#. if exists(${LOCALBASE}/include/qt4/Qt/QtGui) +#. for p in devel/qt4-corelib x11-toolkits/qt4-gui +# @(cd ${PORTSDIR}/${p} && \ +# ${MAKE} clean install -DFORCE_PKG_REGISTER) +#. endfor +#. endif +.endif + +.include diff --git a/devel/pyside/distinfo b/devel/pyside/distinfo index 01a603e89efc..266783871f45 100644 --- a/devel/pyside/distinfo +++ b/devel/pyside/distinfo @@ -1,2 +1,2 @@ -SHA256 (pyside-qt4.7+1.1.0.tar.bz2) = e57ad83e7dfc78bcd72934240c14f59d31da7f429e1c9ee0a060a216ef162ddf -SIZE (pyside-qt4.7+1.1.0.tar.bz2) = 3747682 +SHA256 (pyside-qt4.8+1.1.1.tar.bz2) = acda876bb8e531682ce0a14e133021142c07988d505117299db3c00668749284 +SIZE (pyside-qt4.8+1.1.1.tar.bz2) = 3756704