mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
Upgrade to 2003-2.
This commit is contained in:
parent
1144ec9275
commit
0b06eee977
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=167092
@ -6,11 +6,10 @@
|
||||
#
|
||||
|
||||
PORTNAME= gibi
|
||||
PORTVERSION= 2000
|
||||
PORTREVISION= 8
|
||||
DISTVERSION= 2003-2
|
||||
CATEGORIES= french cad linux
|
||||
MASTER_SITES= http://www.code-aster.org/FICHIERS/
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.${ARCH}
|
||||
DISTNAME= ${PORTNAME}-${DISTVERSION}.${ARCH}
|
||||
EXTRACT_SUFX= .tar
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
@ -24,19 +23,20 @@ COMMENT= GIBI est la partie mailleur et post de CASTEM
|
||||
#-----------------------------------------------------------------------
|
||||
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/aster/${vaster}/asteru:${PORTSDIR}/french/aster
|
||||
RUN_DEPENDS+= ${LOCALBASE}/aster/${vaster}/asteru:${PORTSDIR}/french/aster \
|
||||
RUN_DEPENDS+= ${LOCALBASE}/aster/${vaster}/asteru:${PORTSDIR}/french/aster \
|
||||
${LINUXBASE}/usr/lib/libg2c.so.0:${PORTSDIR}/lang/linux-libg2c \
|
||||
${SHELL_RUN_GIBI}:${PORTSDIR}/shells/${SHRGDEP}
|
||||
|
||||
RESTRICTED= "Toute personne chargeant le logiciel GIBI s'engage à ne\
|
||||
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."
|
||||
tout autre usage, un droit de licence est nécessaire.
|
||||
|
||||
ONLY_FOR_ARCHS= i386
|
||||
|
||||
USE_LINUX= yes
|
||||
USE_X_PREFIX= yes
|
||||
REINPLACE_ARGS= -i ""
|
||||
NO_BUILD= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
|
||||
|
||||
.if defined(WITH_ZSH)
|
||||
SHRG= zsh
|
||||
@ -62,53 +62,48 @@ SHELL_RUN_GIBI= ${LOCALBASE}/bin/${SHRG}
|
||||
|
||||
LGIBIDIR?= apps/${PORTNAME}
|
||||
GIBIDIR= ${PREFIX}/${LGIBIDIR}
|
||||
ASTER_VER= 8.2
|
||||
ASTER_VER= 8.3
|
||||
vaster= STA${ASTER_VER}
|
||||
ASTER_TOOLS= ${LOCALBASE}/aster/${vaster}/outils
|
||||
ARCHI= PC_Linux_
|
||||
ARCHIVER= ${ARCHI}${PORTVERSION}
|
||||
GIBIBIN= ${PORTNAME}${PORTVERSION}
|
||||
KERVER= 2.4.1
|
||||
ARCHIVER= PCLinuxK${KERVER:R}_${PORTVERSION:R}
|
||||
KINSTALL= kinstall_PC_Linux_${PORTVERSION:R}
|
||||
GIBIBIN= ${PORTNAME}${PORTVERSION:R}
|
||||
|
||||
DOCS= DOC/HTML DOC/index.html DOC/pdf DOC/postscript README
|
||||
INST_ENV= LD_ASSUME_KERNEL=${KERVER} CASTEM="${GIBIDIR}" \
|
||||
ESOPE_PARAM='ESOPE=30000000,NTRK=50000,LTRK=1048576' \
|
||||
MIF_PATH=${GIBIDIR}/header CASTEM_ERREUR=${GIBIDIR}/GIBI.ERREUR \
|
||||
CASTEM_NOTICE=${GIBIDIR}/GIBI.MASTER CPU=16 ESOPE_TEMP='/tmp' \
|
||||
CASTEM_PROC=${GIBIDIR}/GIBI.PROC
|
||||
|
||||
PLIST_SUB= GIBIDIR=${LGIBIDIR} ASTER_TOOLS=${ASTER_TOOLS}
|
||||
PLIST_SUB= GIBIDIR=${LGIBIDIR} ASTER_TOOLS=${ASTER_TOOLS} \
|
||||
GIBIVER=${PORTVERSION:R} KERVER=${KERVER:R}
|
||||
|
||||
post-extract:
|
||||
@(cd ${WRKDIR} && \
|
||||
${TAR} xfz ${WRKDIR}/CASTEM_${PORTNAME}PC_Linux_${PORTVERSION}.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}
|
||||
pre-configure:
|
||||
${REINPLACE_CMD} -e "s|/usr/local/apps/gibi|${GIBIDIR}|" \
|
||||
-e "s|/bin/bash|${SHELL_RUN_GIBI}|" \
|
||||
${WRKSRC}/${GIBIBIN}
|
||||
${REINPLACE_CMD} -e "s|?PYTHON_EXE?|/usr/bin/env python|" \
|
||||
-e "s|?HOME_GIBI?|${GIBIDIR}|" \
|
||||
${WRKSRC}/gibi_aster.py
|
||||
|
||||
do-install:
|
||||
@${MKDIR} ${GIBIDIR}/bin
|
||||
.for FICH in DATA DGIBI
|
||||
@${CP} -Rp ${WRKDIR}/${FICH} ${GIBIDIR}
|
||||
${MKDIR} ${GIBIDIR}
|
||||
.for FICH in GIBI.ERREUR GIBI.MASTER GIBI.PROC USRDAT header
|
||||
${CP} -Rp ${WRKSRC}/${FICH} ${GIBIDIR}
|
||||
.endfor
|
||||
${INSTALL_SCRIPT} ${WRKDIR}/bin/${GIBIBIN} \
|
||||
${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME}${ARCHIVER} \
|
||||
${GIBIDIR}/bin
|
||||
@${BRANDELF} -t Linux ${GIBIDIR}/bin/${PORTNAME}${ARCHIVER}
|
||||
@${BRANDELF} -t Linux ${GIBIDIR}/DATA/kinstall_${ARCHIVER}
|
||||
@(cd ${GIBIDIR}/DATA \
|
||||
&& ./kinstall_${ARCHIVER} < ${FILESDIR}/clef >/dev/null 2>&1 \
|
||||
${INSTALL_SCRIPT} ${WRKSRC}/${GIBIBIN} ${PREFIX}/bin
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${ARCHIVER} ${GIBIDIR}
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/${KINSTALL} ${GIBIDIR}
|
||||
${BRANDELF} -t Linux ${GIBIDIR}/${PORTNAME}${ARCHIVER}
|
||||
${BRANDELF} -t Linux ${GIBIDIR}/${KINSTALL}
|
||||
(cd ${GIBIDIR} \
|
||||
&& ${INST_ENV} ./${KINSTALL} < ${FILESDIR}/clef \
|
||||
&& ${CHMOD} 666 USRDAT)
|
||||
@${RM} ${GIBIDIR}/DATA/kinstall_${ARCHIVER}
|
||||
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${GIBIDIR}
|
||||
@${LN} -fs ${PREFIX}/bin/${GIBIBIN} ${ASTER_TOOLS}/${PORTNAME}
|
||||
@${LN} -fs ${PREFIX}/bin/${GIBIBIN} ${ASTER_TOOLS}
|
||||
.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
|
||||
${RM} ${GIBIDIR}/${KINSTALL}
|
||||
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${GIBIDIR}
|
||||
${LN} -fs ${PREFIX}/bin/${GIBIBIN} ${ASTER_TOOLS}/${PORTNAME}
|
||||
${LN} -fs ${PREFIX}/bin/${GIBIBIN} ${ASTER_TOOLS}
|
||||
|
||||
post-install:
|
||||
@${ECHO_MSG}
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (gibi-2000-1.i386.tar) = 1ab42d8db97aaf3c86b26595d26aa9bc
|
||||
SHA256 (gibi-2000-1.i386.tar) = 21e61869a656678fb609debfde6597db681573951b9ab0949ddd71f4f51bf2d1
|
||||
SIZE (gibi-2000-1.i386.tar) = 28805120
|
||||
MD5 (gibi-2003-2.i386.tar) = cf9d07070d9ebb6039a42fe20fb10086
|
||||
SHA256 (gibi-2003-2.i386.tar) = 6964b600c8ae721a941092e57312746f707e3f61d5bcb3a8814ce044facb7d1e
|
||||
SIZE (gibi-2003-2.i386.tar) = 8057892
|
||||
|
@ -1,8 +1,8 @@
|
||||
y
|
||||
2005
|
||||
2006
|
||||
12
|
||||
31
|
||||
11
|
||||
1
|
||||
0
|
||||
3817529
|
||||
3817650
|
||||
|
10
french/gibi/files/patch-gibi-2003
Normal file
10
french/gibi/files/patch-gibi-2003
Normal file
@ -0,0 +1,10 @@
|
||||
--- gibi2003.orig Mon Mar 14 16:51:57 2005
|
||||
+++ gibi2003 Mon Jul 3 23:48:46 2006
|
||||
@@ -5,6 +5,7 @@
|
||||
# variable(s) a mettre a jour pour la version a creer
|
||||
castemscript='gibi2003'
|
||||
castX='gibiPCLinuxK2.4_2003'
|
||||
+export CASTEM='/usr/local/apps/gibi'
|
||||
DIR=$CASTEM
|
||||
|
||||
if [[ $DIR = "" ]] ; then
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user