From 6d4146817f8d5cff23810ace145d4e735bbf3889 Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Fri, 15 May 2009 18:01:54 +0000 Subject: Add optional dependency on print/kdeutils4-printer-applet --- archivers/ark/Makefile | 10 +++++++++- comms/kremotecontrol/Makefile | 10 +++++++++- deskutils/kcharselect/Makefile | 10 +++++++++- math/kcalc/Makefile | 10 +++++++++- misc/kdeutils4/Makefile | 10 +++++++++- security/kgpg-kde4/Makefile | 10 +++++++++- security/kwallet/Makefile | 10 +++++++++- sysutils/kdf/Makefile | 10 +++++++++- sysutils/kfloppy/Makefile | 10 +++++++++- sysutils/sweeper/Makefile | 10 +++++++++- 10 files changed, 90 insertions(+), 10 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 + +.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 +.include diff --git a/comms/kremotecontrol/Makefile b/comms/kremotecontrol/Makefile index 1c4ed38f34da..b1cb76a28610 100644 --- a/comms/kremotecontrol/Makefile +++ b/comms/kremotecontrol/Makefile @@ -32,6 +32,14 @@ MAKE_JOBS_UNSAFE= yes MAN1= ark.1 +OPTIONS= PRINTER_APPLET "Install printer system tray utility" off + +.include + +.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 +.include diff --git a/deskutils/kcharselect/Makefile b/deskutils/kcharselect/Makefile index 1c4ed38f34da..b1cb76a28610 100644 --- a/deskutils/kcharselect/Makefile +++ b/deskutils/kcharselect/Makefile @@ -32,6 +32,14 @@ MAKE_JOBS_UNSAFE= yes MAN1= ark.1 +OPTIONS= PRINTER_APPLET "Install printer system tray utility" off + +.include + +.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 +.include diff --git a/math/kcalc/Makefile b/math/kcalc/Makefile index 1c4ed38f34da..b1cb76a28610 100644 --- a/math/kcalc/Makefile +++ b/math/kcalc/Makefile @@ -32,6 +32,14 @@ MAKE_JOBS_UNSAFE= yes MAN1= ark.1 +OPTIONS= PRINTER_APPLET "Install printer system tray utility" off + +.include + +.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 +.include diff --git a/misc/kdeutils4/Makefile b/misc/kdeutils4/Makefile index 1c4ed38f34da..b1cb76a28610 100644 --- a/misc/kdeutils4/Makefile +++ b/misc/kdeutils4/Makefile @@ -32,6 +32,14 @@ MAKE_JOBS_UNSAFE= yes MAN1= ark.1 +OPTIONS= PRINTER_APPLET "Install printer system tray utility" off + +.include + +.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 +.include diff --git a/security/kgpg-kde4/Makefile b/security/kgpg-kde4/Makefile index 1c4ed38f34da..b1cb76a28610 100644 --- a/security/kgpg-kde4/Makefile +++ b/security/kgpg-kde4/Makefile @@ -32,6 +32,14 @@ MAKE_JOBS_UNSAFE= yes MAN1= ark.1 +OPTIONS= PRINTER_APPLET "Install printer system tray utility" off + +.include + +.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 +.include diff --git a/security/kwallet/Makefile b/security/kwallet/Makefile index 1c4ed38f34da..b1cb76a28610 100644 --- a/security/kwallet/Makefile +++ b/security/kwallet/Makefile @@ -32,6 +32,14 @@ MAKE_JOBS_UNSAFE= yes MAN1= ark.1 +OPTIONS= PRINTER_APPLET "Install printer system tray utility" off + +.include + +.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 +.include 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 + +.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 +.include diff --git a/sysutils/kfloppy/Makefile b/sysutils/kfloppy/Makefile index 1c4ed38f34da..b1cb76a28610 100644 --- a/sysutils/kfloppy/Makefile +++ b/sysutils/kfloppy/Makefile @@ -32,6 +32,14 @@ MAKE_JOBS_UNSAFE= yes MAN1= ark.1 +OPTIONS= PRINTER_APPLET "Install printer system tray utility" off + +.include + +.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 +.include diff --git a/sysutils/sweeper/Makefile b/sysutils/sweeper/Makefile index 1c4ed38f34da..b1cb76a28610 100644 --- a/sysutils/sweeper/Makefile +++ b/sysutils/sweeper/Makefile @@ -32,6 +32,14 @@ MAKE_JOBS_UNSAFE= yes MAN1= ark.1 +OPTIONS= PRINTER_APPLET "Install printer system tray utility" off + +.include + +.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 +.include -- cgit v1.2.3