summaryrefslogtreecommitdiff
path: root/french/homard
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2003-07-24 05:48:35 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2003-07-24 05:48:35 +0000
commit6bf436be98a9e46aaf6d30dd1333a8cd3bb7d406 (patch)
treea75417ec91f3226491dae3891a9e9b6e66eaf05b /french/homard
parentupdate textproc/latex2html: PLIST is missing some files (diff)
Add homard 5.5, a refinement and de-refinement mesh tool.
PR: 54762 Submitted by: Thierry Thomas <thierry@pompo.net>
Notes
Notes: svn path=/head/; revision=85504
Diffstat (limited to 'french/homard')
-rw-r--r--french/homard/Makefile71
-rw-r--r--french/homard/distinfo1
-rw-r--r--french/homard/pkg-descr8
-rw-r--r--french/homard/pkg-message19
-rw-r--r--french/homard/pkg-plist36
5 files changed, 135 insertions, 0 deletions
diff --git a/french/homard/Makefile b/french/homard/Makefile
new file mode 100644
index 000000000000..83de0853a633
--- /dev/null
+++ b/french/homard/Makefile
@@ -0,0 +1,71 @@
+# New ports collection makefile for: homard
+# Date created: 08 July 2003
+# Whom: Thierry Thomas <thierry@pompo.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= homard
+PORTVERSION= 5.5
+CATEGORIES= french cad linux python
+MASTER_SITES= http://www.code-aster.org/FICHIERS/homard/
+DISTNAME= ${PORTNAME}_linux_${PORTVERSION}
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= A refinement and de-refinement mesh tool
+
+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>."
+
+WRKSRC= ${WRKDIR}/ASTER_HOMARD
+
+ONLY_FOR_ARCHS= i386
+
+USE_LINUX= yes
+USE_PYTHON= yes
+USE_REINPLACE= yes
+REINPLACE_ARGS= -i ""
+NO_BUILD= yes
+
+LHOMARDDIR?= apps/${PORTNAME}
+ASTER_VER= 7.1
+vaster= STA${ASTER_VER}
+ASTER_TOOLS= ${LOCALBASE}/aster/${vaster}/outils
+HOMARDDIR= ${PREFIX}/${LHOMARDDIR}
+unames!= ${UNAME} -s
+AHPY= aster_homard_py
+# This name is requested to run aster's make test
+HOMARDPG= ${PORTNAME:U}_V${PORTVERSION}.out
+PLIST_SUB= HOMARDDIR=${LHOMARDDIR} AHPY=${LHOMARDDIR}/${AHPY} UNAMES=${unames} \
+ HOMARDPG=${HOMARDPG}
+
+BRANDELF?= /usr/bin/brandelf
+
+post-patch:
+ @${REINPLACE_CMD} -e "s#HOMARD_REP_PRO=/??????/homard#HOMARD_REP_PRO=${ASTER_TOOLS}#" \
+ -e "s#HOMARD_REP_EXE=/??????/homard#HOMARD_REP_EXE=${PREFIX}/bin#" \
+ -e "s#/??????/python#${PYTHON_CMD}#" \
+ ${WRKSRC}/${PORTNAME}
+ @${CHMOD} u+w ${WRKSRC}/${AHPY}
+
+do-install:
+ ${MKDIR} ${HOMARDDIR}
+ ${MKDIR} ${PREFIX}/bin/${unames}
+ ${INSTALL_PROGRAM} ${WRKDIR}/${HOMARDPG} \
+ ${PREFIX}/bin/${unames}/${HOMARDPG}
+ ${BRANDELF} -t Linux ${PREFIX}/bin/${unames}/${HOMARDPG}
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${HOMARDDIR}
+ ${CP} -R ${WRKSRC}/${AHPY} ${HOMARDDIR}
+ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${HOMARDDIR}
+ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${HOMARDDIR}
+ ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${HOMARDDIR}
+
+post-install:
+ @${ECHO}
+ @${CAT} ${PKGMESSAGE}
+ @${ECHO}
+
+.include <bsd.port.mk>
diff --git a/french/homard/distinfo b/french/homard/distinfo
new file mode 100644
index 000000000000..62a641913a3c
--- /dev/null
+++ b/french/homard/distinfo
@@ -0,0 +1 @@
+MD5 (homard_linux_5.5.tar.gz) = 79c2a6d0304c4409f53c5198ef366a90
diff --git a/french/homard/pkg-descr b/french/homard/pkg-descr
new file mode 100644
index 000000000000..1bdc9116eb6d
--- /dev/null
+++ b/french/homard/pkg-descr
@@ -0,0 +1,8 @@
+Acrobat Reader is part of the Adobe Acrobat family of software, which lets
+you view, distribute, and print documents in Portable Document Format
+(PDF)--regardless of the computer, operating system, fonts, or application
+used to create the original file. PDF files retain all the formatting,
+A refinement and de-refinement mesh tool, used by Code_Aster for its
+adaptative mesh capability.
+
+WWW: http://www.code-aster.org/outils/homard
diff --git a/french/homard/pkg-message b/french/homard/pkg-message
new file mode 100644
index 000000000000..4bf04b937a51
--- /dev/null
+++ b/french/homard/pkg-message
@@ -0,0 +1,19 @@
+Avertissement
+=============
+
+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>.
+
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+
+Warning
+=======
+
+You can use homard freely in conjunction with Code_Aster (i.e. the FreeBSD
+port french/aster).
+
+If you want to use homard for any other purpose, you have to acquire a
+license: please contact the Homard's administrators at <homard@edf.fr>.
diff --git a/french/homard/pkg-plist b/french/homard/pkg-plist
new file mode 100644
index 000000000000..5eafcc350204
--- /dev/null
+++ b/french/homard/pkg-plist
@@ -0,0 +1,36 @@
+bin/%%UNAMES%%/%%HOMARDPG%%
+%%AHPY%%/aster_homard.py
+%%AHPY%%/aster_homard.pyc
+%%AHPY%%/aster_homard.pyo
+%%AHPY%%/aster_homard_1.py
+%%AHPY%%/aster_homard_1.pyc
+%%AHPY%%/aster_homard_1.pyo
+%%AHPY%%/aster_homard_2.py
+%%AHPY%%/aster_homard_2.pyc
+%%AHPY%%/aster_homard_2.pyo
+%%AHPY%%/aster_homard_3.py
+%%AHPY%%/aster_homard_3.pyc
+%%AHPY%%/aster_homard_3.pyo
+%%AHPY%%/aster_homard_4.py
+%%AHPY%%/aster_homard_4.pyc
+%%AHPY%%/aster_homard_4.pyo
+%%AHPY%%/aster_homard_5.py
+%%AHPY%%/aster_homard_5.pyc
+%%AHPY%%/aster_homard_5.pyo
+%%AHPY%%/aster_homard_6.py
+%%AHPY%%/aster_homard_6.pyc
+%%AHPY%%/aster_homard_6.pyo
+%%AHPY%%/aster_homard_7.py
+%%AHPY%%/aster_homard_7.pyc
+%%AHPY%%/aster_homard_7.pyo
+%%AHPY%%/aster_homard_8.py
+%%AHPY%%/aster_homard_8.pyc
+%%AHPY%%/aster_homard_8.pyo
+%%AHPY%%/aster_homard_utilitaires.py
+%%AHPY%%/aster_homard_utilitaires.pyc
+%%AHPY%%/aster_homard_utilitaires.pyo
+%%HOMARDDIR%%/homard
+@dirrm %%AHPY%%
+@dirrm %%HOMARDDIR%%
+@unexec rmdir %D/bin/%%UNAMES%% 2>/dev/null || true
+@unexec rmdir %D/apps 2>/dev/null || true