aboutsummaryrefslogtreecommitdiff
path: root/lang/ratfor/Makefile
blob: d5e9ed6585b43e7a64cbf28cb54a0b1e386b9248 (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
# 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
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

post-patch:
	@cd ${WRKSRC} ; ${PATCH} --quiet < testw.patch

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>