summaryrefslogtreecommitdiffstats
path: root/lang/ratfor/Makefile
blob: fc8dee6f5c452832c77dbf9884f23577b4e9d636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Created by: David O'Brien (obrien@NUXI.com)
# $FreeBSD$

PORTNAME=	ratfor
PORTVERSION=	1985.06
PORTREVISION=	7
CATEGORIES=	lang
MASTER_SITES=	LOCAL/obrien \
		http://sepwww.stanford.edu/sep/prof/
DISTFILES=	ratfor.shar.2 local.ratfor77.shar

MAINTAINER=	bofh@FreeBSD.org
COMMENT=	Rational FORTRAN compiler

BROKEN_powerpc=	./ratfor -o test.f test.r keeps creating huge output file
BROKEN_powerpc64=	./ratfor -o test.f test.r keeps creating huge output file

NO_WRKSUBDIR=	yes
EXTRACT_CMD=	${CAT}
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=	| ${SH}
ALL_TARGET=	all tests
USES=		fortran

PLIST_FILES=	bin/ratfor bin/ratfor77 man/man1/ratfor.1.gz

post-patch:
	@${PATCH} -d ${WRKSRC} --quiet < ${WRKSRC}/testw.patch

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/ratfor77 ${STAGEDIR}${PREFIX}/bin
	${LN} -sf ${PREFIX}/bin/ratfor77 ${STAGEDIR}${PREFIX}/bin/ratfor
	${INSTALL_MAN} ${WRKSRC}/ratfor.1 ${STAGEDIR}${PREFIX}/man/man1

.include <bsd.port.mk>
OpenPOWER on IntegriCloud