diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2011-05-20 06:04:59 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2011-05-20 06:04:59 +0000 |
commit | 391fbdc8f30243a7049a535b9cabcfe32cc134c0 (patch) | |
tree | 846d8342c5e864dd4ef28be99c65919f75d175f5 /math | |
parent | 7e3d7599487713b9886b0ba0c1233cff7131d576 (diff) | |
download | ports-391fbdc8f30243a7049a535b9cabcfe32cc134c0.tar.gz ports-391fbdc8f30243a7049a535b9cabcfe32cc134c0.zip |
Notes
Diffstat (limited to 'math')
-rw-r--r-- | math/scilab/Makefile | 15 | ||||
-rw-r--r-- | math/scilab/distinfo | 4 | ||||
-rw-r--r-- | math/scilab/files/patch-build.incl.xml | 13 | ||||
-rw-r--r-- | math/scilab/files/patch-desktop-scilab-adv-cli.desktop | 11 | ||||
-rw-r--r-- | math/scilab/files/patch-modules-core-includes-version.h.in | 11 | ||||
-rw-r--r-- | math/scilab/pkg-plist | 68 |
6 files changed, 87 insertions, 35 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile index c24b6e65b30a..8d7c2d727d09 100644 --- a/math/scilab/Makefile +++ b/math/scilab/Makefile @@ -6,8 +6,7 @@ # PORTNAME= scilab -PORTVERSION= 5.3.1 -PORTREVISION= 1 +PORTVERSION= 5.3.2 CATEGORIES= math cad parallel java MASTER_SITES= http://www.scilab.org/download/${PORTVERSION}/:scilab \ http://www.predatorlabs.net/dl/:jgraphx \ @@ -80,6 +79,7 @@ CONFIGURE_ARGS+= --with-tk-library=${LOCALBASE}/lib \ CONFIGURE_ARGS+= --without-gui \ --without-javasci \ --without-hdf5 \ + --without-xcos \ --disable-build-help .else DISTFILES+= ${JGRAPHX_JAR}:jgraphx @@ -131,12 +131,6 @@ USE_XORG= x11 CONFIGURE_ARGS+= --with-jdk=${JAVA_HOME} \ --with-docbook=${LOCALBASE}/share/xsl/docbook \ --enable-build-help - -DESKTOP_ENTRIES= "SciLab" \ - "${COMMENT}" \ - "${DATADIR}/icons/scilab.xpm" "scilab" \ - "Application;Education;Math;" false - .endif .if !defined(WITHOUT_HELP) @@ -177,7 +171,7 @@ LIB_DEPENDS+= matio.1:${PORTSDIR}/math/matio .endif .if defined(WITHOUT_OCAML) -CONFIGURE_ARGS+= --without-ocaml +CONFIGURE_ARGS+= --without-modelica PLIST_SUB+= OCAML="@comment " .else BUILD_DEPENDS+= ocaml:${PORTSDIR}/lang/ocaml @@ -225,6 +219,9 @@ post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/etc/librarypath.xml @${REINPLACE_CMD} -e 's|%%JAVA_HOME%%|${JAVA_HOME}|' ${WRKSRC}/bin/scilab \ ${WRKSRC}/bin/scilab-adv-cli ${WRKSRC}/bin/scilab-cli + @${REINPLACE_CMD} -e 's|/usr/share/scilab|${DATADIR}|' ${WRKSRC}/desktop/scilab.desktop + @${REINPLACE_CMD} -e 's|/usr/share/scilab-cli|${DATADIR}|' \ + ${WRKSRC}/desktop/scilab-adv-cli.desktop ${WRKSRC}/desktop/scilab-cli.desktop .endif pre-install: diff --git a/math/scilab/distinfo b/math/scilab/distinfo index de06358be3d7..a8d3ebcbf46f 100644 --- a/math/scilab/distinfo +++ b/math/scilab/distinfo @@ -1,4 +1,4 @@ -SHA256 (scilab-5.3.1-src.tar.gz) = 24819e0f580f3aa9afb4c81e0d853ca0b80b271ca1b5cd818a14cb54f669e1c7 -SIZE (scilab-5.3.1-src.tar.gz) = 57559829 +SHA256 (scilab-5.3.2-src.tar.gz) = 6b33aace70b0889a71a417a28530ff58b96042ea35cb033c37bb1ac7c9a4ec15 +SIZE (scilab-5.3.2-src.tar.gz) = 47356102 SHA256 (jgraphx-1_4_1_0.jar) = 8c4bd7e63a5149b67373857c2cc3d45015463a9075d7b6f078d7307f6d1038ec SIZE (jgraphx-1_4_1_0.jar) = 503319 diff --git a/math/scilab/files/patch-build.incl.xml b/math/scilab/files/patch-build.incl.xml index 832eb7f82f64..6d9da1beb832 100644 --- a/math/scilab/files/patch-build.incl.xml +++ b/math/scilab/files/patch-build.incl.xml @@ -1,11 +1,10 @@ ---- build.incl.xml.orig 2010-11-24 00:50:29.000000000 -0800 -+++ build.incl.xml 2010-12-15 02:55:11.000000000 -0800 -@@ -116,6 +116,8 @@ - +--- build.incl.xml.orig 2011-05-16 01:28:42.000000000 -0700 ++++ build.incl.xml 2011-05-16 01:29:23.000000000 -0700 +@@ -85,6 +85,7 @@ + <pathelement location="${saxon.jar}"/> + <pathelement location="${fop.jar}"/> <pathelement location="${jlatexmath-fop.jar}"/> - + <pathelement location="${xmlgraphics-commons.jar}"/> -+ <pathelement location="${avalon-framework.jar}"/> - <pathelement location="${avalon-framework-impl.jar}"/> + <pathelement location="${jeuclid-core.jar}"/> diff --git a/math/scilab/files/patch-desktop-scilab-adv-cli.desktop b/math/scilab/files/patch-desktop-scilab-adv-cli.desktop new file mode 100644 index 000000000000..5e7169f3bb67 --- /dev/null +++ b/math/scilab/files/patch-desktop-scilab-adv-cli.desktop @@ -0,0 +1,11 @@ +--- desktop/scilab-adv-cli.desktop.orig 2011-05-16 18:13:57.000000000 -0700 ++++ desktop/scilab-adv-cli.desktop 2011-05-16 18:14:10.000000000 -0700 +@@ -2,7 +2,7 @@ + Comment=Scientific software package for numerical computations + Comment[fr]=Logiciel scientifique de calcul numérique + Comment[de]=eine Wissenschaftssoftware für numerische Berechnungen +-Exec=scilab-cli ++Exec=scilab-adv-cli + GenericName=Scientific Software Package + GenericName[fr]=Logiciel de calcul numérique + GenericName[de]=Wissenschaftssoftware diff --git a/math/scilab/files/patch-modules-core-includes-version.h.in b/math/scilab/files/patch-modules-core-includes-version.h.in deleted file mode 100644 index 82369ca66bbd..000000000000 --- a/math/scilab/files/patch-modules-core-includes-version.h.in +++ /dev/null @@ -1,11 +0,0 @@ ---- modules/core/includes/version.h.in.orig 2011-03-03 07:30:19.000000000 -0800 -+++ modules/core/includes/version.h.in 2011-04-23 14:29:15.000000000 -0700 -@@ -15,7 +15,7 @@ - #define SCI_VERSION_MAJOR @SCILAB_VERSION_MAJOR@ - #define SCI_VERSION_MINOR @SCILAB_VERSION_MINOR@ - #define SCI_VERSION_MAINTENANCE @SCILAB_VERSION_MAINTENANCE@ --#define SCI_VERSION_STRING "scilab-branch-5.3" -+#define SCI_VERSION_STRING "scilab-5.3.1" - /* SCI_VERSION_REVISION --> hash key commit */ - #define SCI_VERSION_REVISION 0 - #define SCI_VERSION_TIMESTAMP 0 diff --git a/math/scilab/pkg-plist b/math/scilab/pkg-plist index 62d8fe24953a..c3f8c6bedec6 100644 --- a/math/scilab/pkg-plist +++ b/math/scilab/pkg-plist @@ -8,6 +8,11 @@ bin/scilab-bin bin/scilab-cli bin/scilab-cli-bin libdata/pkgconfig/scilab.pc +share/applications/scilab-adv-cli.desktop +share/applications/scilab-cli.desktop +share/applications/scilab.desktop +%%DATADIR%%/contrib/toolbox_skeleton/DESCRIPTION +%%DATADIR%%/contrib/toolbox_skeleton/DESCRIPTION-FUNCTIONS %%DATADIR%%/contrib/toolbox_skeleton/builder.sce %%DATADIR%%/contrib/toolbox_skeleton/changelog.txt %%DATADIR%%/contrib/toolbox_skeleton/demos/c_sum.dem.sce @@ -21,6 +26,7 @@ libdata/pkgconfig/scilab.pc %%DATADIR%%/contrib/toolbox_skeleton/help/en_US/build_help.sce %%DATADIR%%/contrib/toolbox_skeleton/help/en_US/c_sub.xml %%DATADIR%%/contrib/toolbox_skeleton/help/en_US/c_sum.xml +%%DATADIR%%/contrib/toolbox_skeleton/help/en_US/c_multiplybypi.xml %%DATADIR%%/contrib/toolbox_skeleton/help/en_US/fortran_sum.xml %%DATADIR%%/contrib/toolbox_skeleton/help/en_US/scilab_sum.xml %%DATADIR%%/contrib/toolbox_skeleton/help/fr_FR/build_help.sce @@ -30,12 +36,14 @@ libdata/pkgconfig/scilab.pc %%DATADIR%%/contrib/toolbox_skeleton/help/fr_FR/scilab_sum.xml %%DATADIR%%/contrib/toolbox_skeleton/license.txt %%DATADIR%%/contrib/toolbox_skeleton/macros/buildmacros.sce +%%DATADIR%%/contrib/toolbox_skeleton/macros/cleanmacros.sce %%DATADIR%%/contrib/toolbox_skeleton/macros/scilab_sum.sci %%DATADIR%%/contrib/toolbox_skeleton/readme.txt %%DATADIR%%/contrib/toolbox_skeleton/sci_gateway/builder_gateway.sce %%DATADIR%%/contrib/toolbox_skeleton/sci_gateway/c/builder_gateway_c.sce %%DATADIR%%/contrib/toolbox_skeleton/sci_gateway/c/sci_csub.c %%DATADIR%%/contrib/toolbox_skeleton/sci_gateway/c/sci_csum.c +%%DATADIR%%/contrib/toolbox_skeleton/sci_gateway/c/sci_multiplybypi.c %%DATADIR%%/contrib/toolbox_skeleton/sci_gateway/fortran/builder_gateway_fortran.sce %%DATADIR%%/contrib/toolbox_skeleton/sci_gateway/fortran/sci_fsum.c %%DATADIR%%/contrib/toolbox_skeleton/sci_gateway/cpp/builder_gateway_cpp.sce @@ -43,20 +51,53 @@ libdata/pkgconfig/scilab.pc %%DATADIR%%/contrib/toolbox_skeleton/src/builder_src.sce %%DATADIR%%/contrib/toolbox_skeleton/src/c/builder_c.sce %%DATADIR%%/contrib/toolbox_skeleton/src/c/csub.c -%%DATADIR%%/contrib/toolbox_skeleton/src/c/csum.c %%DATADIR%%/contrib/toolbox_skeleton/src/c/csub.h +%%DATADIR%%/contrib/toolbox_skeleton/src/c/csum.c %%DATADIR%%/contrib/toolbox_skeleton/src/c/csum.h +%%DATADIR%%/contrib/toolbox_skeleton/src/c/multiplybypi.c +%%DATADIR%%/contrib/toolbox_skeleton/src/c/multiplybypi.h +%%DATADIR%%/contrib/toolbox_skeleton/src/cleaner_src.sce %%DATADIR%%/contrib/toolbox_skeleton/src/fortran/builder_fortran.sce %%DATADIR%%/contrib/toolbox_skeleton/src/fortran/fsum.f +%%DATADIR%%/contrib/toolbox_skeleton/tests/unit_tests/c_sum.dia.ref %%DATADIR%%/contrib/toolbox_skeleton/tests/unit_tests/c_sum.tst +%%DATADIR%%/contrib/toolbox_skeleton/tests/unit_tests/fortran_sum.dia.ref %%DATADIR%%/contrib/toolbox_skeleton/tests/unit_tests/fortran_sum.tst +%%DATADIR%%/contrib/toolbox_skeleton/tests/unit_tests/scilab_sum.dia.ref %%DATADIR%%/contrib/toolbox_skeleton/tests/unit_tests/scilab_sum.tst -%%DATADIR%%/contrib/toolbox_skeleton/toolbox_skeleton.iss %%DATADIR%%/contrib/toolbox_skeleton/toolbox_skeleton_redist.iss -%%DATADIR%%/contrib/loader.sce +%%DATADIR%%/contrib/xcos_toolbox_skeleton/builder.sce +%%DATADIR%%/contrib/xcos_toolbox_skeleton/changelog.txt +%%DATADIR%%/contrib/xcos_toolbox_skeleton/demos/xcos_toolbox_skeleton.dem.gateway.sce +%%DATADIR%%/contrib/xcos_toolbox_skeleton/DESCRIPTION +%%DATADIR%%/contrib/xcos_toolbox_skeleton/DESCRIPTION-FUNCTIONS +%%DATADIR%%/contrib/xcos_toolbox_skeleton/etc/xcos_toolbox_skeleton.quit +%%DATADIR%%/contrib/xcos_toolbox_skeleton/etc/xcos_toolbox_skeleton.start +%%DATADIR%%/contrib/xcos_toolbox_skeleton/help/builder_help.sce +%%DATADIR%%/contrib/xcos_toolbox_skeleton/help/cleaner_help.sce +%%DATADIR%%/contrib/xcos_toolbox_skeleton/help/en_US/build_help.sce +%%DATADIR%%/contrib/xcos_toolbox_skeleton/help/en_US/TBX_SUM_c.xml +%%DATADIR%%/contrib/xcos_toolbox_skeleton/help/en_US/tbx_sum.xml +%%DATADIR%%/contrib/xcos_toolbox_skeleton/help/fr_FR/build_help.sce +%%DATADIR%%/contrib/xcos_toolbox_skeleton/images/gif/TBX_SUM_c.gif +%%DATADIR%%/contrib/xcos_toolbox_skeleton/images/svg/TBX_SUM_c.svg +%%DATADIR%%/contrib/xcos_toolbox_skeleton/license.txt +%%DATADIR%%/contrib/xcos_toolbox_skeleton/macros/buildmacros.sce +%%DATADIR%%/contrib/xcos_toolbox_skeleton/macros/cleanmacros.sce +%%DATADIR%%/contrib/xcos_toolbox_skeleton/macros/TBX_SUM_c.sci +%%DATADIR%%/contrib/xcos_toolbox_skeleton/sci_gateway/builder_gateway.sce +%%DATADIR%%/contrib/xcos_toolbox_skeleton/sci_gateway/c/builder_gateway_c.sce +%%DATADIR%%/contrib/xcos_toolbox_skeleton/sci_gateway/c/sci_tbx_sum.c +%%DATADIR%%/contrib/xcos_toolbox_skeleton/sci_gateway/loader_gateway.sce +%%DATADIR%%/contrib/xcos_toolbox_skeleton/src/builder_src.sce +%%DATADIR%%/contrib/xcos_toolbox_skeleton/src/c/block_sum.c +%%DATADIR%%/contrib/xcos_toolbox_skeleton/src/c/builder_c.sce +%%DATADIR%%/contrib/xcos_toolbox_skeleton/src/c/business.h +%%DATADIR%%/contrib/xcos_toolbox_skeleton/src/c/business_sum.c +%%DATADIR%%/contrib/xcos_toolbox_skeleton/src/cleaner_src.sce +%%DATADIR%%/contrib/xcos_toolbox_skeleton/tests/unit_tests/tbx_sum.tst %%NLS%%share/locale/ca_ES/LC_MESSAGES/scilab.mo %%NLS%%share/locale/de_DE/LC_MESSAGES/scilab.mo -%%NLS%%share/locale/en_US/LC_MESSAGES/scilab.mo %%NLS%%share/locale/es_ES/LC_MESSAGES/scilab.mo %%NLS%%share/locale/fr_FR/LC_MESSAGES/scilab.mo %%NLS%%share/locale/it_IT/LC_MESSAGES/scilab.mo @@ -67,6 +108,23 @@ libdata/pkgconfig/scilab.pc %%NLS%%share/locale/uk_UA/LC_MESSAGES/scilab.mo %%NLS%%share/locale/zh_CN/LC_MESSAGES/scilab.mo %%NLS%%share/locale/zh_TW/LC_MESSAGES/scilab.mo +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/tests/unit_tests +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/tests +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/src/c +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/src +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/sci_gateway/c +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/sci_gateway +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/macros +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/images/svg +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/images/h5 +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/images/gif +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/images +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/help/fr_FR +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/help/en_US +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/help +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/etc +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton/demos +@dirrm %%DATADIR%%/contrib/xcos_toolbox_skeleton @dirrm %%DATADIR%%/contrib/toolbox_skeleton/tests/unit_tests @dirrm %%DATADIR%%/contrib/toolbox_skeleton/tests @dirrm %%DATADIR%%/contrib/toolbox_skeleton/src/fortran @@ -87,7 +145,6 @@ libdata/pkgconfig/scilab.pc @dirrmtry %%DATADIR%%/.atoms %%NLS%%@dirrmtry share/locale/ca_ES/LC_MESSAGES %%NLS%%@dirrmtry share/locale/de_DE/LC_MESSAGES -%%NLS%%@dirrmtry share/locale/en_US/LC_MESSAGES %%NLS%%@dirrmtry share/locale/it_IT/LC_MESSAGES %%NLS%%@dirrmtry share/locale/ja_JP/LC_MESSAGES %%NLS%%@dirrmtry share/locale/pl_PL/LC_MESSAGES @@ -98,7 +155,6 @@ libdata/pkgconfig/scilab.pc %%NLS%%@dirrmtry share/locale/zh_TW/LC_MESSAGES %%NLS%%@dirrmtry share/locale/ca_ES %%NLS%%@dirrmtry share/locale/de_DE -%%NLS%%@dirrmtry share/locale/en_US %%NLS%%@dirrmtry share/locale/it_IT %%NLS%%@dirrmtry share/locale/ja_JP %%NLS%%@dirrmtry share/locale/pl_PL |