1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00
freebsd-ports/lang/ratfor/Makefile
Maho Nakata a3ad47de4a * Migrate to gfortran.
* Bump port revision.

Approved by:	portmgr(kris)
2007-01-13 09:17:14 +00:00

43 lines
1.0 KiB
Makefile

# ex:ts=8
# Ports collection makefile for: ratfor
# Date created: Sat Aug 26, 2000
# Whom: David O'Brien (obrien@NUXI.com)
#
# $FreeBSD$
#
PORTNAME= ratfor
PORTVERSION= 1985.06
PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= ftp://sepftp.stanford.edu/pub/sep-distr/ \
${MASTER_SITE_LOCAL} \
http://sepwww.stanford.edu/sep/prof/
MASTER_SITE_SUBDIR= obrien
DISTFILES= ratfor.shar.2 local.ratfor77.shar
MAINTAINER= obrien@FreeBSD.org
COMMENT= Ratfor -- the Rational FORTRAN compiler
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${CAT}
EXTRACT_BEFORE_ARGS=
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
cd ${PREFIX}/bin ; ${LN} -sf ratfor77 ratfor
${INSTALL_MAN} ${WRKSRC}/ratfor.1 ${PREFIX}/man/man1
.include <bsd.port.mk>