diff options
author | thierry <thierry@FreeBSD.org> | 2009-01-15 04:25:24 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2009-01-15 04:25:24 +0800 |
commit | bf9e92d7636acca439c38afc858d689d5a8a8b45 (patch) | |
tree | dc602707cccaa06b0e9164c0b6b6a9fb1a96ecb3 /french/med | |
parent | 026bb0e49645037c01d7d847a1fe3725ed72dbac (diff) | |
download | freebsd-ports-gnome-bf9e92d7636acca439c38afc858d689d5a8a8b45.tar.gz freebsd-ports-gnome-bf9e92d7636acca439c38afc858d689d5a8a8b45.tar.zst freebsd-ports-gnome-bf9e92d7636acca439c38afc858d689d5a8a8b45.zip |
- Upgrade to 2.3.5;
- Use aster's distfiles.
Diffstat (limited to 'french/med')
-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 |