Add gibi 2000
Gibi is an additional meshing tool for Code_Aster; until now, it was not possible to use it outside of EDF or CEA, but its license has just changed: now we can use it freely, though only in conjunction with Aster. PR: 57817 Submitted by: Thierry Thomas <thierry@pompo.net>
This commit is contained in:
parent
8a9e10bbb6
commit
cf3c4db964
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=95309
7 changed files with 2329 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
SUBDIR += eficas
|
||||
SUBDIR += facturier
|
||||
SUBDIR += gfaim
|
||||
SUBDIR += gibi
|
||||
SUBDIR += homard
|
||||
SUBDIR += ispell
|
||||
SUBDIR += jdictionary-fre-hun
|
||||
|
|
135
french/gibi/Makefile
Normal file
135
french/gibi/Makefile
Normal file
|
@ -0,0 +1,135 @@
|
|||
# New ports collection makefile for: gibi
|
||||
# Date created: 06 September 2003
|
||||
# Whom: Thierry Thomas <thierry@pompo.net>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= gibi
|
||||
PORTVERSION= 2000
|
||||
CATEGORIES= french cad linux
|
||||
MASTER_SITES= # http://www.code-aster.org/FICHIERS/gibi/
|
||||
DISTNAME= PACK_${PORTNAME}${ARCHI}${PORTVERSION}
|
||||
EXTRACT_SUFX= .tar
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= GIBI est la partie mailleur et post de CASTEM
|
||||
|
||||
#-----------------------------------------------------------------------
|
||||
# You may define these options:
|
||||
#
|
||||
# - WITH_ZSH or WITH_BASH or WITH_KSH: select a shell among
|
||||
# zsh (default), bash or ksh.
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
BUILD_DEPENDS= ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base \
|
||||
${LOCALBASE}/aster/${vaster}/asteru.exe:${PORTSDIR}/french/aster
|
||||
RUN_DEPENDS= ${LOCALBASE}/aster/${vaster}/asteru.exe:${PORTSDIR}/french/aster \
|
||||
${SHELL_RUN_GIBI}:${PORTSDIR}/shells/${SHRGDEP}
|
||||
|
||||
RESTRICTED= "Toute personne chargeant le logiciel GIBI s'engage à ne\
|
||||
l'utiliser qu'en couplage avec le logiciel Code_Aster. Pour\
|
||||
tout autre usage, un droit de licence est nécessaire."
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
USE_LINUX= yes
|
||||
USE_REINPLACE= yes
|
||||
REINPLACE_ARGS= -i ""
|
||||
NO_BUILD= yes
|
||||
|
||||
.if defined(WITH_ZSH)
|
||||
SHRG= zsh
|
||||
.elif defined(WITH_BASH)
|
||||
SHRG= bash
|
||||
.elif defined(WITH_KSH)
|
||||
SHRG= ksh93
|
||||
.elif exists(${LOCALBASE}/bin/zsh)
|
||||
SHRG= zsh
|
||||
.elif exists(${LOCALBASE}/bin/bash)
|
||||
SHRG= bash
|
||||
.elif exists(${LOCALBASE}/bin/ksh93)
|
||||
SHRG= ksh93
|
||||
.else
|
||||
SHRG= zsh
|
||||
.endif
|
||||
.if ${SHRG} == "bash"
|
||||
SHRGDEP= bash2
|
||||
.else
|
||||
SHRGDEP= ${SHRG}
|
||||
.endif
|
||||
SHELL_RUN_GIBI= ${LOCALBASE}/bin/${SHRG}
|
||||
|
||||
LGIBIDIR?= apps/${PORTNAME}
|
||||
GIBIDIR= ${PREFIX}/${LGIBIDIR}
|
||||
ASTER_VER= 7.2
|
||||
vaster= STA${ASTER_VER}
|
||||
ASTER_TOOLS= ${LOCALBASE}/aster/${vaster}/outils
|
||||
ARCHI= PC_Linux_
|
||||
ARCHIVER= ${ARCHI}${PORTVERSION}
|
||||
GIBIBIN= ${PORTNAME}${PORTVERSION}
|
||||
|
||||
DOCS= DOC/HTML DOC/index.html DOC/pdf DOC/postscript README
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
PLIST_SUB= GIBIDIR=${LGIBIDIR} ASTER_TOOLS=${ASTER_TOOLS}
|
||||
|
||||
BRANDELF?= /usr/bin/brandelf -t Linux
|
||||
|
||||
do-fetch:
|
||||
@if [ ! -f ${DISTDIR}/${DISTFILES} ]; then \
|
||||
${ECHO_MSG} "Because of licensing restrictions, you must fetch the binary"; \
|
||||
${ECHO_MSG} "distribution manually. Please access"; \
|
||||
${ECHO_MSG} "<http://www.code-aster.org/telechargement/read_license_outils.php?prod=Gibi>"; \
|
||||
${ECHO_MSG} "with a web browser, read the license carefully (in french),"; \
|
||||
${ECHO_MSG} "check the box \"J'accepte les termes de la présente licence\""; \
|
||||
${ECHO_MSG} "and click on the button \"Envoyer\"."; \
|
||||
${ECHO_MSG} "On the second page, select Linux x86, Executable and 2000,"; \
|
||||
${ECHO_MSG} "then click on the arrow to download the tarball"; \
|
||||
${ECHO_MSG} "${DISTFILES}."; \
|
||||
${ECHO_MSG} "Please place this file in ${DISTDIR}."; \
|
||||
fi
|
||||
|
||||
post-extract:
|
||||
@(cd ${WRKDIR} && \
|
||||
${TAR} xfz ${WRKDIR}/${DISTNAME:S/PACK/CASTEM/}.tar.gz)
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s|DIR='repertoire_install'|DIR='${GIBIDIR}'|" \
|
||||
-e "s|/bin/ksh|${SHELL_RUN_GIBI}|" \
|
||||
-e "s|castem|${PORTNAME}|" \
|
||||
${WRKDIR}/bin/${GIBIBIN}
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${GIBIDIR}/bin
|
||||
.for FICH in DATA DGIBI
|
||||
@${CP} -Rp ${WRKDIR}/${FICH} ${GIBIDIR}
|
||||
.endfor
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/bin/${GIBIBIN} \
|
||||
${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME}${ARCHIVER} \
|
||||
${GIBIDIR}/bin
|
||||
@${BRANDELF} ${GIBIDIR}/bin/${PORTNAME}${ARCHIVER}
|
||||
@${BRANDELF} ${GIBIDIR}/DATA/kinstall_${ARCHIVER}
|
||||
@(cd ${GIBIDIR}/DATA \
|
||||
&& ./kinstall_${ARCHIVER} < ${FILESDIR}/clef >/dev/null 2>&1 \
|
||||
&& ${CHMOD} 666 USRDAT)
|
||||
@${RM} ${GIBIDIR}/DATA/kinstall_${ARCHIVER}
|
||||
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${GIBIDIR}
|
||||
@${LN} -fs ${PREFIX}/bin/${GIBIBIN} ${ASTER_TOOLS}/${PORTNAME}
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
.for FILE in ${DOCS}
|
||||
@${CP} -Rp ${WRKDIR}/${FILE} ${DOCSDIR}
|
||||
.endfor
|
||||
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
|
||||
@${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}."
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG}
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
@${ECHO_MSG}
|
||||
|
||||
.include <bsd.port.post.mk>
|
1
french/gibi/distinfo
Normal file
1
french/gibi/distinfo
Normal file
|
@ -0,0 +1 @@
|
|||
MD5 (PACK_gibiPC_Linux_2000.tar) = 1ab42d8db97aaf3c86b26595d26aa9bc
|
8
french/gibi/files/clef
Normal file
8
french/gibi/files/clef
Normal file
|
@ -0,0 +1,8 @@
|
|||
y
|
||||
2005
|
||||
12
|
||||
31
|
||||
11
|
||||
1
|
||||
0
|
||||
3817529
|
6
french/gibi/pkg-descr
Normal file
6
french/gibi/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
GIBI est la partie mailleur et post de CAST3M.
|
||||
|
||||
Code_Aster sait relire les fichiers de maillage issus de GIBI, et produit
|
||||
des résultats pour un post-traitement dans GIBI.
|
||||
|
||||
WWW: http://www.code-aster.org/outils/gibi/
|
19
french/gibi/pkg-message
Normal file
19
french/gibi/pkg-message
Normal file
|
@ -0,0 +1,19 @@
|
|||
Avertissement
|
||||
=============
|
||||
|
||||
Toute personne chargeant le logiciel GIBI s'engage à ne l'utiliser qu'en
|
||||
couplage avec le logiciel Code_ASTER. Pour tout autre usage, un droit de
|
||||
licence est nécessaire.
|
||||
|
||||
Contacter le C.E.A. à l'adresse : <kk2000@semt2.smts.cea.fr>.
|
||||
|
||||
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
|
||||
|
||||
Warning
|
||||
=======
|
||||
|
||||
You can use GIBI freely in conjunction with Code_Aster (i.e. the FreeBSD
|
||||
port french/aster).
|
||||
|
||||
If you want to use GIBI for any other purpose, you have to acquire a
|
||||
license: please contact <kk2000@semt2.smts.cea.fr>.
|
2159
french/gibi/pkg-plist
Normal file
2159
french/gibi/pkg-plist
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue