aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2009-05-15 18:01:54 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2009-05-15 18:01:54 +0000
commit6d4146817f8d5cff23810ace145d4e735bbf3889 (patch)
tree16b2ee652b95524b05b16cebd13fd4e799863ab9 /archivers
parenta9804dfd491135242d2e125cf80962628a1219b6 (diff)
downloadports-6d4146817f8d5cff23810ace145d4e735bbf3889.tar.gz
ports-6d4146817f8d5cff23810ace145d4e735bbf3889.zip
Add optional dependency on print/kdeutils4-printer-applet
Notes
Notes: svn path=/head/; revision=233952
Diffstat (limited to 'archivers')
-rw-r--r--archivers/ark/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/archivers/ark/Makefile b/archivers/ark/Makefile
index 1c4ed38f34da..b1cb76a28610 100644
--- a/archivers/ark/Makefile
+++ b/archivers/ark/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>