svn commit: r352751 - in head/math/scilab-toolbox-sivp: . files
Max Brazhnikov
makc at FreeBSD.org
Thu May 1 14:31:01 UTC 2014
Author: makc
Date: Thu May 1 14:31:00 2014
New Revision: 352751
URL: http://svnweb.freebsd.org/changeset/ports/352751
QAT: https://qat.redports.org/buildarchive/r352751/
Log:
math/scilab-toolbox-sivp:
- Add patch to fix loading toolbox in scilab
- Use dos2unix and regenerate patches
- Convert to USES=tar:xz
Added:
head/math/scilab-toolbox-sivp/files/patch-etc__SIVP.start (contents, props changed)
Modified:
head/math/scilab-toolbox-sivp/Makefile
head/math/scilab-toolbox-sivp/files/extrapatch-etc__SIVP.start (contents, props changed)
Modified: head/math/scilab-toolbox-sivp/Makefile
==============================================================================
--- head/math/scilab-toolbox-sivp/Makefile Thu May 1 14:29:43 2014 (r352750)
+++ head/math/scilab-toolbox-sivp/Makefile Thu May 1 14:31:00 2014 (r352751)
@@ -2,7 +2,7 @@
PORTNAME= sivp
DISTVERSION= 1.0.0.r286
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= math graphics multimedia
MASTER_SITES= LOCAL/makc
PKGNAMEPREFIX= scilab-toolbox-
@@ -14,8 +14,8 @@ BUILD_DEPENDS= ${SCILAB_CMD}:${PORTSDIR}
LIB_DEPENDS= libopencv_legacy.so:${PORTSDIR}/graphics/opencv
RUN_DEPENDS= ${SCILAB_CMD}:${PORTSDIR}/math/scilab
-USES= pkgconfig
-USE_XZ= yes
+USES= dos2unix pkgconfig tar:xz
+DOS2UNIX_FILES= etc/SIVP.start
SCILAB_CMD= ${LOCALBASE}/bin/scilab
CONTRIBDIR?= share/scilab/contrib
Modified: head/math/scilab-toolbox-sivp/files/extrapatch-etc__SIVP.start
==============================================================================
--- head/math/scilab-toolbox-sivp/files/extrapatch-etc__SIVP.start Thu May 1 14:29:43 2014 (r352750)
+++ head/math/scilab-toolbox-sivp/files/extrapatch-etc__SIVP.start Thu May 1 14:31:00 2014 (r352751)
@@ -1,16 +1,16 @@
--- ./etc/SIVP.start.orig 2012-02-28 11:35:59.000000000 +0000
+++ ./etc/SIVP.start 2012-04-25 15:51:27.604824817 +0000
@@ -107,13 +107,6 @@
-
- // Load and add help chapter
- // =============================================================================
-- if or(getscilabmode() == ["NW";"STD"]) then
-- mprintf("\tLoad help\n");
-- path_addchapter = pathconvert(root_tlbx+"/jar");
-- if ( isdir(path_addchapter) <> [] ) then
-- add_help_chapter(TOOLBOX_TITLE, path_addchapter, %F);
-- end
-- end
-
- // Load demos
- // =============================================================================
+
+ // Load and add help chapter
+ // =============================================================================
+- if or(getscilabmode() == ["NW";"STD"]) then
+- mprintf("\tLoad help\n");
+- path_addchapter = pathconvert(root_tlbx+"/jar");
+- if ( isdir(path_addchapter) <> [] ) then
+- add_help_chapter(TOOLBOX_TITLE, path_addchapter, %F);
+- end
+- end
+
+ // Load demos
+ // =============================================================================
Added: head/math/scilab-toolbox-sivp/files/patch-etc__SIVP.start
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/scilab-toolbox-sivp/files/patch-etc__SIVP.start Thu May 1 14:31:00 2014 (r352751)
@@ -0,0 +1,10 @@
+--- ./etc/SIVP.start.orig 2012-02-28 11:35:59.000000000 +0000
++++ ./etc/SIVP.start 2014-03-28 21:20:26.314819626 +0000
+@@ -74,6 +74,7 @@
+ link('libopencv_calib3d' + getdynlibext());
+ link('libopencv_objdetect' + getdynlibext());
+ link('libopencv_video' + getdynlibext());
++ link('libopencv_legacy' + getdynlibext());
+ else
+ [a, b] = getversion();
+ is_x64 = or(b == 'x64');
More information about the svn-ports-head
mailing list