aboutsummaryrefslogtreecommitdiff
path: root/science
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2010-05-22 16:19:03 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2010-05-22 16:19:03 +0000
commit3729defbd9161a2b687e62bf1c26086ee56289a5 (patch)
treef9ec8a415c580615b1e4fbea7b4f389cb7862ede /science
parentbfe48a5a9328d8be41ac9c0f5ca77ffec43de249 (diff)
downloadports-3729defbd9161a2b687e62bf1c26086ee56289a5.tar.gz
ports-3729defbd9161a2b687e62bf1c26086ee56289a5.zip
Notes
Diffstat (limited to 'science')
-rw-r--r--science/kst/Makefile9
-rw-r--r--science/kst2/Makefile9
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|' \