summaryrefslogtreecommitdiff
path: root/archivers/ark/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/ark/Makefile')
-rw-r--r--archivers/ark/Makefile39
1 files changed, 24 insertions, 15 deletions
diff --git a/archivers/ark/Makefile b/archivers/ark/Makefile
index e4026f85cf9f..bf11844a7c90 100644
--- a/archivers/ark/Makefile
+++ b/archivers/ark/Makefile
@@ -6,52 +6,61 @@
PORTNAME= kdeutils
PORTVERSION= ${KDE4_VERSION}
-PORTREVISION= 1
CATEGORIES= misc kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
-COMMENT= Utilities for the KDE4 integrated X11 Desktop
+COMMENT= Collection of utilities for KDE 4
LIB_DEPENDS= gmp.10:${PORTSDIR}/math/gmp \
- qimageblitz.4:${PORTSDIR}/x11/qimageblitz \
- qca.2:${PORTSDIR}/devel/qca
+ qimageblitz.4:${PORTSDIR}/x11/qimageblitz
+
RUN_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
LATEST_LINK= ${PORTNAME}4
-USE_BZIP2= yes
-USE_QT_VER= 4
-USE_PYTHON= 2.5+
KDE4_BUILDENV= yes
USE_KDE4= kdeprefix kdehier automoc4 sharedmime \
- kdelibs pimlibs workspace kdebase
-QT_COMPONENTS= network gui porting xml \
+ kdelibs pimlibs workspace baseapps
+USE_PYTHON= 2.5+
+USE_QT_VER= 4
+QT_COMPONENTS= dbus gui network script xml xmlpatterns \
qmake_build moc_build rcc_build uic_build
+USE_XORG= x11 xrender xtst
+USE_BZIP2= yes
+CMAKE_ARGS+= -DBUILD_filelight:BOOL=FALSE \
+ -DBUILD_printer-applet:BOOL=FALSE
MAKE_JOBS_SAFE= yes
MAN1= ark.1
-# Disable printer-applet, it comes with print/kdeutils4-printer-applet.
-CMAKE_ARGS+= -DBUILD_printer-applet=OFF
-
-OPTIONS= 7ZIP "Support for 7-Zip archives in Ark" off \
+OPTIONS= FILELIGHT "Install Filelight file system viewer" on \
+ LIRC "Support for IR remote controls" off \
PRINTER_APPLET "Install printer system tray utility" off \
+ 7ZIP "Support for 7-Zip archives in Ark" off \
RAR "Support for RAR archives in Ark" off \
ZIP "Support for ZIP archives in Ark" off
.include <bsd.port.options.mk>
-.ifdef(WITH_7ZIP)
-RUN_DEPENDS+= 7z:${PORTSDIR}/archivers/p7zip
+.ifndef(WITHOUT_FILELIGHT)
+RUN_DEPENDS+= ${KDE4_PREFIX}/bin/filelight:${PORTSDIR}/sysutils/filelight-kde4
+.endif
+
+.ifdef(WITH_LIRC)
+RUN_DEPENDS+= lircd:${PORTSDIR}/comms/lirc
.endif
.ifdef(WITH_PRINTER_APPLET)
RUN_DEPENDS+= ${KDE4_PREFIX}/bin/printer-applet:${PORTSDIR}/print/kdeutils4-printer-applet
.endif
+.ifdef(WITH_7ZIP)
+RUN_DEPENDS+= 7z:${PORTSDIR}/archivers/p7zip
+.endif
+
.ifdef(WITH_ZIP)
RUN_DEPENDS+= unzip>0:${PORTSDIR}/archivers/unzip \
zip:${PORTSDIR}/archivers/zip