aboutsummaryrefslogtreecommitdiffstats
path: root/math/scilab-toolbox-sivp/Makefile
blob: 765071f0e845a49114dd068e12bd58fbcb82bcf8 (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
40
41
42
# 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
PORTREVISION=   4
CATEGORIES= math graphics multimedia
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}-src/${PORTVERSION}
PKGNAMEPREFIX=  scilab-toolbox-

MAINTAINER= makc@FreeBSD.org
COMMENT=    Scilab Image and Video Processing Toolbox

BUILD_DEPENDS=  ${LOCALBASE}/bin/scilab:${PORTSDIR}/math/scilab \
        ${LOCALBASE}/bin/xsltproc:${PORTSDIR}/textproc/libxslt
LIB_DEPENDS=    cv.2:${PORTSDIR}/graphics/opencv
RUN_DEPENDS=    ${LOCALBASE}/bin/scilab:${PORTSDIR}/math/scilab

BROKEN=     does not build

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>