aboutsummaryrefslogtreecommitdiff
path: root/graphics/kdegraphics4
diff options
context:
space:
mode:
authorMichael Nottebrock <lofi@FreeBSD.org>2004-08-11 01:27:37 +0000
committerMichael Nottebrock <lofi@FreeBSD.org>2004-08-11 01:27:37 +0000
commit461f3c5adb635525af6de102321df3e6288bfb1c (patch)
tree2025e3327a038c580b6f13bdc201e220e2077bb4 /graphics/kdegraphics4
parent5036b1c6d43d4a6652f933702bfcc8b3553fddfd (diff)
downloadports-461f3c5adb635525af6de102321df3e6288bfb1c.tar.gz
ports-461f3c5adb635525af6de102321df3e6288bfb1c.zip
Notes
Diffstat (limited to 'graphics/kdegraphics4')
-rw-r--r--graphics/kdegraphics4/Makefile26
-rw-r--r--graphics/kdegraphics4/files/plist.base.rm107
-rw-r--r--graphics/kdegraphics4/files/plist.gphoto211
-rw-r--r--graphics/kdegraphics4/files/plist.gphoto2.rm6
-rw-r--r--graphics/kdegraphics4/files/plist.imlib20
-rw-r--r--graphics/kdegraphics4/files/plist.imlib.rm2
-rw-r--r--graphics/kdegraphics4/files/plist.sane40
-rw-r--r--graphics/kdegraphics4/files/plist.sane.rm4
-rw-r--r--graphics/kdegraphics4/pkg-plist (renamed from graphics/kdegraphics4/files/plist.base)100
9 files changed, 93 insertions, 223 deletions
diff --git a/graphics/kdegraphics4/Makefile b/graphics/kdegraphics4/Makefile
index 496f20050a5a..fc11ee62aafa 100644
--- a/graphics/kdegraphics4/Makefile
+++ b/graphics/kdegraphics4/Makefile
@@ -8,6 +8,7 @@
PORTNAME= kdegraphics
PORTVERSION= ${KDE_VERSION}
+PORTREVISION= 1
CATEGORIES= graphics kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -20,13 +21,12 @@ LIB_DEPENDS= art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl2 \
fontconfig:${PORTSDIR}/x11-fonts/fontconfig \
freetype:${PORTSDIR}/print/freetype2 \
fribidi:${PORTSDIR}/converters/fribidi \
- lcms:${PORTSDIR}/graphics/lcms \
- glut:${PORTSDIR}/graphics/libglut
+ glut:${PORTSDIR}/graphics/libglut \
+ lcms:${PORTSDIR}/graphics/lcms
RUN_DEPENDS= pdfinfo:${PORTSDIR}/graphics/xpdf
USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
-KDE_BUILD_PLIST=yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
@@ -36,6 +36,7 @@ USE_GHOSTSCRIPT=yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
+DO_NOT_COMPILE+=kooka kuickshow libkscan
OPTIONS= IMLIB "Build Kuickshow, a fast and versatile image viewer" off \
GPHOTO2 "Enable support for digital cameras" off \
@@ -45,31 +46,28 @@ OPTIONS= IMLIB "Build Kuickshow, a fast and versatile image viewer" off \
.include <bsd.port.pre.mk>
.if defined(WITH_IMLIB)
-USE_GNOME= imlib
-PLIST_APPEND+= plist.imlib
-CONFIGURE_ARGS+=--with-imlib-config=${X11BASE}/bin
+RUN_DEPENDS+= kuickshow:${PORTSDIR}/graphics/kuickshow
.elseif defined(WITHOUT_IMLIB)
-WITHOUT_IMLIB= yes
CONFIGURE_ARGS+=--without-imlib-config
.endif
.if defined(WITH_GPHOTO2)
-LIB_DEPENDS+= gphoto2.2:${PORTSDIR}/graphics/libgphoto2
-PLIST_APPEND+= plist.gphoto2
+RUN_DEPENDS+= ${LOCALBASE}/lib/kde3/kcm_kamera.la:${PORTSDIR}/graphics/kamera
.elseif defined(WITHOUT_GPHOTO2)
CONFIGURE_ARGS+=--without-kamera
.endif
.if defined(WITH_SANE)
-LIB_DEPENDS+= sane.1:${PORTSDIR}/graphics/sane-backends
-PLIST_APPEND+= plist.sane
-RUN_DEPENDS+= ${LOCALBASE}/bin/gocr:${PORTSDIR}/graphics/gocr
-.elseif defined(WITHOUT_SANE)
-DO_NOT_COMPILE+=kooka libkscan
+RUN_DEPENDS+= kooka:${PORTSDIR}/graphics/kooka
.endif
.if defined(DO_NOT_COMPILE)
CONFIGURE_ENV+=DO_NOT_COMPILE="${DO_NOT_COMPILE}"
.endif # defined(DO_NOT_COMPILE)
+pre-configure:
+ ${REINPLACE_CMD} \
+ -E -e '/^SUBDIRS/s/(kamera|kooka|kuickshow)//g' \
+ ${WRKSRC}/doc/Makefile.in
+
.include <bsd.port.post.mk>
diff --git a/graphics/kdegraphics4/files/plist.base.rm b/graphics/kdegraphics4/files/plist.base.rm
deleted file mode 100644
index 2e2f27ddfbf0..000000000000
--- a/graphics/kdegraphics4/files/plist.base.rm
+++ /dev/null
@@ -1,107 +0,0 @@
-@dirrm share/servicetypes
-@dirrm share/services/kded
-@dirrm share/services/kconfiguredialog
-@dirrm share/services
-@dirrm share/mimelnk/text
-@dirrm share/mimelnk
-@dirrm share/icons/locolor/32x32/apps
-@dirrm share/icons/locolor/32x32
-@dirrm share/icons/locolor/16x16/apps
-@dirrm share/icons/locolor/16x16
-@dirrm share/icons/locolor
-@dirrm share/icons/hicolor/48x48/apps
-@dirrm share/icons/hicolor/48x48
-@dirrm share/icons/hicolor/32x32/apps
-@dirrm share/icons/hicolor/32x32
-@dirrm share/icons/hicolor/16x16/apps
-@dirrm share/icons/hicolor/16x16
-@dirrm share/icons/hicolor
-@dirrm share/icons/crystalsvg/64x64/apps
-@dirrm share/icons/crystalsvg/64x64
-@dirrm share/icons/crystalsvg/48x48/apps
-@dirrm share/icons/crystalsvg/48x48
-@dirrm share/icons/crystalsvg/32x32/mimetypes
-@dirrm share/icons/crystalsvg/32x32/apps
-@dirrm share/icons/crystalsvg/32x32
-@dirrm share/icons/crystalsvg/22x22/apps
-@dirrm share/icons/crystalsvg/22x22
-@dirrm share/icons/crystalsvg/16x16/mimetypes
-@dirrm share/icons/crystalsvg/16x16/apps
-@dirrm share/icons/crystalsvg/16x16
-@dirrm share/icons/crystalsvg/128x128/apps
-@dirrm share/icons/crystalsvg/128x128
-@dirrm share/icons/crystalsvg
-@dirrm share/icons
-@dirrm share/doc/HTML/en/kview
-@dirrm share/doc/HTML/en/kuickshow
-@dirrm share/doc/HTML/en/ksnapshot
-@dirrm share/doc/HTML/en/kruler
-@dirrm share/doc/HTML/en/kpovmodeler
-@dirrm share/doc/HTML/en/kpdf
-@dirrm share/doc/HTML/en/kpaint
-@dirrm share/doc/HTML/en/kooka
-@dirrm share/doc/HTML/en/kiconedit
-@dirrm share/doc/HTML/en/kghostview
-@dirrm share/doc/HTML/en/kgamma
-@dirrm share/doc/HTML/en/kdvi
-@dirrm share/doc/HTML/en/kcoloredit
-@dirrm share/doc/HTML/en/kamera
-@dirrm share/doc/HTML/en
-@dirrm share/doc/HTML
-@dirrm share/apps/kviewviewer/kpartplugins
-@dirrm share/apps/kviewviewer
-@dirrm share/apps/kviewshell
-@dirrm share/apps/kviewerpart
-@dirrm share/apps/kview/kpartplugins
-@dirrm share/apps/kview
-@dirrm share/apps/ksvg
-@dirrm share/apps/kruler/sounds
-@dirrm share/apps/kruler/pics
-@dirrm share/apps/kruler
-@dirrm share/apps/kpovmodeler/icons/locolor/16x16/actions
-@dirrm share/apps/kpovmodeler/icons/locolor/16x16
-@dirrm share/apps/kpovmodeler/icons/locolor
-@dirrm share/apps/kpovmodeler/icons/crystalsvg/22x22/actions
-@dirrm share/apps/kpovmodeler/icons/crystalsvg/22x22
-@dirrm share/apps/kpovmodeler/icons/crystalsvg/16x16/actions
-@dirrm share/apps/kpovmodeler/icons/crystalsvg/16x16
-@dirrm share/apps/kpovmodeler/icons/crystalsvg
-@dirrm share/apps/kpovmodeler/icons
-@dirrm share/apps/kpovmodeler/examples/scenes/objects
-@dirrm share/apps/kpovmodeler/examples/scenes/lights
-@dirrm share/apps/kpovmodeler/examples/scenes/interior
-@dirrm share/apps/kpovmodeler/examples/scenes/csg
-@dirrm share/apps/kpovmodeler/examples/scenes/advanced
-@dirrm share/apps/kpovmodeler/examples/scenes
-@dirrm share/apps/kpovmodeler/examples/includes/original
-@dirrm share/apps/kpovmodeler/examples/includes/inlined
-@dirrm share/apps/kpovmodeler/examples/includes
-@dirrm share/apps/kpovmodeler/examples
-@dirrm share/apps/kpovmodeler
-@dirrm share/apps/kpdfpart
-@dirrm share/apps/kpdf
-@dirrm share/apps/kpaint/toolbar
-@dirrm share/apps/kpaint
-@dirrm share/apps/konqueror/servicemenus
-@dirrm share/apps/konqueror
-@dirrm share/apps/kiconedit/toolbar
-@dirrm share/apps/kiconedit/pics
-@dirrm share/apps/kiconedit
-@dirrm share/apps/kghostview
-@dirrm share/apps/kgamma/pics
-@dirrm share/apps/kgamma
-@dirrm share/apps/kfax/pics
-@dirrm share/apps/kfax
-@dirrm share/apps/kdvi/toolbar
-@dirrm share/apps/kdvi
-@dirrm share/apps/kcoloredit
-@dirrm share/apps
-@dirrm share/applnk/Graphics
-@dirrm share/applnk/.hidden
-@dirrm share/applnk
-@dirrm share/applications/kde
-@dirrm share/applications
-@dirrm lib/kde3
-@dirrm include/libtext2path-0.1
-@dirrm include/ksvg
-@dirrm include/dom
diff --git a/graphics/kdegraphics4/files/plist.gphoto2 b/graphics/kdegraphics4/files/plist.gphoto2
deleted file mode 100644
index e7dc2d50bd9b..000000000000
--- a/graphics/kdegraphics4/files/plist.gphoto2
+++ /dev/null
@@ -1,11 +0,0 @@
-lib/kde3/kcm_kamera.la
-lib/kde3/kcm_kamera.so
-lib/kde3/kio_kamera.la
-lib/kde3/kio_kamera.so
-share/applnk/Settings/Peripherals/kamera.desktop
-share/icons/crystalsvg/16x16/actions/camera_test.png
-share/icons/crystalsvg/16x16/apps/camera.png
-share/icons/crystalsvg/16x16/devices/camera.png
-share/icons/crystalsvg/32x32/devices/camera.png
-share/icons/crystalsvg/32x32/filesystems/camera.png
-share/services/kamera.protocol
diff --git a/graphics/kdegraphics4/files/plist.gphoto2.rm b/graphics/kdegraphics4/files/plist.gphoto2.rm
deleted file mode 100644
index 38f836bd65ab..000000000000
--- a/graphics/kdegraphics4/files/plist.gphoto2.rm
+++ /dev/null
@@ -1,6 +0,0 @@
-@dirrm share/icons/crystalsvg/32x32/filesystems
-@dirrm share/icons/crystalsvg/32x32/devices
-@dirrm share/icons/crystalsvg/16x16/devices
-@dirrm share/icons/crystalsvg/16x16/actions
-@dirrm share/applnk/Settings/Peripherals
-@dirrm share/applnk/Settings
diff --git a/graphics/kdegraphics4/files/plist.imlib b/graphics/kdegraphics4/files/plist.imlib
deleted file mode 100644
index 4a85b7b67e47..000000000000
--- a/graphics/kdegraphics4/files/plist.imlib
+++ /dev/null
@@ -1,20 +0,0 @@
-bin/kuickshow
-lib/kde3/kuickshow.la
-lib/kde3/kuickshow.so
-lib/libkdeinit_kuickshow.la
-lib/libkdeinit_kuickshow.so
-share/applications/kde/kuickshow.desktop
-share/apps/kuickshow/im_palette.pal
-share/apps/kuickshow/pics/about.png
-share/apps/kuickshow/pics/calibrate.png
-share/apps/kuickshow/pics/handcursor.png
-share/apps/kuickshow/pics/imageviewer-medium.png
-share/apps/kuickshow/pics/imageviewer-small.png
-share/apps/kuickshow/pics/ksslide.png
-share/apps/kuickshow/pics/kuickshow-day.jpg
-share/apps/kuickshow/pics/kuickshow-night.jpg
-share/apps/kuickshow/pics/logo.png
-share/icons/crystalsvg/16x16/apps/kuickshow.png
-share/icons/crystalsvg/32x32/apps/kuickshow.png
-share/icons/locolor/16x16/apps/kuickshow.png
-share/icons/locolor/32x32/apps/kuickshow.png
diff --git a/graphics/kdegraphics4/files/plist.imlib.rm b/graphics/kdegraphics4/files/plist.imlib.rm
deleted file mode 100644
index dba2396df69e..000000000000
--- a/graphics/kdegraphics4/files/plist.imlib.rm
+++ /dev/null
@@ -1,2 +0,0 @@
-@dirrm share/apps/kuickshow/pics
-@dirrm share/apps/kuickshow
diff --git a/graphics/kdegraphics4/files/plist.sane b/graphics/kdegraphics4/files/plist.sane
deleted file mode 100644
index 6f4557e60204..000000000000
--- a/graphics/kdegraphics4/files/plist.sane
+++ /dev/null
@@ -1,40 +0,0 @@
-bin/kooka
-include/devselector.h
-include/dispgamma.h
-include/gammadialog.h
-include/img_canvas.h
-include/imgscaledialog.h
-include/kgammatable.h
-include/kscandevice.h
-include/kscanoption.h
-include/kscanoptset.h
-include/kscanslider.h
-include/massscandialog.h
-include/previewer.h
-include/scanparams.h
-include/scansourcedialog.h
-include/sizeindicator.h
-lib/libkscan.la
-lib/libkscan.so
-lib/libkscan.so.1
-share/applications/kde/kooka.desktop
-share/apps/kooka/kookaui.rc
-share/apps/kooka/pics/gocr.png
-share/apps/kooka/pics/lockzoom.png
-share/apps/kooka/pics/mirror-both.png
-share/apps/kooka/pics/mirror-horiz.png
-share/apps/kooka/pics/mirror-vert.png
-share/apps/kooka/pics/newfromselect.png
-share/apps/kooka/pics/ocr-select.png
-share/apps/kooka/pics/ocr.png
-share/apps/kooka/pics/ocrad.png
-share/apps/kooka/pics/scaleorig.png
-share/apps/kooka/pics/scaletoheight.png
-share/apps/kooka/pics/scaletowidth.png
-share/apps/kooka/pics/thumbviewtile.png
-share/config/kookarc
-share/icons/crystalsvg/16x16/actions/palette_color.png
-share/icons/crystalsvg/16x16/actions/palette_gray.png
-share/icons/crystalsvg/16x16/actions/palette_halftone.png
-share/icons/crystalsvg/16x16/actions/palette_lineart.png
-share/services/scanservice.desktop
diff --git a/graphics/kdegraphics4/files/plist.sane.rm b/graphics/kdegraphics4/files/plist.sane.rm
deleted file mode 100644
index f75d6030d29b..000000000000
--- a/graphics/kdegraphics4/files/plist.sane.rm
+++ /dev/null
@@ -1,4 +0,0 @@
-@dirrm share/icons/crystalsvg/16x16/actions
-@dirrm share/config
-@dirrm share/apps/kooka/pics
-@dirrm share/apps/kooka
diff --git a/graphics/kdegraphics4/files/plist.base b/graphics/kdegraphics4/pkg-plist
index 6e68b721cd34..c4ac456109f2 100644
--- a/graphics/kdegraphics4/files/plist.base
+++ b/graphics/kdegraphics4/pkg-plist
@@ -729,9 +729,6 @@ share/apps/kviewviewer/kpartplugins/kviewbrowser.rc
share/apps/kviewviewer/kviewpopup.rc
share/apps/kviewviewer/kviewviewer.rc
share/apps/kviewviewer/kviewviewer_ro.rc
-share/doc/HTML/en/kamera/common
-share/doc/HTML/en/kamera/index.cache.bz2
-share/doc/HTML/en/kamera/index.docbook
share/doc/HTML/en/kcoloredit/common
share/doc/HTML/en/kcoloredit/index.cache.bz2
share/doc/HTML/en/kcoloredit/index.docbook
@@ -755,18 +752,6 @@ share/doc/HTML/en/kghostview/index.docbook
share/doc/HTML/en/kiconedit/common
share/doc/HTML/en/kiconedit/index.cache.bz2
share/doc/HTML/en/kiconedit/index.docbook
-share/doc/HTML/en/kooka/common
-share/doc/HTML/en/kooka/index.cache.bz2
-share/doc/HTML/en/kooka/index.docbook
-share/doc/HTML/en/kooka/kooka_gocr.png
-share/doc/HTML/en/kooka/kooka_gocr_result.png
-share/doc/HTML/en/kooka/kooka_mainctrl.png
-share/doc/HTML/en/kooka/ocr-select.png
-share/doc/HTML/en/kooka/shortcut0.png
-share/doc/HTML/en/kooka/shortcut1.png
-share/doc/HTML/en/kooka/toolbar.png
-share/doc/HTML/en/kooka/toolbar1.png
-share/doc/HTML/en/kooka/toolbar2.png
share/doc/HTML/en/kpaint/common
share/doc/HTML/en/kpaint/index.cache.bz2
share/doc/HTML/en/kpaint/index.docbook
@@ -833,10 +818,6 @@ share/doc/HTML/en/ksnapshot/index.cache.bz2
share/doc/HTML/en/ksnapshot/index.docbook
share/doc/HTML/en/ksnapshot/preview.png
share/doc/HTML/en/ksnapshot/window.png
-share/doc/HTML/en/kuickshow/common
-share/doc/HTML/en/kuickshow/index.cache.bz2
-share/doc/HTML/en/kuickshow/index.docbook
-share/doc/HTML/en/kuickshow/screenshot.png
share/doc/HTML/en/kview/common
share/doc/HTML/en/kview/index.cache.bz2
share/doc/HTML/en/kview/index.docbook
@@ -926,3 +907,84 @@ share/services/svgthumbnail.desktop
share/servicetypes/kimageviewer.desktop
share/servicetypes/kimageviewercanvas.desktop
share/servicetypes/ksvgrenderer.desktop
+@dirrm share/services/kconfiguredialog
+@dirrm share/icons/locolor/32x32/apps
+@dirrm share/icons/locolor/32x32
+@dirrm share/icons/locolor/16x16/apps
+@dirrm share/icons/locolor/16x16
+@dirrm share/icons/locolor
+@dirrm share/icons/hicolor/48x48/apps
+@dirrm share/icons/hicolor/48x48
+@dirrm share/icons/hicolor/32x32/apps
+@dirrm share/icons/hicolor/32x32
+@dirrm share/icons/hicolor/16x16/apps
+@dirrm share/icons/hicolor/16x16
+@dirrm share/icons/crystalsvg/64x64/apps
+@dirrm share/icons/crystalsvg/48x48/apps
+@dirrm share/icons/crystalsvg/32x32/apps
+@dirrm share/icons/crystalsvg/22x22/apps
+@dirrm share/icons/crystalsvg/16x16/apps
+@dirrm share/icons/crystalsvg/128x128/apps
+@dirrm share/doc/HTML/en/kview
+@dirrm share/doc/HTML/en/ksnapshot
+@dirrm share/doc/HTML/en/kruler
+@dirrm share/doc/HTML/en/kpovmodeler
+@dirrm share/doc/HTML/en/kpdf
+@dirrm share/doc/HTML/en/kpaint
+@dirrm share/doc/HTML/en/kiconedit
+@dirrm share/doc/HTML/en/kghostview
+@dirrm share/doc/HTML/en/kgamma
+@dirrm share/doc/HTML/en/kdvi
+@dirrm share/doc/HTML/en/kcoloredit
+@dirrm share/apps/kviewviewer/kpartplugins
+@dirrm share/apps/kviewviewer
+@dirrm share/apps/kviewshell
+@dirrm share/apps/kviewerpart
+@dirrm share/apps/kview/kpartplugins
+@dirrm share/apps/kview
+@dirrm share/apps/ksvg
+@dirrm share/apps/kruler/sounds
+@dirrm share/apps/kruler/pics
+@dirrm share/apps/kruler
+@dirrm share/apps/kpovmodeler/icons/locolor/16x16/actions
+@dirrm share/apps/kpovmodeler/icons/locolor/16x16
+@dirrm share/apps/kpovmodeler/icons/locolor
+@dirrm share/apps/kpovmodeler/icons/crystalsvg/22x22/actions
+@dirrm share/apps/kpovmodeler/icons/crystalsvg/22x22
+@dirrm share/apps/kpovmodeler/icons/crystalsvg/16x16/actions
+@dirrm share/apps/kpovmodeler/icons/crystalsvg/16x16
+@dirrm share/apps/kpovmodeler/icons/crystalsvg
+@dirrm share/apps/kpovmodeler/icons
+@dirrm share/apps/kpovmodeler/examples/scenes/objects
+@dirrm share/apps/kpovmodeler/examples/scenes/lights
+@dirrm share/apps/kpovmodeler/examples/scenes/interior
+@dirrm share/apps/kpovmodeler/examples/scenes/csg
+@dirrm share/apps/kpovmodeler/examples/scenes/advanced
+@dirrm share/apps/kpovmodeler/examples/scenes
+@dirrm share/apps/kpovmodeler/examples/includes/original
+@dirrm share/apps/kpovmodeler/examples/includes/inlined
+@dirrm share/apps/kpovmodeler/examples/includes
+@dirrm share/apps/kpovmodeler/examples
+@dirrm share/apps/kpovmodeler
+@dirrm share/apps/kpdfpart
+@dirrm share/apps/kpdf
+@dirrm share/apps/kpaint/toolbar
+@dirrm share/apps/kpaint
+@dirrm share/apps/konqueror/servicemenus
+@dirrm share/apps/konqueror
+@dirrm share/apps/kiconedit/toolbar
+@dirrm share/apps/kiconedit/pics
+@dirrm share/apps/kiconedit
+@dirrm share/apps/kghostview
+@dirrm share/apps/kgamma/pics
+@dirrm share/apps/kgamma
+@dirrm share/apps/kfax/pics
+@dirrm share/apps/kfax
+@dirrm share/apps/kdvi/toolbar
+@dirrm share/apps/kdvi
+@dirrm share/apps/kcoloredit
+@dirrm share/applnk/Graphics
+@dirrm share/applnk/.hidden
+@dirrm share/applnk
+@dirrm include/libtext2path-0.1
+@dirrm include/ksvg