diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2010-05-22 16:19:03 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2010-05-22 16:19:03 +0000 |
commit | 3729defbd9161a2b687e62bf1c26086ee56289a5 (patch) | |
tree | f9ec8a415c580615b1e4fbea7b4f389cb7862ede /science/kst2/Makefile | |
parent | bfe48a5a9328d8be41ac9c0f5ca77ffec43de249 (diff) | |
download | ports-3729defbd9161a2b687e62bf1c26086ee56289a5.tar.gz ports-3729defbd9161a2b687e62bf1c26086ee56289a5.zip |
Add optional dependency on kdebase3
Notes
Notes:
svn path=/head/; revision=254847
Diffstat (limited to 'science/kst2/Makefile')
-rw-r--r-- | science/kst2/Makefile | 9 |
1 files changed, 7 insertions, 2 deletions
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|' \ |