aboutsummaryrefslogtreecommitdiff
path: root/math/scilab-toolbox-sivp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/scilab-toolbox-sivp/Makefile')
-rw-r--r--math/scilab-toolbox-sivp/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/math/scilab-toolbox-sivp/Makefile b/math/scilab-toolbox-sivp/Makefile
new file mode 100644
index 000000000000..6997b21f699f
--- /dev/null
+++ b/math/scilab-toolbox-sivp/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: sivp
+# Date created: 2007-09-15
+# Whom: Max Brazhnikov <makc@issp.ac.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= sivp
+DISTVERSION= 0.4.3
+CATEGORIES= math graphics multimedia
+MASTER_SITES= SF
+PKGNAMEPREFIX= scilab-toolbox-
+
+MAINTAINER= makc@issp.ac.ru
+COMMENT= Scilab Image and Video Processing Toolbox
+
+BUILD_DEPENDS= ${LOCALBASE}/bin/scilab:${PORTSDIR}/math/scilab \
+ ${LOCALBASE}/bin/xsltproc:${PORTSDIR}/textproc/libxslt
+LIB_DEPENDS= cv.1:${PORTSDIR}/graphics/opencv
+RUN_DEPENDS= ${LOCALBASE}/bin/scilab:${PORTSDIR}/math/scilab
+
+SCILABDIR?= lib/scilab
+CONTRIBDIR?= ${SCILABDIR}/contrib
+TOOLBOXDIR?= ${CONTRIBDIR}/${PORTNAME}
+
+USE_LDCONFIG= ${TOOLBOXDIR}
+USE_GMAKE= yes
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS+=--prefix=${PREFIX}/${TOOLBOXDIR}
+CONFIGURE_ENV+= SCI="${LOCALBASE}/${SCILABDIR}"
+
+PLIST_SUB= TOOLBOXDIR=${TOOLBOXDIR}
+
+pre-everything::
+ @${ECHO_CMD}
+ @${ECHO_CMD} "If you want video support, OpenCV should be compiled with ffmpeg!"
+ @${ECHO_CMD}
+
+.include <bsd.port.mk>