head	1.14;
access;
symbols
	RELEASE_8_3_0:1.13
	RELEASE_9_0_0:1.13
	RELEASE_7_4_0:1.13
	RELEASE_8_2_0:1.13
	RELEASE_6_EOL:1.13
	RELEASE_8_1_0:1.13
	RELEASE_7_3_0:1.13
	RELEASE_8_0_0:1.13
	RELEASE_7_2_0:1.13
	RELEASE_7_1_0:1.13
	RELEASE_6_4_0:1.13
	RELEASE_5_EOL:1.13
	RELEASE_7_0_0:1.13
	RELEASE_6_3_0:1.13
	PRE_XORG_7:1.13
	RELEASE_4_EOL:1.13
	RELEASE_6_2_0:1.13
	RELEASE_6_1_0:1.12
	RELEASE_5_5_0:1.12
	RELEASE_6_0_0:1.12
	RELEASE_5_4_0:1.12
	RELEASE_4_11_0:1.12
	RELEASE_5_3_0:1.12
	RELEASE_4_10_0:1.12
	RELEASE_5_2_1:1.12
	RELEASE_5_2_0:1.12
	RELEASE_4_9_0:1.12
	RELEASE_5_1_0:1.11
	RELEASE_4_8_0:1.11
	RELEASE_5_0_0:1.10
	RELEASE_4_7_0:1.8
	RELEASE_4_6_2:1.8
	RELEASE_4_6_1:1.8
	RELEASE_4_6_0:1.8
	RELEASE_5_0_DP1:1.8
	RELEASE_4_5_0:1.7
	RELEASE_4_4_0:1.6
	RELEASE_4_3_0:1.6
	RELEASE_4_2_0:1.6
	RELEASE_4_1_1:1.6
	RELEASE_4_1_0:1.6
	RELEASE_3_5_0:1.6
	RELEASE_4_0_0:1.4
	RELEASE_3_4_0:1.4
	RELEASE_3_3_0:1.4
	RELEASE_3_2_0:1.2
	f77_0_3:1.1.1.1
	KARGL:1.1.1;
locks; strict;
comment	@# @;


1.14
date	2012.11.17.05.58.49;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2006.07.28.21.52.44;	author thierry;	state Exp;
branches;
next	1.12;

1.12
date	2003.07.05.19.01.41;	author marcus;	state Exp;
branches;
next	1.11;

1.11
date	2003.02.20.18.37.57;	author knu;	state Exp;
branches;
next	1.10;

1.10
date	2002.11.10.16.46.50;	author lioux;	state Exp;
branches;
next	1.9;

1.9
date	2002.11.06.22.45.48;	author adamw;	state Exp;
branches;
next	1.8;

1.8
date	2002.01.29.11.24.07;	author knu;	state Exp;
branches;
next	1.7;

1.7
date	2001.12.01.00.59.35;	author lioux;	state Exp;
branches;
next	1.6;

1.6
date	2000.05.29.02.40.24;	author steve;	state Exp;
branches;
next	1.5;

1.5
date	2000.04.12.06.18.26;	author obrien;	state Exp;
branches;
next	1.4;

1.4
date	99.08.27.22.29.34;	author mharo;	state Exp;
branches;
next	1.3;

1.3
date	99.08.25.06.34.33;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	99.05.11.07.27.03;	author asami;	state Exp;
branches;
next	1.1;

1.1
date	99.04.24.22.50.24;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	99.04.24.22.50.24;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.14
log
@Switch exporter over
@
text
@# Ports collection makefile for:	f77-freebsd
# Date created:				19 JAN 1999
# Whom:					Steven G. Kargl
#
# $FreeBSD: head/lang/f77/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	f77
PORTVERSION=	0.3
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	lioux
DISTNAME=	f77-freebsd.0.3

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	Fortran 77 driver utility for f2c and gcc

.ifdef GNU_CPP
RUN_DEPENDS=	${LOCALBASE}/bin/f2c:${PORTSDIR}/lang/f2c
.else
RUN_DEPENDS=	${LOCALBASE}/bin/fpp:${PORTSDIR}/devel/fpp \
		${LOCALBASE}/bin/f2c:${PORTSDIR}/lang/f2c
.endif

# Set F77NAME to the name of the Fortran 77 wrapper.
F77NAME=	ftn77

.ifdef GNU_CPP
MAKE_ARGS=	"CFLAGS= ${CFLAGS} -DPP_COMMAND='\"${CPP}\"' \
		-DF2C_COMMAND='\"${LOCALBASE}/bin/f2c\"'"
.else
MAKE_ARGS=	"CFLAGS= ${CFLAGS} -DSUN_FPP \
		-DPP_COMMAND='\"${LOCALBASE}/bin/fpp\"' \
		-DF2C_COMMAND='\"${LOCALBASE}/bin/f2c\"'"
.endif

ALL_TARGET=	depend all
MAN1=		${F77NAME}.1
PLIST_FILES=	bin/${F77NAME}

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/f77 ${PREFIX}/bin/${F77NAME}
	@@${SED} -e 's/F77/${F77NAME}/g' -e 's/f77/${F77NAME}/g' \
	${WRKSRC}/f77.1  > ${WRKSRC}/${F77NAME}.1
	${INSTALL_MAN} ${WRKSRC}/${F77NAME}.1 ${PREFIX}/man/man1

.include <bsd.port.mk>
@


1.13
log
@- Remove the ancient pkg-plist: this port does not install f2c, and it
  may be confusing;

- Use PLIST_FILES;

- Switch PREFIX / LOCALBASE.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.12
log
@Generate plist either statically or before do-install phase for
compatibility with upcoming bsd.port.mk patches.

Submitted by:	Sergey Matveychuk <sem@@ciam.ru>
@
text
@d19 1
a19 1
RUN_DEPENDS=	${PREFIX}/bin/f2c:${PORTSDIR}/lang/f2c
d21 2
a22 2
RUN_DEPENDS=	${PREFIX}/bin/fpp:${PORTSDIR}/devel/fpp \
		${PREFIX}/bin/f2c:${PORTSDIR}/lang/f2c
d29 2
a30 2
MAKE_ARGS=	"CFLAGS= ${CFLAGS} -DPP_COMMAND='\"/usr/bin/cpp\"' \
		-DF2C_COMMAND='\"${PREFIX}/bin/f2c\"'"
d33 2
a34 2
		-DPP_COMMAND='\"${PREFIX}/bin/fpp\"' \
		-DF2C_COMMAND='\"${PREFIX}/bin/f2c\"'"
d39 1
a39 4
PLIST=		${WRKDIR}/PLIST

pre-install:
	@@${ECHO_CMD} 'bin/${F77NAME}' > ${PLIST}
@


1.11
log
@De-pkg-comment.
@
text
@d41 3
a44 1
	@@${ECHO_CMD} 'bin/${F77NAME}' > ${PLIST}
@


1.10
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d16 1
@


1.9
log
@Use PORTCOMMENT in the Makefile, and whack the pkg-comment.

Approved by:	pat
@
text
@a16 2
PORTCOMMENT=	Fortran 77 driver utility for f2c and gcc

@


1.8
log
@Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.

Use command macros where appropriate.
@
text
@d17 2
@


1.7
log
@o Return maintainer to ports
o House distfile under MASTER_SITE_LOCAL since it is no
  longer available anywhere else

PR:		32416
Submitted by:	maintainer
@
text
@d41 1
a41 1
	@@${ECHO} 'bin/${F77NAME}' > ${PLIST}
@


1.6
log
@Avoid name clash with system f77 by renaming executable to ftn77.

PR:		18839
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/f77/Makefile,v 1.5 2000/04/12 06:18:26 obrien Exp $
d11 2
a12 1
MASTER_SITES=	ftp://troutmask.apl.washington.edu/pub/
d15 1
a15 1
MAINTAINER=	kargl@@troutmask.apl.washington.edu
@


1.5
log
@Convert to the PORTNAME - PORTVERSION syntax.
@
text
@d5 1
a5 1
# $FreeBSD: ports/lang/f77/Makefile,v 1.4 1999/08/27 22:29:34 mharo Exp $
d24 1
a24 1
F77NAME=	fc
@


1.4
log
@echo -> ${ECHO} or ${ECHO_MSG}  and in some cases, move echo stuff
to pkg/MESSAGE and use ${CAT} ${PKGMESSAGE}
@
text
@a1 1
# Version required: 			0.3
d5 1
a5 1
# $FreeBSD: ports/lang/f77/Makefile,v 1.3 1999/08/25 06:34:33 obrien Exp $
d8 2
a9 2
DISTNAME=	f77-freebsd.0.3
PKGNAME=	f77-0.3
d12 1
@


1.3
log
@Change Id->FreeBSD.
@
text
@d6 1
a6 1
# $FreeBSD$
d40 1
a40 1
	@@echo 'bin/${F77NAME}' > ${PLIST}
@


1.2
log
@Don't write to ${PKGDIR}/PLIST.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1999/04/24 22:50:24 obrien Exp $
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id$
d35 1
a35 4
.include <bsd.port.pre.mk>

ALL_TARGET=   depend all

d37 1
d40 1
a40 1
	@@echo 'bin/${F77NAME}' > ${PKGDIR}/PLIST
d46 1
a46 1
.include <bsd.port.post.mk>
@


1.1.1.1
log
@driver utility for f2c and gcc

PR:		ports/11220
Submitted by:	Steven G. Kargl <kargl@@troutmask.apl.washington.edu>
@
text
@@
