diff options
author | makc <makc@FreeBSD.org> | 2009-09-16 03:30:47 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2009-09-16 03:30:47 +0800 |
commit | ba809cbdb01c7eafc2d882df0d4f12fb2dbee7bb (patch) | |
tree | cdd064ee37a78a341ef3a93d99f67ca6447f88e2 /x11-toolkits/qt4-gui | |
parent | 186cb4f5016c8c418ec4e05daf228e48b38c156e (diff) | |
download | freebsd-ports-gnome-ba809cbdb01c7eafc2d882df0d4f12fb2dbee7bb.tar.gz freebsd-ports-gnome-ba809cbdb01c7eafc2d882df0d4f12fb2dbee7bb.tar.zst freebsd-ports-gnome-ba809cbdb01c7eafc2d882df0d4f12fb2dbee7bb.zip |
- add dependency on devel/xdg-utils to improve usability under non-KDE/GNOME [1]
- add dependency on basic set of TrueType fonts [2]
- minor clean-ups
- bump PORTREVISION
PR: ports/138722 [1]
Reported by: Mark Andrews [1], bsam via #bsdports [2]
Feature safe: yes
Diffstat (limited to 'x11-toolkits/qt4-gui')
-rw-r--r-- | x11-toolkits/qt4-gui/Makefile | 15 |
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 |