summaryrefslogtreecommitdiff
path: root/math/scilab/Makefile
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2011-05-20 06:04:59 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2011-05-20 06:04:59 +0000
commit391fbdc8f30243a7049a535b9cabcfe32cc134c0 (patch)
tree846d8342c5e864dd4ef28be99c65919f75d175f5 /math/scilab/Makefile
parentAugment port description text and fix homepage URL. (diff)
Update to 5.3.2 (bug fixes)
Upstream now ships desktop files, use those Changelog: http://www.scilab.org/content/download/2264/23453/file/changes5.3.1-5.3.2.pdf PR: ports/157101 Submitted by: Rob Farmer (maintainer)
Notes
Notes: svn path=/head/; revision=274354
Diffstat (limited to 'math/scilab/Makefile')
-rw-r--r--math/scilab/Makefile15
1 files changed, 6 insertions, 9 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: