aboutsummaryrefslogtreecommitdiff
path: root/math/scilab-toolbox-swt
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-09-29 00:16:03 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-09-29 00:16:03 +0000
commitd1734a99fd761dadd5173314eac3e2f5244055ef (patch)
tree44626ef28def7f8df6501d66b71a7395d7d1dd3d /math/scilab-toolbox-swt
parent2dc4cff912e0e98766361d714fcec9a53e1c2b30 (diff)
downloadports-d1734a99fd761dadd5173314eac3e2f5244055ef.tar.gz
ports-d1734a99fd761dadd5173314eac3e2f5244055ef.zip
maintainer update: math/scilab-toolbox-swt
add optional dependence on scilab-toolbox-sivp PR: ports/116373 Submitted by: Max Brazhnikov <makc@issp.ac.ru>
Notes
Notes: svn path=/head/; revision=200298
Diffstat (limited to 'math/scilab-toolbox-swt')
-rw-r--r--math/scilab-toolbox-swt/Makefile19
1 files changed, 14 insertions, 5 deletions
diff --git a/math/scilab-toolbox-swt/Makefile b/math/scilab-toolbox-swt/Makefile
index a18eb367ab1f..cb5e8556bd2f 100644
--- a/math/scilab-toolbox-swt/Makefile
+++ b/math/scilab-toolbox-swt/Makefile
@@ -7,6 +7,7 @@
PORTNAME= swt
DISTVERSION= 0.1.0rc4
+PORTREVISION= 1
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= scwt
@@ -21,17 +22,25 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
-SCI= ${LOCALBASE}/lib/scilab
-TOOLBOXDIR?= lib/scilab/contrib/swt
+SCILABDIR?= lib/scilab
+CONTRIBDIR?= ${SCILABDIR}/contrib
+TOOLBOXDIR?= ${CONTRIBDIR}/${PORTNAME}
HAS_CONFIGURE= yes
CONFIGURE_ARGS+=--prefix=${PREFIX}/${TOOLBOXDIR}
-CONFIGURE_ENV+= SCI="${SCI}"
-USE_LDCONFIG= ${PREFIX}/${TOOLBOXDIR}
+CONFIGURE_ENV+= SCI="${LOCALBASE}/${SCILABDIR}"
PLIST_SUB= TOOLBOXDIR=${TOOLBOXDIR}
+OPTIONS= SIVP "Enable Image and Video support" off
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_SIVP)
+RUN_DEPENDS+= ${LOCALBASE}/${CONTRIBDIR}/sivp/loader.sce:${PORTSDIR}/math/scilab-toolbox-sivp
+.endif
+
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>