blob: a8b93d14fcfb87de90d4af12a7898b244e16ce8c (
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
43
44
45
46
|
## New ports collection makefile for: swt
# Date created: 28 March 2006
# Whom: Max Brazhnikov makc@issp.ac.ru
#
# $FreeBSD$
#
PORTNAME= swt
DISTVERSION= 0.1.0rc4
PORTREVISION= 2
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= scwt
PKGNAMEPREFIX= scilab-toolbox-
DISTNAME= ${PORTNAME}${DISTVERSION}
MAINTAINER= makc@issp.ac.ru
COMMENT= Scilab 1-D and 2-D Wavelet Toolbox
BUILD_DEPENDS= ${LOCALBASE}/bin/scilab:${PORTSDIR}/math/scilab
RUN_DEPENDS= ${BUILD_DEPENDS}
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
SCILABDIR?= lib/scilab
CONTRIBDIR?= ${SCILABDIR}/contrib
TOOLBOXDIR?= ${CONTRIBDIR}/${PORTNAME}
HAS_CONFIGURE= yes
CONFIGURE_ARGS+=--prefix=${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.post.mk>
|