aboutsummaryrefslogtreecommitdiff
path: root/graphics/kdegraphics3/Makefile
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/kdegraphics3/Makefile
parent5036b1c6d43d4a6652f933702bfcc8b3553fddfd (diff)
Notes
Diffstat (limited to 'graphics/kdegraphics3/Makefile')
-rw-r--r--graphics/kdegraphics3/Makefile26
1 files changed, 12 insertions, 14 deletions
diff --git a/graphics/kdegraphics3/Makefile b/graphics/kdegraphics3/Makefile
index 496f20050a5a..fc11ee62aafa 100644
--- a/graphics/kdegraphics3/Makefile
+++ b/graphics/kdegraphics3/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>