aboutsummaryrefslogtreecommitdiff
path: root/french/aster/bsd.aster.mk
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2014-03-18 21:09:03 +0000
committerThierry Thomas <thierry@FreeBSD.org>2014-03-18 21:09:03 +0000
commit55e6556d123a5c0c057d2c0a9b645123225b50a6 (patch)
treebee32239c442ebaba930b9099409230b15af97f7 /french/aster/bsd.aster.mk
parent05ca91af7888bf367bebfb82ca89564b7df77038 (diff)
downloadports-55e6556d123a5c0c057d2c0a9b645123225b50a6.tar.gz
ports-55e6556d123a5c0c057d2c0a9b645123225b50a6.zip
Notes
Diffstat (limited to 'french/aster/bsd.aster.mk')
-rw-r--r--french/aster/bsd.aster.mk15
1 files changed, 9 insertions, 6 deletions
diff --git a/french/aster/bsd.aster.mk b/french/aster/bsd.aster.mk
index e9f1516d19c5..8c6df73ce03e 100644
--- a/french/aster/bsd.aster.mk
+++ b/french/aster/bsd.aster.mk
@@ -9,19 +9,22 @@ MASTER_SITES= http://www.code-aster.org/FICHIERS/
DISTNAME= aster-${DISTVERSIONPREFIX}${ASTER_DISTVERSION}${DISTVERSIONSUFFIX}
DISTINFO_FILE= ${.CURDIR}/../../french/aster/distinfo
-BROKEN= Unfetchable
-ASTER_VER= 10.8.0
-ASTER_DISTVERSION= ${ASTER_VER}-3
+ASTER_VER= 11.5.0
+ASTER_DISTVERSION= ${ASTER_VER}-4
EXTRACT_WRKSRC= ${WRKDIR}/aster-${DISTVERSIONPREFIX}${ASTER_VER}/SRC
.if ${PORTNAME} == metis-edf
-DVSFX= ${DISTVERSIONSUFFIX}
-.elif ${PORTNAME} == homard
+TARNAME= ${PORTNAME:C|-edf||}
+.else
+TARNAME= ${PORTNAME}
+.endif
+
+.if ${PORTNAME} == homard
DVSFX= .all
.endif
.if ${PORTNAME} != aster
post-extract:
(cd ${WRKDIR} && \
- ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${EXTRACT_WRKSRC}/${PORTNAME}${DVPFX}-${DISTVERSION}${DVSFX}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS})
+ ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${EXTRACT_WRKSRC}/${TARNAME}${DVPFX}-${DISTVERSION}${DVSFX}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS})
.endif