aboutsummaryrefslogtreecommitdiff
path: root/sysutils/kdeadmin4
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2009-05-15 18:02:22 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2009-05-15 18:02:22 +0000
commitea67e6c0ea7e424b39bbec63f6a0d7e0a5e67936 (patch)
treea5c083667639f5fac670349d28ed1cda646c72ec /sysutils/kdeadmin4
parent6d4146817f8d5cff23810ace145d4e735bbf3889 (diff)
downloadports-ea67e6c0ea7e424b39bbec63f6a0d7e0a5e67936.tar.gz
ports-ea67e6c0ea7e424b39bbec63f6a0d7e0a5e67936.zip
Notes
Diffstat (limited to 'sysutils/kdeadmin4')
-rw-r--r--sysutils/kdeadmin4/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/sysutils/kdeadmin4/Makefile b/sysutils/kdeadmin4/Makefile
index 512306167cb5..ea1016f7999b 100644
--- a/sysutils/kdeadmin4/Makefile
+++ b/sysutils/kdeadmin4/Makefile
@@ -31,6 +31,14 @@ PATCH_WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
CMAKE_ARGS+= -DBUILD_kpackage:BOOL=Off \
-DBUILD_lilo-config:BOOL=Off
+OPTIONS= PRINTER_CONFIG "Install printer configuration utility" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_PRINTER_CONFIG)
+RUN_DEPENDS+= ${KDE4_PREFIX}/bin/system-config-printer-kde:${PORTSDIR}/print/system-config-printer-kde
+.endif
+
post-extract:
${MKDIR} ${WRKSRC}
@@ -44,4 +52,5 @@ post-patch:
#disable system-config-printer-kde, it comes with print/kdeadmin4-system-config-printer-kde
${REINPLACE_CMD} -e '/add_subdirectory.*system-config-printer-kde/d' \
${WRKSRC}/../CMakeLists.txt
-.include <bsd.port.mk>
+
+.include <bsd.port.post.mk>