aboutsummaryrefslogtreecommitdiff
path: root/lang/f77
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-04-24 22:50:24 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-04-24 22:50:24 +0000
commitbbbfbf9e10b985a1560aa74f75c93c08d1ac4069 (patch)
treeedcf7ca5d5f520b5766adf611e6fbcc89f06af44 /lang/f77
parent9da570befc8309a841424bcdfd13e4eddf8f1b77 (diff)
downloadports-bbbfbf9e10b985a1560aa74f75c93c08d1ac4069.tar.gz
ports-bbbfbf9e10b985a1560aa74f75c93c08d1ac4069.zip
Notes
Diffstat (limited to 'lang/f77')
-rw-r--r--lang/f77/Makefile48
-rw-r--r--lang/f77/distinfo1
-rw-r--r--lang/f77/pkg-comment1
-rw-r--r--lang/f77/pkg-descr8
-rw-r--r--lang/f77/pkg-plist1
5 files changed, 59 insertions, 0 deletions
diff --git a/lang/f77/Makefile b/lang/f77/Makefile
new file mode 100644
index 000000000000..3d289d1dc526
--- /dev/null
+++ b/lang/f77/Makefile
@@ -0,0 +1,48 @@
+# Ports collection makefile for: f77-freebsd
+# Version required: 0.3
+# Date created: 19 JAN 1999
+# Whom: Steven G. Kargl
+#
+# $Id$
+#
+
+DISTNAME= f77-freebsd.0.3
+PKGNAME= f77-0.3
+CATEGORIES= lang
+MASTER_SITES= ftp://troutmask.apl.washington.edu/pub/
+
+MAINTAINER= kargl@troutmask.apl.washington.edu
+
+.ifdef GNU_CPP
+RUN_DEPENDS= ${PREFIX}/bin/f2c:${PORTSDIR}/lang/f2c
+.else
+RUN_DEPENDS= ${PREFIX}/bin/fpp:${PORTSDIR}/devel/fpp \
+ ${PREFIX}/bin/f2c:${PORTSDIR}/lang/f2c
+.endif
+
+# Set F77NAME to the name of the Fortran 77 wrapper.
+F77NAME= fc
+
+.ifdef GNU_CPP
+MAKE_ARGS= "CFLAGS= ${CFLAGS} -DPP_COMMAND='\"/usr/bin/cpp\"' \
+ -DF2C_COMMAND='\"${PREFIX}/bin/f2c\"'"
+.else
+MAKE_ARGS= "CFLAGS= ${CFLAGS} -DSUN_FPP \
+ -DPP_COMMAND='\"${PREFIX}/bin/fpp\"' \
+ -DF2C_COMMAND='\"${PREFIX}/bin/f2c\"'"
+.endif
+
+.include <bsd.port.pre.mk>
+
+ALL_TARGET= depend all
+
+MAN1= ${F77NAME}.1
+
+do-install:
+ @echo 'bin/${F77NAME}' > ${PKGDIR}/PLIST
+ ${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.post.mk>
diff --git a/lang/f77/distinfo b/lang/f77/distinfo
new file mode 100644
index 000000000000..ca5c56c892e6
--- /dev/null
+++ b/lang/f77/distinfo
@@ -0,0 +1 @@
+MD5 (f77-freebsd.0.3.tar.gz) = c5b7cc72f120c1ae2fe01e6628116f1a
diff --git a/lang/f77/pkg-comment b/lang/f77/pkg-comment
new file mode 100644
index 000000000000..bbb26e06a2a4
--- /dev/null
+++ b/lang/f77/pkg-comment
@@ -0,0 +1 @@
+Fortran 77 driver utility for f2c and gcc
diff --git a/lang/f77/pkg-descr b/lang/f77/pkg-descr
new file mode 100644
index 000000000000..bd853e2baaa6
--- /dev/null
+++ b/lang/f77/pkg-descr
@@ -0,0 +1,8 @@
+f77 is a driver utility for f2c and gcc. By default, f77 will
+install and use Sun microsystem's fpp Fortran 77 preprocessor;
+the driver can be built to use cpp instead. The driver recognizes
+all f2c and fpp (or cpp) options that could be used in the context
+of compiling Fortran 77 source code.
+
+Steve
+kargl@troutmask.apl.washington.edu
diff --git a/lang/f77/pkg-plist b/lang/f77/pkg-plist
new file mode 100644
index 000000000000..b03b441f1909
--- /dev/null
+++ b/lang/f77/pkg-plist
@@ -0,0 +1 @@
+bin/fc