aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/kdf
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2009-05-16 02:01:54 +0800
committermakc <makc@FreeBSD.org>2009-05-16 02:01:54 +0800
commitb2d6b1d9f9a585191a4276cd04bbf7cf105f4a08 (patch)
treeffb92fd6936c9664127c9c332ea9e1d4902efe81 /sysutils/kdf
parent08033195531ea345025482467c797b2067dcf780 (diff)
downloadfreebsd-ports-gnome-b2d6b1d9f9a585191a4276cd04bbf7cf105f4a08.tar.gz
freebsd-ports-gnome-b2d6b1d9f9a585191a4276cd04bbf7cf105f4a08.tar.zst
freebsd-ports-gnome-b2d6b1d9f9a585191a4276cd04bbf7cf105f4a08.zip
Add optional dependency on print/kdeutils4-printer-applet
Diffstat (limited to 'sysutils/kdf')
-rw-r--r--sysutils/kdf/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/sysutils/kdf/Makefile b/sysutils/kdf/Makefile
index 1c4ed38f34da..b1cb76a28610 100644
--- a/sysutils/kdf/Makefile
+++ b/sysutils/kdf/Makefile
@@ -32,6 +32,14 @@ MAKE_JOBS_UNSAFE= yes
MAN1= ark.1
+OPTIONS= PRINTER_APPLET "Install printer system tray utility" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_PRINTER_APPLET)
+RUN_DEPENDS+= ${KDE4_PREFIX}/bin/printer-applet:${PORTSDIR}/print/kdeutils4-printer-applet
+.endif
+
post-extract:
${MKDIR} ${WRKSRC}
@@ -40,4 +48,4 @@ post-patch:
${REINPLACE_CMD} -e '/add_subdirectory.*printer-applet/d' \
${WRKSRC}/../CMakeLists.txt
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>