ports/54762: New port, french/homard: a refinement and de-refinement mesh tool (used by Code_Aster).

Thierry Thomas thierry at pompo.net
Tue Jul 22 20:50:25 UTC 2003


>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:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jul 22 13:50:19 PDT 2003
>Closed-Date:
>Last-Modified:
>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 at 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 at 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 at 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 nécessaire.\
X		Contacter les administrateurs de HOMARD à l'adresse :\
X		<homard at 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 at dirrm %%AHPY%%
X at dirrm %%HOMARDDIR%%
X at unexec rmdir %D/bin/%%UNAMES%% 2>/dev/null || true
X at 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 nécessaire.
X
XContacter les administrateurs de HOMARD à l'adresse : <homard at 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 at edf.fr>.
END-of-french/homard/pkg-message
exit
--- homard.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list