From thierry@pompo.net  Tue Jul 22 13:46:57 2003
Return-Path: <thierry@pompo.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9888737B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 22 Jul 2003 13:46:57 -0700 (PDT)
Received: from ws90bj.pompo.net (lns-th2-2f-81-56-186-139.adsl.proxad.net [81.56.186.139])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8187143F93
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 22 Jul 2003 13:46:56 -0700 (PDT)
	(envelope-from thierry@pompo.net)
Received: by ws90bj.pompo.net (Postfix, from userid 1001)
	id 48CF022BD30; Tue, 22 Jul 2003 22:46:30 +0200 (CEST)
Message-Id: <20030722204630.48CF022BD30@ws90bj.pompo.net>
Date: Tue, 22 Jul 2003 22:46:30 +0200 (CEST)
From: Thierry Thomas <thierry@pompo.net>
Reply-To: Thierry Thomas <thierry@pompo.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: New port, french/homard: a refinement and de-refinement mesh tool (used by Code_Aster).
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         54762
>Category:       ports
>Synopsis:       New port, french/homard: a refinement and de-refinement mesh tool (used by Code_Aster).
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 22 13:50:19 PDT 2003
>Closed-Date:    Wed Jul 23 22:54:36 PDT 2003
>Last-Modified:  Wed Jul 23 22:54:36 PDT 2003
>Originator:     Thierry Thomas
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
Kabbale Eros
>Environment:
System: FreeBSD ws90bj.pompo.net 5.1-RELEASE FreeBSD 5.1-RELEASE #0: Tue Jun 10 23:15:41 CEST 2003 root@ws90bj.pompo.net:/usr/obj/usr/src/sys/WS90BJ-030610 i386


	
>Description:
	This is a complementary set of programs used by Code_Aster
	(see french/aster).

	Remark: the binary runs with linux emulation, but at this time
	it only exists for i386. It is restricted: see RESTRICTED and
	the pkg-message.

>How-To-Repeat:
	N/A.

>Fix:
	Please execute the following shar file:

--- homard.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	french/homard
#	french/homard/Makefile
#	french/homard/distinfo
#	french/homard/pkg-descr
#	french/homard/pkg-plist
#	french/homard/pkg-message
#
echo c - french/homard
mkdir -p french/homard > /dev/null 2>&1
echo x - french/homard/Makefile
sed 's/^X//' >french/homard/Makefile << 'END-of-french/homard/Makefile'
X# New ports collection makefile for:	homard
X# Date created:		08 July 2003
X# Whom:			Thierry Thomas <thierry@pompo.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	homard
XPORTVERSION=	5.5
XCATEGORIES=	french cad linux python
XMASTER_SITES=	http://www.code-aster.org/FICHIERS/homard/
XDISTNAME=	${PORTNAME}_linux_${PORTVERSION}
X
XMAINTAINER=	ports@FreeBSD.org
XCOMMENT=	A refinement and de-refinement mesh tool
X
XRESTRICTED=	"Toute personne chargeant le logiciel HOMARD s'engage  ne\
X		l'utiliser qu'en couplage avec le logiciel Code_ASTER. Pour\
X		tout autre usage, un droit de licence est ncessaire.\
X		Contacter les administrateurs de HOMARD  l'adresse:\
X		<homard@edf.fr>."
X
XWRKSRC=		${WRKDIR}/ASTER_HOMARD
X
XONLY_FOR_ARCHS=	i386
X
XUSE_LINUX=	yes
XUSE_PYTHON=	yes
XUSE_REINPLACE=	yes
XREINPLACE_ARGS=	-i ""
XNO_BUILD=	yes
X
XLHOMARDDIR?=	apps/${PORTNAME}
XASTER_VER=	7.1
Xvaster=		STA${ASTER_VER}
XASTER_TOOLS=	${LOCALBASE}/aster/${vaster}/outils
XHOMARDDIR=	${PREFIX}/${LHOMARDDIR}
Xunames!=	uname -s
XAHPY=		aster_homard_py
X# This name is requested to run aster's make test
XHOMARDPG=	${PORTNAME:U}_V${PORTVERSION}.out
XPLIST_SUB=	HOMARDDIR=${LHOMARDDIR} AHPY=${LHOMARDDIR}/${AHPY} UNAMES=${unames}	\
X		HOMARDPG=${HOMARDPG}
X
XBRANDELF=	/usr/bin/brandelf
X
Xpost-patch:
X	@${REINPLACE_CMD} -e "s#HOMARD_REP_PRO=/??????/homard#HOMARD_REP_PRO=${ASTER_TOOLS}#"	\
X		-e "s#HOMARD_REP_EXE=/??????/homard#HOMARD_REP_EXE=${PREFIX}/bin#"		\
X		-e "s#/??????/python#${PYTHON_CMD}#"		\
X		${WRKSRC}/${PORTNAME}
X	@${CHMOD} u+w ${WRKSRC}/${AHPY}
X
Xdo-install:
X	@${MKDIR} ${HOMARDDIR}
X	@${MKDIR} ${PREFIX}/bin/${unames}
X	@${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME:U}_${PORTVERSION}.out	\
X		${PREFIX}/bin/${unames}/${HOMARDPG}
X	@${BRANDELF} -t Linux ${PREFIX}/bin/${unames}/${HOMARDPG}
X	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${HOMARDDIR}
X	@${CP} -R ${WRKSRC}/${AHPY} ${HOMARDDIR}
X	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${HOMARDDIR}
X	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${HOMARDDIR}
X	@${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${HOMARDDIR}
X
Xpost-install:
X	@${ECHO}
X	@${CAT} ${PKGMESSAGE}
X	@${ECHO}
X
X.include <bsd.port.mk>
END-of-french/homard/Makefile
echo x - french/homard/distinfo
sed 's/^X//' >french/homard/distinfo << 'END-of-french/homard/distinfo'
XMD5 (homard_linux_5.5.tar.gz) = 7d59da1d05728daf8b15ce675b051541
END-of-french/homard/distinfo
echo x - french/homard/pkg-descr
sed 's/^X//' >french/homard/pkg-descr << 'END-of-french/homard/pkg-descr'
XAcrobat Reader is part of the Adobe Acrobat family of software, which lets 
Xyou view, distribute, and print documents in Portable Document Format 
X(PDF)--regardless of the computer, operating system, fonts, or application 
Xused to create the original file.  PDF files retain all the formatting, 
XA refinement and de-refinement mesh tool, used by Code_Aster for its
Xadaptative mesh capability.
X
XWWW: http://www.code-aster.org/outils/homard
END-of-french/homard/pkg-descr
echo x - french/homard/pkg-plist
sed 's/^X//' >french/homard/pkg-plist << 'END-of-french/homard/pkg-plist'
Xbin/%%UNAMES%%/%%HOMARDPG%%
X%%AHPY%%/aster_homard.py
X%%AHPY%%/aster_homard.pyc
X%%AHPY%%/aster_homard.pyo
X%%AHPY%%/aster_homard_1.py
X%%AHPY%%/aster_homard_1.pyc
X%%AHPY%%/aster_homard_1.pyo
X%%AHPY%%/aster_homard_2.py
X%%AHPY%%/aster_homard_2.pyc
X%%AHPY%%/aster_homard_2.pyo
X%%AHPY%%/aster_homard_3.py
X%%AHPY%%/aster_homard_3.pyc
X%%AHPY%%/aster_homard_3.pyo
X%%AHPY%%/aster_homard_4.py
X%%AHPY%%/aster_homard_4.pyc
X%%AHPY%%/aster_homard_4.pyo
X%%AHPY%%/aster_homard_5.py
X%%AHPY%%/aster_homard_5.pyc
X%%AHPY%%/aster_homard_5.pyo
X%%AHPY%%/aster_homard_6.py
X%%AHPY%%/aster_homard_6.pyc
X%%AHPY%%/aster_homard_6.pyo
X%%AHPY%%/aster_homard_7.py
X%%AHPY%%/aster_homard_7.pyc
X%%AHPY%%/aster_homard_7.pyo
X%%AHPY%%/aster_homard_8.py
X%%AHPY%%/aster_homard_8.pyc
X%%AHPY%%/aster_homard_8.pyo
X%%AHPY%%/aster_homard_utilitaires.py
X%%AHPY%%/aster_homard_utilitaires.pyc
X%%AHPY%%/aster_homard_utilitaires.pyo
X%%HOMARDDIR%%/homard
X@dirrm %%AHPY%%
X@dirrm %%HOMARDDIR%%
X@unexec rmdir %D/bin/%%UNAMES%% 2>/dev/null || true
X@unexec rmdir %D/apps 2>/dev/null || true
END-of-french/homard/pkg-plist
echo x - french/homard/pkg-message
sed 's/^X//' >french/homard/pkg-message << 'END-of-french/homard/pkg-message'
XAvertissement
X=============
X
XToute personne chargeant le logiciel HOMARD s'engage  ne l'utiliser qu'en
Xcouplage avec le logiciel Code_ASTER. Pour tout autre usage, un droit de
Xlicence est ncessaire.
X
XContacter les administrateurs de HOMARD  l'adresse: <homard@edf.fr>.
X
X=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
X
XWarning
X=======
X
XYou can use homard freely in conjunction with Code_Aster (i.e. the FreeBSD
Xport french/aster).
X
XIf you want to use homard for any other purpose, you have to acquire a
Xlicense: please contact the Homard's administrators at <homard@edf.fr>.
END-of-french/homard/pkg-message
exit
--- homard.shar ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: oliver 
State-Changed-When: Wed Jul 23 03:08:02 PDT 2003 
State-Changed-Why:  
===>  Extracting for fr-homard-5.5 
State-Changed-From-To: feedback->closed 
State-Changed-By: oliver 
State-Changed-When: Wed Jul 23 22:54:19 PDT 2003 
State-Changed-Why:  
Committed, Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=54762 
>Unformatted:
 >> Checksum mismatch for homard_linux_5.5.tar.gz. 
 
 Please check why the checksum changed, and what is different between the new 
 tarball and the old archive (diff -ruN). Then send a fix for that issue please. 
 
 
 http://www.freebsd.org/cgi/query-pr.cgi?pr=54762 
