summaryrefslogtreecommitdiff
path: root/lang/f2c/Makefile
blob: 27fc1b06363e52384ae1efbe6baf66bc51562865 (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
# $NetBSD: Makefile,v 1.8 2000/01/09 01:19:09 wiz Exp $

DISTNAME=	f2c-19991025
PKGNAME=	f2c-19991025p1
WRKSRC=		${WRKDIR}/f2c
CATEGORIES=	lang
MASTER_SITES=	${MASTER_SITE_LOCAL}

MAINTAINER=	dmcmahill@netbsd.org
HOMEPAGE=	http://www.netlib.org/f2c/index.html

CONFLICTS=	egcs-current-19980608

post-extract::
	@${RM} ${WRKSRC}/index.html
	@${GUNZIP_CMD} ${WRKSRC}/*.gz
	@cd ${WRKSRC} ; ${SH} libf77 ; ${SH} libi77
	@${RM} ${WRKSRC}/src/index.html
	@${MV} ${WRKSRC}/src/.depend  ${WRKSRC}/src/depend.orig
	@${GUNZIP_CMD} ${WRKSRC}/src/*.gz

post-patch::
	@cd ${WRKSRC} ; ${CC} -o chktypes chktypes.c
	${WRKSRC}/chktypes
	@${CP} ${WRKSRC}/f2c.h ${WRKSRC}/libF77/f2c.h
	@${CP} ${WRKSRC}/f2c.h ${WRKSRC}/libI77/f2c.h

.include "../../mk/bsd.pkg.mk"