mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +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
|
PORTNAME= gibi
|
||||||
PORTVERSION= 2000
|
DISTVERSION= 2003-2
|
||||||
PORTREVISION= 8
|
|
||||||
CATEGORIES= french cad linux
|
CATEGORIES= french cad linux
|
||||||
MASTER_SITES= http://www.code-aster.org/FICHIERS/
|
MASTER_SITES= http://www.code-aster.org/FICHIERS/
|
||||||
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.${ARCH}
|
DISTNAME= ${PORTNAME}-${DISTVERSION}.${ARCH}
|
||||||
EXTRACT_SUFX= .tar
|
EXTRACT_SUFX= .tar
|
||||||
|
|
||||||
MAINTAINER= ports@FreeBSD.org
|
MAINTAINER= ports@FreeBSD.org
|
||||||
@ -25,18 +24,19 @@ COMMENT= GIBI est la partie mailleur et post de CASTEM
|
|||||||
|
|
||||||
BUILD_DEPENDS+= ${LOCALBASE}/aster/${vaster}/asteru:${PORTSDIR}/french/aster
|
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}
|
${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\
|
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
|
ONLY_FOR_ARCHS= i386
|
||||||
|
|
||||||
USE_LINUX= yes
|
USE_LINUX= yes
|
||||||
USE_X_PREFIX= yes
|
|
||||||
REINPLACE_ARGS= -i ""
|
REINPLACE_ARGS= -i ""
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R}
|
||||||
|
|
||||||
.if defined(WITH_ZSH)
|
.if defined(WITH_ZSH)
|
||||||
SHRG= zsh
|
SHRG= zsh
|
||||||
@ -62,53 +62,48 @@ SHELL_RUN_GIBI= ${LOCALBASE}/bin/${SHRG}
|
|||||||
|
|
||||||
LGIBIDIR?= apps/${PORTNAME}
|
LGIBIDIR?= apps/${PORTNAME}
|
||||||
GIBIDIR= ${PREFIX}/${LGIBIDIR}
|
GIBIDIR= ${PREFIX}/${LGIBIDIR}
|
||||||
ASTER_VER= 8.2
|
ASTER_VER= 8.3
|
||||||
vaster= STA${ASTER_VER}
|
vaster= STA${ASTER_VER}
|
||||||
ASTER_TOOLS= ${LOCALBASE}/aster/${vaster}/outils
|
ASTER_TOOLS= ${LOCALBASE}/aster/${vaster}/outils
|
||||||
ARCHI= PC_Linux_
|
KERVER= 2.4.1
|
||||||
ARCHIVER= ${ARCHI}${PORTVERSION}
|
ARCHIVER= PCLinuxK${KERVER:R}_${PORTVERSION:R}
|
||||||
GIBIBIN= ${PORTNAME}${PORTVERSION}
|
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:
|
pre-configure:
|
||||||
@(cd ${WRKDIR} && \
|
${REINPLACE_CMD} -e "s|/usr/local/apps/gibi|${GIBIDIR}|" \
|
||||||
${TAR} xfz ${WRKDIR}/CASTEM_${PORTNAME}PC_Linux_${PORTVERSION}.tar.gz)
|
-e "s|/bin/bash|${SHELL_RUN_GIBI}|" \
|
||||||
|
${WRKSRC}/${GIBIBIN}
|
||||||
post-patch:
|
${REINPLACE_CMD} -e "s|?PYTHON_EXE?|/usr/bin/env python|" \
|
||||||
@${REINPLACE_CMD} -e "s|DIR='repertoire_install'|DIR='${GIBIDIR}'|" \
|
-e "s|?HOME_GIBI?|${GIBIDIR}|" \
|
||||||
-e "s|/bin/ksh|${SHELL_RUN_GIBI}|" \
|
${WRKSRC}/gibi_aster.py
|
||||||
-e "s|castem|${PORTNAME}|" \
|
|
||||||
${WRKDIR}/bin/${GIBIBIN}
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
@${MKDIR} ${GIBIDIR}/bin
|
${MKDIR} ${GIBIDIR}
|
||||||
.for FICH in DATA DGIBI
|
.for FICH in GIBI.ERREUR GIBI.MASTER GIBI.PROC USRDAT header
|
||||||
@${CP} -Rp ${WRKDIR}/${FICH} ${GIBIDIR}
|
${CP} -Rp ${WRKSRC}/${FICH} ${GIBIDIR}
|
||||||
.endfor
|
.endfor
|
||||||
${INSTALL_SCRIPT} ${WRKDIR}/bin/${GIBIBIN} \
|
${INSTALL_SCRIPT} ${WRKSRC}/${GIBIBIN} ${PREFIX}/bin
|
||||||
${PREFIX}/bin
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME}${ARCHIVER} ${GIBIDIR}
|
||||||
${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME}${ARCHIVER} \
|
${INSTALL_PROGRAM} ${WRKSRC}/${KINSTALL} ${GIBIDIR}
|
||||||
${GIBIDIR}/bin
|
${BRANDELF} -t Linux ${GIBIDIR}/${PORTNAME}${ARCHIVER}
|
||||||
@${BRANDELF} -t Linux ${GIBIDIR}/bin/${PORTNAME}${ARCHIVER}
|
${BRANDELF} -t Linux ${GIBIDIR}/${KINSTALL}
|
||||||
@${BRANDELF} -t Linux ${GIBIDIR}/DATA/kinstall_${ARCHIVER}
|
(cd ${GIBIDIR} \
|
||||||
@(cd ${GIBIDIR}/DATA \
|
&& ${INST_ENV} ./${KINSTALL} < ${FILESDIR}/clef \
|
||||||
&& ./kinstall_${ARCHIVER} < ${FILESDIR}/clef >/dev/null 2>&1 \
|
|
||||||
&& ${CHMOD} 666 USRDAT)
|
&& ${CHMOD} 666 USRDAT)
|
||||||
@${RM} ${GIBIDIR}/DATA/kinstall_${ARCHIVER}
|
${RM} ${GIBIDIR}/${KINSTALL}
|
||||||
@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${GIBIDIR}
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${GIBIDIR}
|
||||||
@${LN} -fs ${PREFIX}/bin/${GIBIBIN} ${ASTER_TOOLS}/${PORTNAME}
|
${LN} -fs ${PREFIX}/bin/${GIBIBIN} ${ASTER_TOOLS}/${PORTNAME}
|
||||||
@${LN} -fs ${PREFIX}/bin/${GIBIBIN} ${ASTER_TOOLS}
|
${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
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
@${ECHO_MSG}
|
@${ECHO_MSG}
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
MD5 (gibi-2000-1.i386.tar) = 1ab42d8db97aaf3c86b26595d26aa9bc
|
MD5 (gibi-2003-2.i386.tar) = cf9d07070d9ebb6039a42fe20fb10086
|
||||||
SHA256 (gibi-2000-1.i386.tar) = 21e61869a656678fb609debfde6597db681573951b9ab0949ddd71f4f51bf2d1
|
SHA256 (gibi-2003-2.i386.tar) = 6964b600c8ae721a941092e57312746f707e3f61d5bcb3a8814ce044facb7d1e
|
||||||
SIZE (gibi-2000-1.i386.tar) = 28805120
|
SIZE (gibi-2003-2.i386.tar) = 8057892
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
y
|
y
|
||||||
2005
|
2006
|
||||||
12
|
12
|
||||||
31
|
31
|
||||||
11
|
11
|
||||||
1
|
1
|
||||||
0
|
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