summaryrefslogtreecommitdiff
path: root/french/gibi
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2005-01-17 21:11:06 +0000
committerThierry Thomas <thierry@FreeBSD.org>2005-01-17 21:11:06 +0000
commitd46a8df6dedf5cbe3d204df72bf393d80304ee32 (patch)
tree9fa5502636d1a08e962c62f1cf63fcf148641245 /french/gibi
parentUpgrade to 7.1. (diff)
Chase Code_Aster upgrade to 7.4.0.
Notes
Notes: svn path=/head/; revision=126672
Diffstat (limited to 'french/gibi')
-rw-r--r--french/gibi/Makefile19
-rw-r--r--french/gibi/pkg-plist4
2 files changed, 11 insertions, 12 deletions
diff --git a/french/gibi/Makefile b/french/gibi/Makefile
index 0c99d82be118..cdfe93e9eefb 100644
--- a/french/gibi/Makefile
+++ b/french/gibi/Makefile
@@ -7,7 +7,7 @@
PORTNAME= gibi
PORTVERSION= 2000
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= french cad linux
MASTER_SITES= http://www.code-aster.org/FICHIERS/
DISTNAME= ${PORTNAME}-${PORTVERSION}-1.${ARCH}
@@ -23,8 +23,8 @@ COMMENT= GIBI est la partie mailleur et post de CASTEM
# zsh (default), bash or ksh.
#-----------------------------------------------------------------------
-BUILD_DEPENDS= ${LOCALBASE}/aster/${vaster}/asteru.exe:${PORTSDIR}/french/aster
-RUN_DEPENDS= ${LOCALBASE}/aster/${vaster}/asteru.exe:${PORTSDIR}/french/aster \
+BUILD_DEPENDS+= ${LOCALBASE}/aster/${vaster}/asteru.exe:${PORTSDIR}/french/aster
+RUN_DEPENDS+= ${LOCALBASE}/aster/${vaster}/asteru.exe:${PORTSDIR}/french/aster \
${LINUXBASE}/usr/X11R6/lib/libXrender.so.1:${PORTSDIR}/x11/linux-XFree86-libs \
${SHELL_RUN_GIBI}:${PORTSDIR}/shells/${SHRGDEP}
@@ -63,21 +63,17 @@ SHELL_RUN_GIBI= ${LOCALBASE}/bin/${SHRG}
LGIBIDIR?= apps/${PORTNAME}
GIBIDIR= ${PREFIX}/${LGIBIDIR}
-ASTER_VER= 7.3
+ASTER_VER= 7.4
vaster= STA${ASTER_VER}
-ASTER_TOOLS= ${LOCALBASE}/aster/${vaster}/outils
+ASTER_TOOLS= ${LOCALBASE}/aster/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
-
post-extract:
@(cd ${WRKDIR} && \
${TAR} xfz ${WRKDIR}/CASTEM_${PORTNAME}PC_Linux_${PORTVERSION}.tar.gz)
@@ -97,7 +93,7 @@ do-install:
${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKDIR}/bin/${PORTNAME}${ARCHIVER} \
${GIBIDIR}/bin
- @${BRANDELF} ${GIBIDIR}/bin/${PORTNAME}${ARCHIVER}
+ @${BRANDELF} -t Linux ${GIBIDIR}/bin/${PORTNAME}${ARCHIVER}
@${BRANDELF} ${GIBIDIR}/DATA/kinstall_${ARCHIVER}
@(cd ${GIBIDIR}/DATA \
&& ./kinstall_${ARCHIVER} < ${FILESDIR}/clef >/dev/null 2>&1 \
@@ -105,6 +101,7 @@ do-install:
@${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}
@@ -119,4 +116,4 @@ post-install:
@${CAT} ${PKGMESSAGE}
@${ECHO_MSG}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/french/gibi/pkg-plist b/french/gibi/pkg-plist
index 83d4b9f97b63..da145f8875ca 100644
--- a/french/gibi/pkg-plist
+++ b/french/gibi/pkg-plist
@@ -2154,6 +2154,8 @@ bin/gibi2000
%%PORTDOCS%%@dirrm %%DOCSDIR%%/pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%/postscript
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-@exec ln -sf %D/gibi2000 %%ASTER_TOOLS%%/gibi
+@exec ln -sf %D/bin/gibi2000 %%ASTER_TOOLS%%
+@exec ln -sf %D/bin/gibi2000 %%ASTER_TOOLS%%/gibi
@unexec rm -f %%ASTER_TOOLS%%/gibi
+@unexec rm -f %%ASTER_TOOLS%%/gibi2000
@unexec rmdir %D/apps 2>/dev/null || true