blob: c2dc3f0d06e5938d84de886d8a38e4f799214e0d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Date created: Tue Sep 14, 2010
# Whom: 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/
DISTNAME= aster-${DISTVERSIONPREFIX}${ASTER_DISTVERSION}${DISTVERSIONSUFFIX}
DISTINFO_FILE= ${.CURDIR}/../../french/aster/distinfo
ASTER_VER= 10.6.0
ASTER_DISTVERSION= ${ASTER_VER}-3
EXTRACT_WRKSRC= ${WRKDIR}/aster-${DISTVERSIONPREFIX}${ASTER_VER}/SRC
.if ${PORTNAME} == metis-edf
DVSFX= ${DISTVERSIONSUFFIX}
.elif ${PORTNAME} == homard
DVSFX= .all
.elif ${PORTNAME} == eficas
DVPFX= -vexpl
.endif
.if ${PORTNAME} != aster
post-extract:
(cd ${WRKDIR} && \
${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${EXTRACT_WRKSRC}/${PORTNAME}${DVPFX}-${DISTVERSION}${DVSFX}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS})
.endif
|