freebsd-ports/math/metis-edf/Makefile
Thierry Thomas e5e45eab29 Upgrade Code_Aster to 12.0.6-4.
This brings french/eficas to 2016.0.1,
	cad/astk-serveur and astk-client to 1.13.8.2,
	french/med to 3.2.0 (built against hdf5-18),
	bump PORTREVSION to math/metis-edf and fix soname,
	and french/homard to 11.7-1.
2016-11-13 12:44:13 +00:00

45 lines
1 KiB
Makefile

# Created by: thierry@pompo.net
# $FreeBSD$
PORTNAME= metis-edf
DISTVERSION= 4.0.3-1
PORTREVISION= 3
PORTEPOCH= 1
CATEGORIES= math
MAINTAINER= thierry@FreeBSD.org
COMMENT= Meshes partitioning tool used by Code_Aster
CONFLICTS= metis-[0-9]* metis4-4*
ALL_TARGET= default
MAKE_ENV= PICFLAG="${PICFLAG}" prefix="${PREFIX}" OPTFLAGS="${CFLAGS}"
PICFLAG?= -fPIC
LDFLAGS+= -Wl,-soname,libmetis.so.0
WRKSRC= ${WRKDIR}/${PORTNAME:C|-edf||}-${PORTVERSION:R}
DOCS= CHANGES Doc/manual.ps
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../../french/aster/bsd.aster.mk"
MACHINEARCH= ${ARCH}
USE_LDCONFIG= yes
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
. for df in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${df} ${STAGEDIR}${DOCSDIR}
. endfor
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/Graphs/* ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_PROGRAM} ${WRKSRC}/Graphs/mtest ${STAGEDIR}${EXAMPLESDIR}
regression-test:
(cd ${WRKSRC}/Graphs && LD_LIBRARY_PATH=${WRKSRC} ./mtest 4elt.graph || ${TRUE})
.include <bsd.port.post.mk>