aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorstas <stas@FreeBSD.org>2007-03-08 02:23:48 +0800
committerstas <stas@FreeBSD.org>2007-03-08 02:23:48 +0800
commit25ed7a34e4d6d80baebee5bdeb122f0e558ee2c8 (patch)
tree4de89a85347de906e7b6cebb263ff66ce84d998d /graphics
parentf4945141869e9791ba42630caa5ca250ae2a5694 (diff)
downloadfreebsd-ports-gnome-25ed7a34e4d6d80baebee5bdeb122f0e558ee2c8.tar.gz
freebsd-ports-gnome-25ed7a34e4d6d80baebee5bdeb122f0e558ee2c8.tar.zst
freebsd-ports-gnome-25ed7a34e4d6d80baebee5bdeb122f0e558ee2c8.zip
- Use qt4 framework
- Don't depend on X11R6 location [1] Reported by: linimon [1]
Diffstat (limited to 'graphics')
-rw-r--r--graphics/djview4/Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/graphics/djview4/Makefile b/graphics/djview4/Makefile
index 1aed44a99939..009dc3018a56 100644
--- a/graphics/djview4/Makefile
+++ b/graphics/djview4/Makefile
@@ -7,6 +7,7 @@
PORTNAME= djview
PORTVERSION= 4.0
+PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= djvu
@@ -15,20 +16,16 @@ DISTNAME= ${PORTNAME}4-${PORTVERSION}
MAINTAINER= stas@FreeBSD.org
COMMENT= Standalone Djvu viewer and plugin based on Qt4 toolkit
-BUILD_DEPENDS= moc4:${PORTSDIR}/devel/qt4-moc \
- qmake-qt4:${PORTSDIR}/devel/qmake4 \
- rcc:${PORTSDIR}/devel/qt4-rcc \
- uic4:${PORTSDIR}/devel/qt4-uic
-
-LIB_DEPENDS= djvulibre.18:${PORTSDIR}/graphics/djvulibre-nox11 \
- QtCore:${PORTSDIR}/devel/qt4-corelib \
- QtGui:${PORTSDIR}/x11-toolkits/qt4-gui \
- QtNetwork:${PORTSDIR}/net/qt4-network
GNU_CONFIGURE= yes
USE_GNOME= pkgconfig gnometarget
+USE_QT_VER= 4
+QT_COMPONENTS= gui network rcc uic moc qmake
CONFIGURE_ENV= QMAKE="${LOCALBASE}/bin/qmake-qt4" \
- QMAKESPEC="${QMAKESPEC}"
+ QMAKESPEC="${QMAKESPEC}" \
+ CFLAGS="-I${X11BASE}/include" \
+ CXXFLAGS="-I${X11BASE}/include" \
+ LDFLAGS="-L${X11BASE}/lib"
MAKE_ENV= INSTALL_SCRIPT="${INSTALL_SCRIPT}"
.if defined(CXX) && ${CXX:M*icc}