26 lines
804 B
Makefile
26 lines
804 B
Makefile
# Created by: Thierry Thomas (<thierry@pompo.net>)
|
|
#
|
|
# 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
|