diff options
author | lofi <lofi@FreeBSD.org> | 2007-07-16 18:12:15 +0800 |
---|---|---|
committer | lofi <lofi@FreeBSD.org> | 2007-07-16 18:12:15 +0800 |
commit | d6fbb55c8d08bce8c098cf446709cb19c7a99e7a (patch) | |
tree | 5f5e822ab4d9145d6928fa3ad65d393697b8b1d6 /x11-toolkits/qt4-gui/Makefile | |
parent | 91f7eacf6952fa98d2d8a4b08aa0a185fae8315a (diff) | |
download | freebsd-ports-gnome-d6fbb55c8d08bce8c098cf446709cb19c7a99e7a.tar.gz freebsd-ports-gnome-d6fbb55c8d08bce8c098cf446709cb19c7a99e7a.tar.zst freebsd-ports-gnome-d6fbb55c8d08bce8c098cf446709cb19c7a99e7a.zip |
Update to Qt 4.3.0, introduce bsd.qt.mk.
Approved by: portmgr (bsd.port.mk changes)
Diffstat (limited to 'x11-toolkits/qt4-gui/Makefile')
-rw-r--r-- | x11-toolkits/qt4-gui/Makefile | 35 |
1 files changed, 12 insertions, 23 deletions
diff --git a/x11-toolkits/qt4-gui/Makefile b/x11-toolkits/qt4-gui/Makefile index 9e3436a0e5ad..393fd5006cb4 100644 --- a/x11-toolkits/qt4-gui/Makefile +++ b/x11-toolkits/qt4-gui/Makefile @@ -7,39 +7,28 @@ # PORTNAME= gui -PORTVERSION= 4.2.3 -PORTREVISION= 2 +PORTVERSION= ${QT4_VERSION} +PORTREVISION=0 CATEGORIES?= x11-toolkits MASTER_SITES= ${MASTER_SITE_QT} PKGNAMEPREFIX= qt4- DISTNAME= qt-x11-opensource-src-${PORTVERSION} DIST_SUBDIR= KDE -MAINTAINER?= kde@FreeBSD.org -COMMENT?= Qt graphical user interface library +MAINTAINER= kde@FreeBSD.org +COMMENT= Qt graphical user interface library -BUILD_DEPENDS= moc-qt4:${PORTSDIR}/devel/qt4-moc \ - qmake-qt4:${PORTSDIR}/devel/qmake4 \ - rcc:${PORTSDIR}/devel/qt4-rcc \ - uic-qt4:${PORTSDIR}/devel/qt4-uic -LIB_DEPENDS?= QtCore:${PORTSDIR}/devel/qt4-corelib \ - png:${PORTSDIR}/graphics/png +LIB_DEPENDS?= png:${PORTSDIR}/graphics/png -CONFLICTS= linguist-0.* qt-2.* qt-3.0.* \ - qt-3.1.* qt-3.2.* qt-designer-2.* xfmail-1.5.[0-5] \ - xfmail-1.5.5_[1-2] +USE_QT_VER= 4 +QT_COMPONENTS= qmake moc rcc uic corelib +QT_NONSTANDARD= yes +QT_DIST= yes HAS_CONFIGURE= yes USE_LDCONFIG= yes USE_XLIB= yes -CONFIGURE_ARGS= -fast -no-exceptions ${CUPS} \ - -platform ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++ \ - -qt-gif -release -system-libjpeg -system-libpng \ - -system-zlib -prefix ${PREFIX} \ - -plugindir ${PREFIX}/lib/plugins -bindir ${PREFIX}/bin \ - -confirm-license - ALL_TARGET= first CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \ @@ -93,11 +82,11 @@ pre-configure: ${LN} -sf ${LOCALBASE}/bin/uic-qt4 ${WRKSRC}/../../bin/uic post-configure: - ${REINPLACE_CMD} -e 's|${PREFIX}/lib/QtGui.pc|${PREFIX}/libdata/pkgconfig/QtGui.pc|g' \ - ${WRKSRC}/Makefile + ${REINPLACE_CMD} -e 's|${PREFIX}/lib/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \ + -e 's|.*$$(QMAKE).*||g' -e 's|(test -z.*||g' ${WRKSRC}/Makefile ${REINPLACE_CMD} -E -e 's|-L.[^[:space:]]*qt-x11-opensource.[^[:space:]]*lib||g' \ -E -e 's|(.*location=).*moc|\1${PREFIX}/bin/moc-qt4|g' \ -E -e 's|(.*location=).*uic|\1${PREFIX}/bin/uic-qt4|g' \ - ${WRKSRC}/../../lib/*Qt* + ${WRKSRC}/../../lib/pkgconfig/*Qt* .include <bsd.port.post.mk> |