aboutsummaryrefslogtreecommitdiffstats
path: root/math/scilab-toolbox-sivp/Makefile
blob: 6997b21f699f62282235c491c8f4c6b146e08ef3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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>