From nobody@FreeBSD.org  Sat Sep 15 15:06:31 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 386EF16A418
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Sep 2007 15:06:31 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 3667713C457
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Sep 2007 15:06:31 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.1/8.14.1) with ESMTP id l8FF6VX0081531
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Sep 2007 15:06:31 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.1/8.14.1/Submit) id l8FF6Vnf081530;
	Sat, 15 Sep 2007 15:06:31 GMT
	(envelope-from nobody)
Message-Id: <200709151506.l8FF6Vnf081530@www.freebsd.org>
Date: Sat, 15 Sep 2007 15:06:31 GMT
From: Max Brazhnikov <makc@issp.ac.ru>
To: freebsd-gnats-submit@FreeBSD.org
Subject: maintainer update: math/scilab-toolbox-swt
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         116373
>Category:       ports
>Synopsis:       maintainer update: math/scilab-toolbox-swt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 15 15:10:01 GMT 2007
>Closed-Date:    Sat Sep 29 00:16:05 GMT 2007
>Last-Modified:  Sat Sep 29 00:20:02 GMT 2007
>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@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@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:

From: Max Brazhnikov <makc@issp.ac.ru>
To: FreeBSD-gnats-submit@freebsd.org, freebsd-ports-bugs@freebsd.org
Cc:  
Subject: Re: ports/116373: maintainer update: math/scilab-toolbox-swt
Date: Sat, 15 Sep 2007 19:17:44 +0400

 see previous PR
 http://www.freebsd.org/cgi/query-pr.cgi?pr=116372

From: Max Brazhnikov <makc@issp.ac.ru>
To: bug-followup@freebsd.org, makc@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/+--
State-Changed-From-To: open->closed 
State-Changed-By: edwin 
State-Changed-When: Sat Sep 29 00:15:11 UTC 2007 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=116373 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/116373: commit references a PR
Date: Sat, 29 Sep 2007 00:16:10 +0000 (UTC)

 edwin       2007-09-29 00:16:03 UTC
 
   FreeBSD ports repository
 
   Modified files:
     math/scilab-toolbox-swt Makefile 
   Log:
   maintainer update: math/scilab-toolbox-swt
   
           add optional dependence on scilab-toolbox-sivp
   
   PR:             ports/116373
   Submitted by:   Max Brazhnikov <makc@issp.ac.ru>
   
   Revision  Changes    Path
   1.6       +14 -5     ports/math/scilab-toolbox-swt/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
