diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2009-01-14 20:25:24 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2009-01-14 20:25:24 +0000 |
commit | d59e6ccc9d3bcb01bc9d1dcc09d473c96383621c (patch) | |
tree | 49c3ff1d3b93c3aba2e6be6ddcb60dd137f4e940 /french | |
parent | 4bff13eea5c42b92b166b0674f3ea6000ec7b49d (diff) | |
download | ports-d59e6ccc9d3bcb01bc9d1dcc09d473c96383621c.tar.gz ports-d59e6ccc9d3bcb01bc9d1dcc09d473c96383621c.zip |
Notes
Diffstat (limited to 'french')
-rw-r--r-- | french/med/Makefile | 24 | ||||
-rw-r--r-- | french/med/distinfo | 6 |
2 files changed, 21 insertions, 9 deletions
diff --git a/french/med/Makefile b/french/med/Makefile index a4f9fd607ee4..7db88e5883bc 100644 --- a/french/med/Makefile +++ b/french/med/Makefile @@ -6,9 +6,12 @@ # PORTNAME= med -PORTVERSION= 2.3.4 +DISTVERSIONPREFIX= full-src- +DISTVERSION= 2.3.5 +DISTVERSIONSUFFIX= .noarch CATEGORIES= french science MASTER_SITES= http://www.code-aster.org/V2/UPLOAD/DOC/Telechargement/ +DISTNAME= aster-${DISTVERSIONPREFIX}${ASTER_DISTVERSION}${DISTVERSIONSUFFIX} MAINTAINER= ports@FreeBSD.org COMMENT= Modelisation et Echanges de Donnees @@ -17,6 +20,12 @@ BUILD_DEPENDS= wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER} LIB_DEPENDS= hdf5.0:${PORTSDIR}/science/hdf5 RUN_DEPENDS= wish${TK_VER}:${PORTSDIR}/x11-toolkits/tk${SHORT_TK_VER} +ASTER_VER= 9.4.0 +ASTER_DISTVERSION= ${ASTER_VER}-1 +EXTRACT_WRKSRC= ${WRKDIR}/aster-${DISTVERSIONPREFIX}${ASTER_VER}/SRC + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + TK_VER?= 8.4 SHORT_TK_VER= ${TK_VER:S/.//} @@ -24,8 +33,7 @@ USE_FORTRAN= yes FFLAGS+= -O2 CONFIGURE_ENV= HDF5HOME=${LOCALBASE} CPPFLAGS="${PTHREAD_CFLAGS}" \ - LDFLAGS="${PTHREAD_LIBS}" WISH=${LOCALBASE}/bin/wish${TK_VER} \ - FC="${FC}" F77="${F77}" FFLAGS="${FFLAGS}" + LDFLAGS="${PTHREAD_LIBS}" WISH=${LOCALBASE}/bin/wish${TK_VER} CONFIGURE_ARGS= --with-f90=${FC} --docdir=${DOCSDIR} GNU_CONFIGURE= yes USE_GMAKE= yes @@ -38,13 +46,17 @@ TST2FIX= c f PORTDOCS= * PORTEXAMPLES= * +post-extract: + (cd ${WRKDIR} && \ + ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${EXTRACT_WRKSRC}/${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} ${EXTRACT_AFTER_ARGS}) + pre-configure: .for ext in am in . if defined(NOPORTDOCS) ${REINPLACE_CMD} -e '/SUBDIRS/ s|doc||' ${WRKSRC}/Makefile.${ext} . endif -. if defined(NOPORTEXAMPLES) - ${REINPLACE_CMD} -e '/SUBDIRS/ s|tests||' ${WRKSRC}/Makefile.${ext} +. if !defined(NOPORTEXAMPLES) + ${REINPLACE_CMD} -e '/SUBDIRS/ s|tools|tools tests|' ${WRKSRC}/Makefile.${ext} . endif . for dd in ${DOC2FIX} ${REINPLACE_CMD} -e 's|docdir = $$(datadir)/doc|docdir = @docdir@|' \ @@ -62,7 +74,7 @@ post-install: .endif regression-test: - @(cd ${BUILD_WRKSRC}; \ + @(cd ${BUILD_WRKSRC}/tests; \ ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) .include <bsd.port.mk> diff --git a/french/med/distinfo b/french/med/distinfo index b49ab76cfbbf..0296de5d6e4c 100644 --- a/french/med/distinfo +++ b/french/med/distinfo @@ -1,3 +1,3 @@ -MD5 (med-2.3.4.tar.gz) = e80890dcc79b632044302541996203b8 -SHA256 (med-2.3.4.tar.gz) = ccc36dd587dd803cc7a008d2edd67dd792a6c37a19ae0c5a73723bda32cbd16d -SIZE (med-2.3.4.tar.gz) = 2149185 +MD5 (aster-full-src-9.4.0-1.noarch.tar.gz) = b6dbe112250aac2cf569da9ebf30b18b +SHA256 (aster-full-src-9.4.0-1.noarch.tar.gz) = c475bca33c12ed0e1dcf7ff82f424aac87bf6968c820b5789d90842b1de5b107 +SIZE (aster-full-src-9.4.0-1.noarch.tar.gz) = 149931937 |