1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

math/scilab-toolbox-sivp:

- Add patch to fix loading toolbox in scilab
- Use dos2unix and regenerate patches
- Convert to USES=tar:xz
This commit is contained in:
Max Brazhnikov 2014-05-01 14:31:00 +00:00
parent 423433669b
commit 537ef5813f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=352751
3 changed files with 26 additions and 16 deletions

View File

@ -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}/math/scilab
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

View File

@ -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
// =============================================================================

View File

@ -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');