aboutsummaryrefslogtreecommitdiff
path: root/lang/ratfor/Makefile
blob: 3c13978b5f1f1f5894cf6b457a246216bb7b1e69 (plain) (blame)
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
36
37
38
39
40
PORTNAME=	ratfor
PORTVERSION=	1985.06
PORTREVISION=	16
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

LICENSE=	PD
LICENSE_FILE=	${WRKSRC}/README

BROKEN_aarch64=		./ratfor -o test.f test.r keeps creating huge output file
BROKEN_armv6=		./ratfor -o test.f test.r keeps creating huge output file
BROKEN_armv7=		./ratfor -o test.f test.r keeps creating huge output file
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
BROKEN_powerpc64le=	./ratfor -o test.f test.r keeps creating huge output file
BROKEN_powerpcspe=	./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 share/man/man1/ratfor.1.gz

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

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

.include <bsd.port.mk>