diff options
Diffstat (limited to 'math/scilab/Makefile')
-rw-r--r-- | math/scilab/Makefile | 6 |
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 |