diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2006-07-06 19:44:38 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2006-07-06 19:44:38 +0000 |
commit | 1144ec927554418b3c2d971bcf33c048740e7da8 (patch) | |
tree | 1748ae1a088713004e2885277fa9ee191722343f /french/homard/Makefile | |
parent | f576ae87b1b25e70bab4f98bd8e3c489f4349b2a (diff) | |
download | ports-1144ec927554418b3c2d971bcf33c048740e7da8.tar.gz ports-1144ec927554418b3c2d971bcf33c048740e7da8.zip |
Notes
Diffstat (limited to 'french/homard/Makefile')
-rw-r--r-- | french/homard/Makefile | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/french/homard/Makefile b/french/homard/Makefile index 8adc2ca70f96..25f348c33547 100644 --- a/french/homard/Makefile +++ b/french/homard/Makefile @@ -6,10 +6,10 @@ # PORTNAME= homard -PORTVERSION= 7.7 +DISTVERSION= 8.2-1 CATEGORIES= french cad linux python MASTER_SITES= http://www.code-aster.org/FICHIERS/ -DISTNAME= ${PORTNAME}-${PORTVERSION}-1.${ARCH} +DISTNAME= ${PORTNAME}-${DISTVERSION}.${ARCH} MAINTAINER= ports@FreeBSD.org COMMENT= A refinement and de-refinement mesh tool @@ -17,11 +17,11 @@ COMMENT= A refinement and de-refinement mesh tool BUILD_DEPENDS= ${LOCALBASE}/aster/${vaster}/asteru:${PORTSDIR}/french/aster RUN_DEPENDS= ${LOCALBASE}/aster/${vaster}/asteru:${PORTSDIR}/french/aster -RESTRICTED= "Toute personne chargeant le logiciel HOMARD s'engage à ne\ +RESTRICTED= Toute personne chargeant le logiciel HOMARD 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 les administrateurs de HOMARD à l'adresse :\ - <homard@edf.fr>." + <homard@edf.fr>. ONLY_FOR_ARCHS= i386 @@ -33,7 +33,7 @@ NO_BUILD= yes WRKSRC= ${WRKDIR}/${PORTNAME:U} LHOMARDDIR?= apps/${PORTNAME} -ASTER_VER= 8.2 +ASTER_VER= 8.3 vaster= STA${ASTER_VER} ASTER_TOOLS= ${LOCALBASE}/aster/${vaster}/outils HOMARDDIR= ${PREFIX}/${LHOMARDDIR} @@ -42,8 +42,8 @@ AHPY5= aster_homard_v5x_py AHPY6= aster_homard_v6x_py HOMARDSCRIPT= ${WRKSRC}/${PORTNAME}_base # This name is requested to run aster's make test -HOMARDPG= ${PORTNAME:U}_V${PORTVERSION}.out -HOMARDWDIR= ${PORTNAME:U}_V${PORTVERSION}.Linux +HOMARDPG= ${PORTNAME:U}_V${PORTVERSION:R}.out +HOMARDWDIR= ${PORTNAME:U}_V${PORTVERSION:R}.Linux DOCS= A_Lire.txt Readme.txt @@ -55,7 +55,6 @@ PLIST_SUB= HOMARDDIR=${LHOMARDDIR} AHPY=${LHOMARDDIR}/${AHPY} \ pre-configure: @${REINPLACE_CMD} -e "s#/logiciels/HOMARD/HOMARD_PUBLIC#${PREFIX}/bin#" \ - -e "s#/local/edf-python-2.1.1/bin/python#${PYTHON_CMD}#" \ ${HOMARDSCRIPT} do-install: @@ -72,11 +71,14 @@ do-install: @${LN} -fs ${HOMARDDIR}/homard ${ASTER_TOOLS}/ @${LN} -fs ${HOMARDDIR}/aster_homard_py ${ASTER_TOOLS}/ .if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} + @${MKDIR} ${DOCSDIR} ${EXAMPLESDIR} .for doc in ${DOCS} @${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR} .endfor + @${CP} -R ${WRKSRC}/Intranet ${DOCSDIR} @${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." + @${CP} -R ${WRKSRC}/${HOMARDWDIR}/CAS_TESTS/* ${EXAMPLESDIR} + @${ECHO_MSG} "===> Examples installed in ${EXAMPLESDIR}." .endif post-install: |