1999-04-24 22:33:15 +00:00
|
|
|
# Ports collection makefile for: f2c-freebsd
|
|
|
|
# Date created: 28 DEC 1998
|
|
|
|
# Whom: Steven G. Kargl
|
|
|
|
#
|
1999-08-25 06:35:40 +00:00
|
|
|
# $FreeBSD$
|
1999-04-24 22:33:15 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 06:21:15 +00:00
|
|
|
PORTNAME= f2c
|
2001-01-07 15:03:01 +00:00
|
|
|
PORTVERSION= 3.0.0
|
1999-04-24 22:33:15 +00:00
|
|
|
CATEGORIES= lang
|
|
|
|
MASTER_SITES= ftp://troutmask.apl.washington.edu/pub/
|
2001-01-07 15:03:01 +00:00
|
|
|
DISTNAME= f2c-freebsd.3.0.0
|
1999-04-24 22:33:15 +00:00
|
|
|
|
|
|
|
MAINTAINER= kargl@troutmask.apl.washington.edu
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if (${ARCH} == "alpha")
|
|
|
|
pre-configure:
|
1999-08-22 23:33:47 +00:00
|
|
|
@${CP} ${FILESDIR}/f2c.h.alpha ${WRKSRC}/f2c/f2c.h
|
1999-04-24 22:33:15 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
ALL_TARGET= depend all
|
|
|
|
|
|
|
|
MAN1= f2c.1
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/f2c/f2c ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/f2c/f2c.h ${PREFIX}/include
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/f2c/f2c.1 ${PREFIX}/man/man1
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libf2c/libf2c.* ${PREFIX}/lib
|
|
|
|
${LN} -sf libf2c.so.2 ${PREFIX}/lib/libf2c.so
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${LDCONFIG} -m ${PREFIX}/lib
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|