diff options
author | Maho Nakata <maho@FreeBSD.org> | 2007-01-13 09:17:14 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2007-01-13 09:17:14 +0000 |
commit | a3ad47de4a47cc6082530a2f15778facdf7edfa1 (patch) | |
tree | 336f1d36ba0eb9d5d7b9b658c3c606dcb86edf79 /lang/ratfor | |
parent | * Migrate to gfortran. (diff) |
* Migrate to gfortran.
* Bump port revision.
Approved by: portmgr(kris)
Notes
Notes:
svn path=/head/; revision=182287
Diffstat (limited to 'lang/ratfor')
-rw-r--r-- | lang/ratfor/Makefile | 6 | ||||
-rw-r--r-- | lang/ratfor/files/patch-Makefile | 16 |
2 files changed, 22 insertions, 0 deletions
diff --git a/lang/ratfor/Makefile b/lang/ratfor/Makefile index d5e9ed6585b4..e4c7869d7498 100644 --- a/lang/ratfor/Makefile +++ b/lang/ratfor/Makefile @@ -8,6 +8,7 @@ PORTNAME= ratfor PORTVERSION= 1985.06 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= ftp://sepftp.stanford.edu/pub/sep-distr/ \ ${MASTER_SITE_LOCAL} \ @@ -25,8 +26,13 @@ EXTRACT_AFTER_ARGS= | ${SH} ALL_TARGET= all tests MAN1= ratfor.1 +WANT_FORTRAN=yes #dummy but future use +BUILD_DEPENDS+= gfortran42:${PORTSDIR}/lang/gcc42 +F77= gfortran42 + post-patch: @cd ${WRKSRC} ; ${PATCH} --quiet < testw.patch + @${REINPLACE_CMD} -e 's|%%F77%%|${F77}|' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ratfor77 ${PREFIX}/bin diff --git a/lang/ratfor/files/patch-Makefile b/lang/ratfor/files/patch-Makefile new file mode 100644 index 000000000000..059e3b53747e --- /dev/null +++ b/lang/ratfor/files/patch-Makefile @@ -0,0 +1,16 @@ +--- Makefile~ Sat Jan 13 18:13:44 2007 ++++ Makefile Sat Jan 13 18:14:35 2007 +@@ -28,11 +28,11 @@ + + test: ratfor + ./ratfor -o test.f test.r +- f77 -o test test.f ++ %%F77%% -o test test.f + + testw: ratfor + ./ratfor -o testw.f testw.r +- f77 -o testw testw.f ++ %%F77%% -o testw testw.f + + tests: test testw + ./test |