summaryrefslogtreecommitdiff
path: root/science/ics
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2009-01-26 17:52:55 +0000
committerThierry Thomas <thierry@FreeBSD.org>2009-01-26 17:52:55 +0000
commitc584171e489548413fe6e5f2747af512bc5fbff2 (patch)
treed4e3f872e7862810fe362e499009f93a8239ac6a /science/ics
parentUpgrade to 1.3.3 and use gfortran43. (diff)
Upgrade to 1.3.3.
Notes
Notes: svn path=/head/; revision=226908
Diffstat (limited to 'science/ics')
-rw-r--r--science/ics/Makefile19
-rw-r--r--science/ics/distinfo6
-rw-r--r--science/ics/pkg-descr2
3 files changed, 21 insertions, 6 deletions
diff --git a/science/ics/Makefile b/science/ics/Makefile
index 846f9db6bf76..f5b35d1e1c89 100644
--- a/science/ics/Makefile
+++ b/science/ics/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= ics
-PORTVERSION= 1.3.2
-PORTREVISION= 1
+PORTVERSION= 1.3.3
CATEGORIES= science
MASTER_SITES= http://rd.edf.com/fichiers/fckeditor/File/EDF%20RD/Code_Saturne/Fichiers/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/.//g}
@@ -23,15 +22,31 @@ RUN_DEPENDS= ${CS_HOME}/bin/info_cs:${PORTSDIR}/science/ncs \
NO_BUILD= yes
USE_PYTHON= yes
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+REINPLACE_ARGS= -i ""
PATHCS= ${PREFIX}/Saturne
CS_HOME= ${LOCALBASE}/Saturne/Noyau/ncs
ICS_HOME= ${PATHCS}/Interface/ics
PLIST_SUB= ICS=Saturne/Interface/ics
+TB= archive clean
+
+pre-configure:
+.for tb in ${TB}
+ ${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/toolbin/${tb}
+.endfor
+
do-install:
${MKDIR} ${ICS_HOME}
(cd ${WRKSRC}/ && ${COPYTREE_SHARE} \* ${ICS_HOME})
+.for sc in ics.py testSuite.py
+ ${CHMOD} a+x ${WRKSRC}/${sc}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${sc} ${ICS_HOME}
+.endfor
+.for sc in ${TB:S|^|toolbin/|}
+ ${CHMOD} a+x ${WRKSRC}/${sc}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${sc} ${ICS_HOME}/toolbin
+.endfor
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${ICS_HOME}
@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${ICS_HOME}
diff --git a/science/ics/distinfo b/science/ics/distinfo
index cc9115bea0ee..11909d9b8c9a 100644
--- a/science/ics/distinfo
+++ b/science/ics/distinfo
@@ -1,3 +1,3 @@
-MD5 (ics-132.tgz) = bc67030639fe0ce7837c5e9d4be8f41f
-SHA256 (ics-132.tgz) = 00d3566d71ba842d21e86838967d0d16e2fb42629f0cacd509c8046fd7ee7779
-SIZE (ics-132.tgz) = 482697
+MD5 (ics-133.tgz) = bed8afc4046ac41385f21927c45193e1
+SHA256 (ics-133.tgz) = 5dd98ccfceb7e5481a3fde7f6c653af8dd5bdf068ed952ef370db3f23f19b862
+SIZE (ics-133.tgz) = 480714
diff --git a/science/ics/pkg-descr b/science/ics/pkg-descr
index 27be71b710a4..89d2f4a5992c 100644
--- a/science/ics/pkg-descr
+++ b/science/ics/pkg-descr
@@ -2,4 +2,4 @@ ICS stands for Interface Code Saturne.
This is the Graphical User Interface of Code_Saturne.
-WWW: http://rd.edf.com/code_saturne/
+WWW: http://www.code-saturne.org/