diff options
Diffstat (limited to 'science')
-rw-r--r-- | science/kst/Makefile | 9 | ||||
-rw-r--r-- | science/kst2/Makefile | 9 |
2 files changed, 14 insertions, 4 deletions
diff --git a/science/kst/Makefile b/science/kst/Makefile index 036ba51dec48..e9ebb211cbd7 100644 --- a/science/kst/Makefile +++ b/science/kst/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|' \ 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|' \ |