aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/qt4-gui/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2009-09-15 19:30:47 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2009-09-15 19:30:47 +0000
commite90ceb32525ca5389be3d81ecb0b3e533a2c8926 (patch)
tree65158bab9fd54e351c9911b91acb2379afee9d13 /x11-toolkits/qt4-gui/Makefile
parent84b6a1b2325671d50ea1d36180aa022ac8a7d4be (diff)
downloadports-e90ceb32525ca5389be3d81ecb0b3e533a2c8926.tar.gz
ports-e90ceb32525ca5389be3d81ecb0b3e533a2c8926.zip
Notes
Diffstat (limited to 'x11-toolkits/qt4-gui/Makefile')
-rw-r--r--x11-toolkits/qt4-gui/Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/x11-toolkits/qt4-gui/Makefile b/x11-toolkits/qt4-gui/Makefile
index c459f931cd30..78f92a9091c3 100644
--- a/x11-toolkits/qt4-gui/Makefile
+++ b/x11-toolkits/qt4-gui/Makefile
@@ -8,7 +8,7 @@
PORTNAME= gui
PORTVERSION= ${QT4_VERSION}
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES?= x11-toolkits
MASTER_SITES= ${MASTER_SITE_QT}
PKGNAMEPREFIX= qt4-
@@ -18,8 +18,9 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt graphical user interface library
-LIB_DEPENDS?= png:${PORTSDIR}/graphics/png \
+LIB_DEPENDS= png:${PORTSDIR}/graphics/png \
fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig
+RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils
MAKE_JOBS_SAFE= yes
@@ -34,7 +35,7 @@ USE_XORG= xrender xrandr xinerama inputproto xfixes \
sm xcursor xext x11 ice xi xt
ALL_TARGET= first
-CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
+CONFIGURE_ENV?= QTDIR=${WRKSRC} PATH=${WRKSRC}/bin:$$PATH
MAKE_ENV?= QTDIR=${WRKSRC} LD_LIBRARY_PATH=${WRKSRC}/lib \
PATH=${WRKSRC}/bin:$$PATH
@@ -54,6 +55,9 @@ PATCH_WRKSRC=${CONFIGURE_WRKSRC}
CONFIGURE_ARGS+= -I../../include/Qt -I../../include
+FONTSCALE= ${LOCALBASE}/lib/X11/fonts/TTF/luximb.ttf
+FONTENCOD= ${LOCALBASE}/lib/X11/fonts/encodings/encodings.dir
+
.include "${.CURDIR}/../../devel/qt4/files/Makefile.options"
.if ${QT4_OPTIONS:MCUPS}
@@ -75,6 +79,11 @@ CONFIGURE_ARGS+=-system-nas-sound
CONFIGURE_ARGS+=-no-nas-sound
.endif
+.if defined(PACKAGE_BUILDING)
+RUN_DEPENDS+= ${FONTSCALE}:${X_FONTS_TTF_PORT} \
+ ${FONTENCOD}:${X_FONTS_ENCODINGS_PORT}
+.endif
+
pre-configure:
${CP} ${.CURDIR}/../../devel/qt4/files/configure ${CONFIGURE_WRKSRC}
${MKDIR} ${WRKSRC}/../../mkspecs