diff options
Diffstat (limited to 'graphics/kdegraphics4/Makefile')
-rw-r--r-- | graphics/kdegraphics4/Makefile | 97 |
1 files changed, 61 insertions, 36 deletions
diff --git a/graphics/kdegraphics4/Makefile b/graphics/kdegraphics4/Makefile index 22e20ac447f4..21c43beadc40 100644 --- a/graphics/kdegraphics4/Makefile +++ b/graphics/kdegraphics4/Makefile @@ -6,47 +6,72 @@ PORTNAME= kdegraphics PORTVERSION= ${KDE4_VERSION} -PORTREVISION= 1 CATEGORIES= graphics kde -MASTER_SITES= ${MASTER_SITE_KDE} -MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src -DIST_SUBDIR= KDE +MASTER_SITES= # empty +DISTFILES= # empty MAINTAINER= kde@FreeBSD.org -COMMENT= Graphics utilities for the KDE4 integrated X11 desktop - -BUILD_DEPENDS= kpsewhich:${PORTSDIR}/print/teTeX-base -LIB_DEPENDS= art_lgpl_2.5:${PORTSDIR}/graphics/libart_lgpl \ - fontconfig.1:${PORTSDIR}/x11-fonts/fontconfig \ - freetype.9:${PORTSDIR}/print/freetype2 \ - fribidi.3:${PORTSDIR}/converters/fribidi \ - lcms.1:${PORTSDIR}/graphics/lcms \ - paper.2:${PORTSDIR}/print/libpaper \ - poppler-qt4.3:${PORTSDIR}/graphics/poppler-qt4 \ - exiv2.10:${PORTSDIR}/graphics/exiv2 \ - chm.0:${PORTSDIR}/misc/chmlib \ - sane.1:${PORTSDIR}/graphics/sane-backends \ - gphoto2.2:${PORTSDIR}/graphics/libgphoto2 \ - djvulibre.24:${PORTSDIR}/graphics/djvulibre-nox11 \ - qimageblitz.4:${PORTSDIR}/x11/qimageblitz \ - spectre.1:${PORTSDIR}/print/libspectre \ - qca.2:${PORTSDIR}/devel/qca \ - epub.0:${PORTSDIR}/textproc/ebook-tools +COMMENT= Graphics utilities for KDE 4 (meta-port) + +RUN_DEPENDS= ${KDE4_PREFIX}/lib/kde4/mobithumbnail.so:${PORTSDIR}/graphics/kdegraphics4-mobipocket \ + ${KDE4_PREFIX}/lib/strigi/strigiea_dvi.so:${PORTSDIR}/graphics/kdegraphics4-strigi-analyzer \ + ${KDE4_PREFIX}/lib/kde4/svgpart.so:${PORTSDIR}/graphics/kdegraphics4-svgpart \ + ${KDE4_PREFIX}/lib/kde4/gsthumbnail.so:${PORTSDIR}/graphics/kdegraphics4-thumbnailers LATEST_LINK= ${PORTNAME}4 -USE_GL= glut -USE_GHOSTSCRIPT= yes -USE_KDE4= kdelibs kdeprefix kdehier automoc4 -KDE4_BUILDENV= yes -USE_BZIP2= yes -USE_QT_VER= 4 -QT_COMPONENTS= opengl gui svg iconengines pixeltool \ - moc_build rcc_build uic_build qmake_build -MAKE_JOBS_SAFE= yes - -post-patch: - ${FIND} ${PATCH_WRKSRC} -type f -name CMakeLists.txt | ${XARGS} \ - ${REINPLACE_CMD} -e 's|pkgconfig|../libdata/pkgconfig|' +USE_KDE4= kdeprefix +NO_BUILD= yes + +OPTIONS= GPHOTO2 "Digital camera manager" on \ + GWENVIEW "Image viewer and browser" on \ + KCOLORCHOOSER "Utility for colors selection" on \ + KGAMMA "Monitor calibration tool" on \ + KRULER "Screen ruler" on \ + KOLOURPAINT "Paint application" on \ + KSNAPSHOT "Screen capture program" on \ + OKULAR "Universal document viewer" on \ + SANE "Plugin for scanning on KDE" on + +.include <bsd.port.options.mk> + +.ifndef(WITHOUT_GPHOTO2) +RUN_DEPENDS+= ${KDE4_PREFIX}/lib/kde4/kio_kamera.so:${PORTSDIR}/graphics/kamera-kde4 +.endif + +.ifndef(WITHOUT_GWENVIEW) +RUN_DEPENDS+= ${KDE4_PREFIX}/bin/gwenview:${PORTSDIR}/graphics/gwenview-kde4 +.endif + +.ifndef(WITHOUT_KCOLORCHOOSER) +RUN_DEPENDS+= ${KDE4_PREFIX}/bin/kcolorchooser:${PORTSDIR}/graphics/kcolorchooser +.endif + +.ifndef(WITHOUT_KGAMMA) +RUN_DEPENDS+= ${KDE4_PREFIX}/bin/xf86gammacfg:${PORTSDIR}/x11/kgamma +.endif + +.ifndef(WITHOUT_KRULER) +RUN_DEPENDS+= ${KDE4_PREFIX}/bin/kruler:${PORTSDIR}/deskutils/kruler +.endif + +.ifndef(WITHOUT_KOLOURPAINT) +RUN_DEPENDS+= ${KDE4_PREFIX}/bin/kolourpaint:${PORTSDIR}/graphics/kolourpaint +.endif + +.ifndef(WITHOUT_KSNAPSHOT) +RUN_DEPENDS+= ${KDE4_PREFIX}/bin/ksnapshot:${PORTSDIR}/graphics/ksnapshot +.endif + +.ifndef(WITHOUT_OKULAR) +RUN_DEPENDS+= ${KDE4_PREFIX}/bin/okular:${PORTSDIR}/graphics/okular +.endif + +.ifndef(WITHOUT_SANE) +RUN_DEPENDS+= ${KDE4_PREFIX}/lib/kde4/ksaneplugin.so:${PORTSDIR}/graphics/ksaneplugin +.endif + +do-install: + ${DO_NADA} .include <bsd.port.mk> |