1 # Created by: thierry@pompo.net
9 MAINTAINER= thierry@FreeBSD.org
10 COMMENT= Meshes partitioning tool used by Code_Aster
12 CONFLICTS= metis-[0-9]* metis4-4*
15 MAKE_ENV= PICFLAG="${PICFLAG}" prefix="${PREFIX}" OPTFLAGS="${CFLAGS}"
19 WRKSRC= ${WRKDIR}/${PORTNAME:C|-edf||}-${PORTVERSION:R}
21 DOCS= CHANGES Doc/manual.ps
23 OPTIONS_DEFINE= DOCS EXAMPLES
25 .include <bsd.port.pre.mk>
26 .include "${.CURDIR}/../../french/aster/bsd.aster.mk"
32 ${MKDIR} ${STAGEDIR}${DOCSDIR}
34 ${INSTALL_DATA} ${WRKSRC}/${df} ${STAGEDIR}${DOCSDIR}
36 ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
37 ${INSTALL_DATA} ${WRKSRC}/Graphs/* ${STAGEDIR}${EXAMPLESDIR}
38 ${INSTALL_PROGRAM} ${WRKSRC}/Graphs/mtest ${STAGEDIR}${EXAMPLESDIR}
41 (cd ${WRKSRC}/Graphs && LD_LIBRARY_PATH=${WRKSRC} ./mtest 4elt.graph || ${TRUE})
43 .include <bsd.port.post.mk>