diff options
author | maho <maho@FreeBSD.org> | 2007-01-17 08:26:37 +0800 |
---|---|---|
committer | maho <maho@FreeBSD.org> | 2007-01-17 08:26:37 +0800 |
commit | b958c32687de805541283611b8cab3ac77055c77 (patch) | |
tree | c866824225c3a89e068a86323c723f1b84ddbd69 /math | |
parent | ae625391d1b661c8c2fd7fe79329efca1af0874d (diff) | |
download | freebsd-ports-graphics-b958c32687de805541283611b8cab3ac77055c77.tar.gz freebsd-ports-graphics-b958c32687de805541283611b8cab3ac77055c77.tar.zst freebsd-ports-graphics-b958c32687de805541283611b8cab3ac77055c77.zip |
* Migrate to gfortran.
* Bump port revision.
Diffstat (limited to 'math')
-rw-r--r-- | math/kaskade/Makefile | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/math/kaskade/Makefile b/math/kaskade/Makefile index 968cc810b8c..7b152bc4e36 100644 --- a/math/kaskade/Makefile +++ b/math/kaskade/Makefile @@ -7,6 +7,7 @@ PORTNAME= kaskade PORTVERSION= 3.2.1 +PORTREVISION= 1 CATEGORIES= math science MASTER_SITES= ftp://ftp.zib.de/pub/kaskade/3.x/ DISTNAME= ${PORTVERSION} @@ -16,14 +17,24 @@ COMMENT= Adaptive linear scalar elliptic and parabolic problem solver USE_X_PREFIX= yes GNU_CONFIGURE= yes +WANT_FORTRAN= yes #dummy but future use +BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 +F77= gfortran42 + CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} DIST_SUBDIR= kaskade WRKSRC= ${WRKDIR}/3.2.1 +FORTRANLIBS= -lgfortranbegin -lgfortran +GCCLIBDIR= -L`${CAT} ${WRKSRC}/LIBDIR` -L`${CAT} ${WRKSRC}/LIBDIR`/../../.. post-patch: ${CP} ${FILESDIR}/Makefile ${WRKSRC} ${CP} ${FILESDIR}/configure ${WRKSRC} + @${DIRNAME} `${LOCALBASE}/bin/${F77} -print-libgcc-file-name` > ${WRKSRC}/LIBDIR + @${REINPLACE_CMD} "s+%%F77%%+${F77}+" ${WRKSRC}/sources/configure + @${REINPLACE_CMD} -e "s+%%GCCLIBDIR%%+${GCCLIBDIR}+" -e "s+%%FORTRANLIBS%%+${FORTRANLIBS}+" ${WRKSRC}/sources/makefile.in + @${REINPLACE_CMD} "s+%%F77%%+${F77}+" ${WRKSRC}/minigraph/configure post-install: .if !defined(NOPORTDOCS) |