aboutsummaryrefslogtreecommitdiff
path: root/french/gibi/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2003-12-10 23:09:50 +0000
committerPav Lucistnik <pav@FreeBSD.org>2003-12-10 23:09:50 +0000
commit8a0dc91f63cc8b88f1d4b6605dec8c35e7b1cb8e (patch)
tree282f0072123d3953dd0910e90d9a983c2a11db0f /french/gibi/Makefile
parent62393e6ea8406baf97d2617e156c2b593df65482 (diff)
- www.code-aster.org was reorganized. fix fetching
PR: ports/60121 Submitted by: Thierry Thomas <thierry@pompo.net>
Notes
Notes: svn path=/head/; revision=95576
Diffstat (limited to 'french/gibi/Makefile')
-rw-r--r--french/gibi/Makefile20
1 files changed, 3 insertions, 17 deletions
diff --git a/french/gibi/Makefile b/french/gibi/Makefile
index 13f4ed231d86..61c1fdf5e057 100644
--- a/french/gibi/Makefile
+++ b/french/gibi/Makefile
@@ -8,8 +8,8 @@
PORTNAME= gibi
PORTVERSION= 2000
CATEGORIES= french cad linux
-MASTER_SITES= # http://www.code-aster.org/FICHIERS/gibi/
-DISTNAME= PACK_${PORTNAME}${ARCHI}${PORTVERSION}
+MASTER_SITES= http://www.code-aster.org/FICHIERS/
+DISTNAME= ${PORTNAME}-${PORTVERSION}-1.${ARCH}
EXTRACT_SUFX= .tar
MAINTAINER= ports@FreeBSD.org
@@ -77,23 +77,9 @@ 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)
+ ${TAR} xfz ${WRKDIR}/CASTEM_${PORTNAME}PC_Linux_${PORTVERSION}.tar.gz)
post-patch:
@${REINPLACE_CMD} -e "s|DIR='repertoire_install'|DIR='${GIBIDIR}'|" \