mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
e22be4275b
Notes: - I have (not yet) succeeded to enable MFront in this version; - it uses math/mumps-edf, repocopied from math/mumps; - cad/scotch is now taken out of the aster tarball; - french/eficas is no more used: to be replaced by "aster-study" in Salome_Meca (the port cad/salome should be resurrected!)
28 lines
816 B
Makefile
28 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= 13.4.0
|
|
ASTER_DISTVERSION= ${ASTER_VER}-3
|
|
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
|