freebsd-ports/french/aster/bsd.aster.mk
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

27 lines
788 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= 12.6.0
ASTER_DISTVERSION= ${ASTER_VER}-4
EXTRACT_WRKSRC= ${WRKDIR}/aster-${DISTVERSIONPREFIX}${ASTER_VER}/SRC
.if ${PORTNAME} == metis-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