2007-09-28 04:53:51 +02:00
|
|
|
# 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
|
2009-07-31 15:57:52 +02:00
|
|
|
PORTREVISION= 2
|
2007-09-28 04:53:51 +02:00
|
|
|
CATEGORIES= math graphics multimedia
|
2009-08-22 02:28:34 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-src/${PORTVERSION}
|
2007-09-28 04:53:51 +02:00
|
|
|
PKGNAMEPREFIX= scilab-toolbox-
|
|
|
|
|
2009-02-21 12:31:28 +01:00
|
|
|
MAINTAINER= makc@FreeBSD.org
|
2007-09-28 04:53:51 +02:00
|
|
|
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>
|