From 3729defbd9161a2b687e62bf1c26086ee56289a5 Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Sat, 22 May 2010 16:19:03 +0000 Subject: Add optional dependency on kdebase3 --- science/kst2/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'science/kst2/Makefile') diff --git a/science/kst2/Makefile b/science/kst2/Makefile index 036ba51dec48..e9ebb211cbd7 100644 --- a/science/kst2/Makefile +++ b/science/kst2/Makefile @@ -24,8 +24,9 @@ USE_LDCONFIG= yes USE_GETTEXT= yes MAKE_JOBS_SAFE= yes -OPTIONS= NETCDF "Enable netcdf file support" off \ - CDF "Enable cdf file support" off +OPTIONS= NETCDF "Enable netcdf data support" off \ + CDF "Enable cdf data support" off \ + KDEBASE "Enable JavaScript console" off MAN1= kst.1 @@ -48,6 +49,10 @@ CONFIGURE_ARGS+= --without-cdf PLIST_SUB+= CDF="@comment " .endif +.if defined(WITH_KDEBASE) +RUN_DEPENDS+= ${KDE_PREFIX}/lib/kde3/libkonsolepart.so:${PORTSDIR}/x11/kdebase3 +.endif + pre-configure: @(cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${SH} admin/cvs.sh dist) @${REINPLACE_CMD} -e 's|@kde_widgetdir@|@prefix@/lib/kde3/plugins/designer|' \ -- cgit v1.2.3