mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
maintainer update: math/scilab-toolbox-swt
add optional dependence on scilab-toolbox-sivp PR: ports/116373 Submitted by: Max Brazhnikov <makc@issp.ac.ru>
This commit is contained in:
parent
2dc4cff912
commit
d1734a99fd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=200298
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= swt
|
||||
DISTVERSION= 0.1.0rc4
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= scwt
|
||||
@ -21,17 +22,25 @@ RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION}
|
||||
|
||||
SCI= ${LOCALBASE}/lib/scilab
|
||||
TOOLBOXDIR?= lib/scilab/contrib/swt
|
||||
SCILABDIR?= lib/scilab
|
||||
CONTRIBDIR?= ${SCILABDIR}/contrib
|
||||
TOOLBOXDIR?= ${CONTRIBDIR}/${PORTNAME}
|
||||
|
||||
HAS_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+=--prefix=${PREFIX}/${TOOLBOXDIR}
|
||||
CONFIGURE_ENV+= SCI="${SCI}"
|
||||
USE_LDCONFIG= ${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.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user