This implies: - french /aster builds fine with clang, but it seg-faults: switched to Gcc - ASTK is upgraded to 2019.0-1 - math/mumps is upgraded to 5.1.2-aster7 - TFEL/MFront is now required, but when the compilers of tfel and aster are different, it cannot be linked . recopopy science/tfel to science/tfel-edf and depends on science/tfel-edf . science/tfel-edf is built by Gcc, from the sources included in Aster's tarball . register the conflicts
27 lines
816 B
Makefile
27 lines
816 B
Makefile
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
|
# $FreeBSD$
|
|
#
|
|
# Common variables used by ports related to Code_Aster
|
|
|
|
DISTVERSIONPREFIX= full-src-
|
|
DISTVERSIONSUFFIX= .noarch
|
|
MASTER_SITES= http://www.code-aster.org/FICHIERS/ \
|
|
LOCAL/thierry
|
|
DISTNAME= aster-${DISTVERSIONPREFIX}${ASTER_DISTVERSION}${DISTVERSIONSUFFIX}
|
|
DISTINFO_FILE= ${.CURDIR}/../../french/aster/distinfo
|
|
|
|
ASTER_VER= 14.6.0
|
|
ASTER_DISTVERSION= ${ASTER_VER}-1
|
|
EXTRACT_WRKSRC= ${WRKDIR}/aster-${DISTVERSIONPREFIX}${ASTER_VER}/SRC
|
|
|
|
.if ${PORTNAME} == metis-edf || ${PORTNAME} == mumps-edf
|
|
TARNAME= ${PORTNAME:C|-edf||}
|
|
.else
|
|
TARNAME= ${PORTNAME}
|
|
.endif
|
|
|
|
.if ${PORTNAME} != aster
|
|
post-extract:
|
|
(cd ${WRKDIR} && \
|
|
${TAR} ${EXTRACT_BEFORE_ARGS} ${EXTRACT_WRKSRC}/${TARNAME}${DVPFX}-${DISTVERSION}${DVSFX}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS})
|
|
.endif
|