blob: c8177c309634194a7d9dd03a1d380cf1d71ff0c9 (
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
|
# 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= 2
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
USE_FORTRAN= yes
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>
|