diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-07-25 03:48:41 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-07-25 03:48:41 +0000 |
commit | c7c57e1eed2fa46901102b2323a5dc66dc0cac54 (patch) | |
tree | c78e5c08d3a9bcfe6157ab4cf4227057832c0d8e /devel/py-fortran | |
parent | 722cdcf100fdaeebbb7025b44d52342879710897 (diff) | |
download | ports-c7c57e1eed2fa46901102b2323a5dc66dc0cac54.tar.gz ports-c7c57e1eed2fa46901102b2323a5dc66dc0cac54.zip |
Notes
Diffstat (limited to 'devel/py-fortran')
-rw-r--r-- | devel/py-fortran/Makefile | 25 | ||||
-rw-r--r-- | devel/py-fortran/distinfo | 1 | ||||
-rw-r--r-- | devel/py-fortran/files/patch-configuration.py | 11 | ||||
-rw-r--r-- | devel/py-fortran/files/patch-fortran_compiler.py | 20 | ||||
-rw-r--r-- | devel/py-fortran/pkg-comment | 1 | ||||
-rw-r--r-- | devel/py-fortran/pkg-descr | 7 | ||||
-rw-r--r-- | devel/py-fortran/pkg-plist | 38 |
7 files changed, 103 insertions, 0 deletions
diff --git a/devel/py-fortran/Makefile b/devel/py-fortran/Makefile new file mode 100644 index 000000000000..50f454b9a186 --- /dev/null +++ b/devel/py-fortran/Makefile @@ -0,0 +1,25 @@ +# ex:ts=8 +# Ports collection makefile for: py-fortran +# Date created: Jul 24, 2002 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= fortran +PORTVERSION= 8.1 +CATEGORIES= devel python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= pyfortran +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= pyfort-${PORTVERSION} + +MAINTAINER= ports@FreeBSD.org + +RUN_DEPENDS= ${PYNUMERIC} + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +WRKSRC= ${WRKDIR}/${DISTNAME:S/p/P/} + +.include <bsd.port.mk> diff --git a/devel/py-fortran/distinfo b/devel/py-fortran/distinfo new file mode 100644 index 000000000000..a9357b4347c4 --- /dev/null +++ b/devel/py-fortran/distinfo @@ -0,0 +1 @@ +MD5 (pyfort-8.1.tar.gz) = 25b8a7765153af56e22f044bb88fc815 diff --git a/devel/py-fortran/files/patch-configuration.py b/devel/py-fortran/files/patch-configuration.py new file mode 100644 index 000000000000..010dcc2db666 --- /dev/null +++ b/devel/py-fortran/files/patch-configuration.py @@ -0,0 +1,11 @@ +--- configuration.py.orig Thu Jul 25 01:28:57 2002 ++++ configuration.py Thu Jul 25 01:30:22 2002 +@@ -19,6 +19,8 @@ + default_compiler = 'sgi' + elif sys.platform[0:6] == 'darwin': + default_compiler = 'fort77' ++elif sys.platform[0:7] == 'freebsd': ++ default_compiler = 'f77' + + # B. Set the suffix used for project directories + # This is added to the project name to produce the container directory diff --git a/devel/py-fortran/files/patch-fortran_compiler.py b/devel/py-fortran/files/patch-fortran_compiler.py new file mode 100644 index 000000000000..1a028ae63de7 --- /dev/null +++ b/devel/py-fortran/files/patch-fortran_compiler.py @@ -0,0 +1,20 @@ +--- fortran_compiler.py.orig Sat Jul 20 20:40:23 2002 ++++ fortran_compiler.py Thu Jul 25 11:43:52 2002 +@@ -574,6 +574,7 @@ + 'pgf77', + 'pgf90', + 'g77', ++ 'f77', + 'g77alpha', + 'sgi', + 'vf', +@@ -654,6 +655,9 @@ + + elif compiler_id == 'g77': + return G77Compiler() ++ ++ elif compiler_id == 'f77': ++ return F77Compiler() + + elif compiler_id == 'g77alpha': + return G77Compiler(typedict = alpha_typedict) diff --git a/devel/py-fortran/pkg-comment b/devel/py-fortran/pkg-comment new file mode 100644 index 000000000000..ef5ae4368427 --- /dev/null +++ b/devel/py-fortran/pkg-comment @@ -0,0 +1 @@ +Creating extensions to the Python language with Fortran routines diff --git a/devel/py-fortran/pkg-descr b/devel/py-fortran/pkg-descr new file mode 100644 index 000000000000..011d87eb862d --- /dev/null +++ b/devel/py-fortran/pkg-descr @@ -0,0 +1,7 @@ +Pyfort is a tool for connecting Fortran routines (and "Fortran-like" C) to +Python and its Numerical Python array extension. Pyfort translates an module +file that describes the routines you wish to access from Python into a C +language source file defining a Python module. Pyfort will also build and +install this extension into Python. + +WWW: http://pyfortran.sourceforge.net/ diff --git a/devel/py-fortran/pkg-plist b/devel/py-fortran/pkg-plist new file mode 100644 index 000000000000..a16f986cd9fb --- /dev/null +++ b/devel/py-fortran/pkg-plist @@ -0,0 +1,38 @@ +bin/pyfort +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/__init__.py +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/__init__.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/__init__.pyo +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/base.py +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/base.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/base.pyo +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/configuration.py +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/configuration.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/configuration.pyo +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/driver.py +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/driver.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/driver.pyo +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/fortran_compiler.py +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/fortran_compiler.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/fortran_compiler.pyo +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/generator.py +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/generator.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/generator.pyo +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/grammar.py +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/grammar.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/grammar.pyo +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/gui.py +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/gui.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/gui.pyo +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/project.py +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/project.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/project.pyo +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/semantics.py +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/semantics.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/semantics.pyo +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/spark.py +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/spark.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/spark.pyo +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/version.py +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/version.pyc +lib/%%PYTHON_VERSION%%/site-packages/Pyfort/version.pyo +@dirrm lib/%%PYTHON_VERSION%%/site-packages/Pyfort |