aboutsummaryrefslogtreecommitdiff
path: root/devel/qt4-qvfb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/qt4-qvfb/Makefile')
-rw-r--r--devel/qt4-qvfb/Makefile28
1 files changed, 7 insertions, 21 deletions
diff --git a/devel/qt4-qvfb/Makefile b/devel/qt4-qvfb/Makefile
index e8f016d1d19d..f12215ffc1a2 100644
--- a/devel/qt4-qvfb/Makefile
+++ b/devel/qt4-qvfb/Makefile
@@ -7,8 +7,8 @@
#
PORTNAME= qvfb
-PORTVERSION= 4.2.3
-PORTREVISION= 2
+PORTVERSION= ${QT4_VERSION}
+PORTREVISION=0
CATEGORIES?= devel
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@@ -18,27 +18,13 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt virtual framebuffer utility
-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 \
- QtGui:${PORTSDIR}/x11-toolkits/qt4-gui \
- QtOpenGL:${PORTSDIR}/x11/qt4-opengl
-
-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 gui opengl
+QT_NONSTANDARD= yes
+QT_DIST= yes
HAS_CONFIGURE= yes
-CONFIGURE_ARGS= -fast -no-exceptions \
- -platform ${LOCALBASE}/share/qt4/mkspecs/freebsd-g++ \
- -qt-gif -release -system-libjpeg -system-libpng \
- -system-zlib -no-nas-sound -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 \
@@ -54,7 +40,7 @@ EXTRACT_AFTER_ARGS=| ${TAR} -xf - \
--exclude '${DISTNAME}/src/tools/uic' --exclude '${DISTNAME}/src/tools/uic3' \
--exclude '${DISTNAME}/tools/assistant' --exclude '${DISTNAME}/tools/designer' \
--exclude '${DISTNAME}/tools/linguist' --exclude '${DISTNAME}/tools/porting' \
- --exclude '${DISTNAME}/tools/qtconfig'
+ --exclude '${DISTNAME}/tools/qtconfig'
WRKSRC= ${WRKDIR}/${DISTNAME}/tools/${PORTNAME}
CONFIGURE_WRKSRC=${WRKSRC}/../../