ports/116373: maintainer update: math/scilab-toolbox-swt

Max Brazhnikov makc at issp.ac.ru
Fri Sep 21 20:10:08 UTC 2007


The following reply was made to PR ports/116373; it has been noted by GNATS.

From: Max Brazhnikov <makc at issp.ac.ru>
To: bug-followup at freebsd.org, makc at issp.ac.ru
Cc:  
Subject: Re: ports/116373: maintainer update: math/scilab-toolbox-swt
Date: Sat, 22 Sep 2007 00:06:30 +0400

 --Boundary-00=_GRC9GuqjvaMQq/+
 Content-Type: text/plain;
   charset="us-ascii"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: inline
 
 Use attached diff.
 This fixes RUN_DEPENDS if WITH_SIVP is defined
 
 --Boundary-00=_GRC9GuqjvaMQq/+
 Content-Type: text/x-diff;
   charset="us-ascii";
   name="scilab-toolbox-swt.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename="scilab-toolbox-swt.diff"
 
 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-21 23:49:40.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-toolbox-sivp
 +.endif
 +
  post-install:
  	 @${CAT} ${PKGMESSAGE}
  
 -.include <bsd.port.mk>
 +.include <bsd.port.post.mk>
 
 --Boundary-00=_GRC9GuqjvaMQq/+--



More information about the freebsd-ports-bugs mailing list