ports/116373: maintainer update: math/scilab-toolbox-swt
Max Brazhnikov
makc at issp.ac.ru
Sat Sep 15 15:10:02 UTC 2007
>Number: 116373
>Category: ports
>Synopsis: maintainer update: math/scilab-toolbox-swt
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Sat Sep 15 15:10:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Max Brazhnikov
>Release: FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
FreeBSD luna.dio.ru 6.2-STABLE FreeBSD 6.2-STABLE #0: Thu Aug 9 00:11:48 MSD 2007 root at luna.dio.ru:/usr/obj/usr/src/sys/LUNA i386
>Description:
1. Add new port scilab-toolbox-sivp --- Scilab Image and Video Processing toolbox.
(Requested by soralx at cydem.org)
2. scilab-toolbox-swt: add optional dependence on the new port, default off.
(in separate PR)
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN --exclude=CVS /usr/ports/math/scilab-toolbox-swt/Makefile /home/makc/porting/ports/math/scilab-toolbox-swt/Makefile
--- /usr/ports/math/scilab-toolbox-swt/Makefile 2007-06-20 17:38:07.000000000 +0400
+++ /home/makc/porting/ports/math/scilab-toolbox-swt/Makefile 2007-09-15 18:46:54.000000000 +0400
@@ -21,17 +21,25 @@
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
+.endif
+
post-install:
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list