diff options
author | Stanislav Sedov <stas@FreeBSD.org> | 2007-03-07 18:23:48 +0000 |
---|---|---|
committer | Stanislav Sedov <stas@FreeBSD.org> | 2007-03-07 18:23:48 +0000 |
commit | 9c29f912170e78b8a6d106d46de844789270c118 (patch) | |
tree | b7a5e744515fd5dcd09b097dc1d6d3e3c5ec2fd9 /graphics/djview4 | |
parent | - Update to 0.6.1 (diff) |
- Use qt4 framework
- Don't depend on X11R6 location [1]
Reported by: linimon [1]
Notes
Notes:
svn path=/head/; revision=186832
Diffstat (limited to 'graphics/djview4')
-rw-r--r-- | graphics/djview4/Makefile | 17 |
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} |