diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 1999-04-24 22:33:15 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 1999-04-24 22:33:15 +0000 |
commit | 9da570befc8309a841424bcdfd13e4eddf8f1b77 (patch) | |
tree | 09b205e923869ccdbec57a2cebdcc91335d5f6ce /lang/f2c/Makefile | |
parent | abe5dee8d19ee9cb2470d2ea61e9f7073e0cd479 (diff) | |
download | ports-9da570befc8309a841424bcdfd13e4eddf8f1b77.tar.gz ports-9da570befc8309a841424bcdfd13e4eddf8f1b77.zip |
Notes
Diffstat (limited to 'lang/f2c/Makefile')
-rw-r--r-- | lang/f2c/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/lang/f2c/Makefile b/lang/f2c/Makefile new file mode 100644 index 000000000000..f0ab50fcdc6f --- /dev/null +++ b/lang/f2c/Makefile @@ -0,0 +1,37 @@ +# Ports collection makefile for: f2c-freebsd +# Version required: 2.0.1 +# Date created: 28 DEC 1998 +# Whom: Steven G. Kargl +# +# $Id$ +# + +DISTNAME= f2c-freebsd.2.0.1 +PKGNAME= f2c-2.0.1 +CATEGORIES= lang +MASTER_SITES= ftp://troutmask.apl.washington.edu/pub/ + +MAINTAINER= kargl@troutmask.apl.washington.edu + +.include <bsd.port.pre.mk> + +.if (${ARCH} == "alpha") +pre-configure: + @cp ${FILESDIR}/f2c.h.alpha ${WRKSRC}/f2c/f2c.h +.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> |