aboutsummaryrefslogtreecommitdiffstats
path: root/math/scilab/Makefile
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-01-30 13:59:03 +0800
committerpat <pat@FreeBSD.org>2002-01-30 13:59:03 +0800
commita680d10a79aaaaf9c91972cd5d81d7bde7e069ad (patch)
tree1459c5ca48a6f36f0db5487ea24a4db7e4397ac5 /math/scilab/Makefile
parente5e8bcd5441299fc507a6b0de89aebcf1d635553 (diff)
downloadfreebsd-ports-gnome-a680d10a79aaaaf9c91972cd5d81d7bde7e069ad.tar.gz
freebsd-ports-gnome-a680d10a79aaaaf9c91972cd5d81d7bde7e069ad.tar.zst
freebsd-ports-gnome-a680d10a79aaaaf9c91972cd5d81d7bde7e069ad.zip
- add patches from NetBSD (fixes for ascii(), fft() and the online help)
- Provide a working default PVM configuration. - Remove unneeded pvm files form the install. PR: 34276 Submitted by: maintainer Obtained from: NetBSD
Diffstat (limited to 'math/scilab/Makefile')
-rw-r--r--math/scilab/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/math/scilab/Makefile b/math/scilab/Makefile
index 11f45535d826..9175fdb2db6f 100644
--- a/math/scilab/Makefile
+++ b/math/scilab/Makefile
@@ -7,6 +7,7 @@
PORTNAME= scilab
PORTVERSION= 2.6
+PORTREVISION= 1
CATEGORIES= math cad
MASTER_SITES= ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/distributions/
EXTRACT_SUFX= .src.tar.gz
@@ -40,6 +41,11 @@ post-extract:
${RM} ${WRKSRC}/examples/callsci/callsciC/config/config
${RM} ${WRKSRC}/examples/callsci/callsciC++/config/config
+pre-patch:
+ @${PERL} -pi -e 's|\r\n|\n|' ${WRKSRC}/macros/util/formatman.sci
+ @${PERL} -pi -e 's,%%PVM_ROOT%%,${PVM_ROOT},' \
+ ${WRKSRC}/scripts/scilab.g
+
pre-install:
find ${WRKSRC} -name \*.orig -delete