diff options
author | gahr <gahr@FreeBSD.org> | 2008-12-05 21:30:06 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2008-12-05 21:30:06 +0800 |
commit | b66cff872a7d5be4e681240f19318763cb08c73f (patch) | |
tree | 8298fb17f70f866fec86d3bb3fe578be7ea00a01 /lang | |
parent | 82d7692a66f67c558079b17faf417fc88a937a35 (diff) | |
download | freebsd-ports-gnome-b66cff872a7d5be4e681240f19318763cb08c73f.tar.gz freebsd-ports-gnome-b66cff872a7d5be4e681240f19318763cb08c73f.tar.zst freebsd-ports-gnome-b66cff872a7d5be4e681240f19318763cb08c73f.zip |
- New port: lang/cfortran
cfortran.h is an easy-to-use powerful bridge between C and FORTRAN.
It provides a transparent, machine independent interface between
C and FORTRAN routines and global data.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/cfortran/Makefile | 41 | ||||
-rw-r--r-- | lang/cfortran/distinfo | 12 | ||||
-rw-r--r-- | lang/cfortran/files/patch-cfortran.h | 21 | ||||
-rw-r--r-- | lang/cfortran/pkg-descr | 5 | ||||
-rw-r--r-- | lang/cfortran/pkg-plist | 173 |
6 files changed, 253 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index 89e08bca146c..06d3183e6874 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -22,6 +22,7 @@ SUBDIR += caml-light SUBDIR += ccscript SUBDIR += cduce + SUBDIR += cfortran SUBDIR += chameleon SUBDIR += chicken SUBDIR += cim diff --git a/lang/cfortran/Makefile b/lang/cfortran/Makefile new file mode 100644 index 000000000000..1c2d170a783a --- /dev/null +++ b/lang/cfortran/Makefile @@ -0,0 +1,41 @@ +# New ports collection Makefile for: cfortran +# Date created: 5 December 2008 +# Whom: gahr +# +# $FreeBSD$ +# + +PORTNAME= cfortran +PORTVERSION= 4.3 +CATEGORIES= lang +MASTER_SITES= http://www-zeus.desy.de/~burow/cfortran/ +DISTFILES= cfortran.h \ + cfortran.html \ + cfortran.doc \ + cfortran.examples.tar.gz +EXTRACT_ONLY= # none + +MAINTAINER= gahr@FreeBSD.org +COMMENT= An easy-to-use powerful bridge between C and FORTRAN + +NO_BUILD= yes +WRKSRC= ${WRKDIR} + +post-extract: +.for dfile in ${DISTFILES} + ${CP} ${DISTDIR}/${dfile} ${WRKDIR} +.endfor + +do-install: + ${INSTALL_DATA} ${WRKDIR}/cfortran.h ${PREFIX}/include +.if !defined(NOPORTDOCS) + ${INSTALL} -d ${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/cfortran.html ${DOCSDIR} + ${INSTALL_DATA} ${WRKDIR}/cfortran.doc ${DOCSDIR} +.endif +.if !defined(NOPORTEXAMPLES) + ${INSTALL} -d ${EXAMPLESDIR} + ${TAR} --strip-components 1 -xf ${WRKDIR}/cfortran.examples.tar.gz -C ${EXAMPLESDIR} +.endif + +.include <bsd.port.mk> diff --git a/lang/cfortran/distinfo b/lang/cfortran/distinfo new file mode 100644 index 000000000000..68fbf5f777e7 --- /dev/null +++ b/lang/cfortran/distinfo @@ -0,0 +1,12 @@ +MD5 (cfortran.h) = 9584ad8f63c417c13109f53034d3fb79 +SHA256 (cfortran.h) = 6006fe2714e698a879198e8d8fe93c4e7f76248b8cc5310bead4f37701ac9340 +SIZE (cfortran.h) = 126566 +MD5 (cfortran.html) = 3ca264b614878723f5ba7e83b8f2b6c8 +SHA256 (cfortran.html) = e5b92848931197524e9e9c775915e04eb65612d7554d395041d65d8cd8fb7e6a +SIZE (cfortran.html) = 108812 +MD5 (cfortran.doc) = 15fcd35aaf742c6cc192a9dda1458c36 +SHA256 (cfortran.doc) = f5c307cd176ef9aa4b1264ba571755c04fcac2573fa110c8e5f1b68f322817c9 +SIZE (cfortran.doc) = 94082 +MD5 (cfortran.examples.tar.gz) = d346b3ffa8fe3220de01690e769b1af7 +SHA256 (cfortran.examples.tar.gz) = e7799551cf92e20b6dceb50248ef36aafed519ca564ffe2c7fbe43c39ce46f57 +SIZE (cfortran.examples.tar.gz) = 16435 diff --git a/lang/cfortran/files/patch-cfortran.h b/lang/cfortran/files/patch-cfortran.h new file mode 100644 index 000000000000..1bc177da6792 --- /dev/null +++ b/lang/cfortran/files/patch-cfortran.h @@ -0,0 +1,21 @@ +--- cfortran.h.orig 2008-12-05 13:51:41.000000000 +0100 ++++ cfortran.h 2008-12-05 13:55:07.000000000 +0100 +@@ -129,7 +129,8 @@ + /* Split #if into 2 because some HP-UX can't handle long #if */ + #if !(defined(NAGf90Fortran)||defined(f2cFortran)||defined(hpuxFortran)||defined(apolloFortran)||defined(sunFortran)||defined(IBMR2Fortran)||defined(CRAYFortran)) + #if !(defined(mipsFortran)||defined(DECFortran)||defined(vmsFortran)||defined(CONVEXFortran)||defined(PowerStationFortran)||defined(AbsoftUNIXFortran)||defined(AbsoftProFortran)||defined(SXFortran)) +-/* If your compiler barfs on ' #error', replace # with the trigraph for # */ ++#define f2cFortran ++/* If your compiler barfs on ' #error', replace # with the trigraph for # + #error "cfortran.h: Can't find your environment among:\ + - MIPS cc and f77 2.0. (e.g. Silicon Graphics, DECstations, ...) \ + - IBM AIX XL C and FORTRAN Compiler/6000 Version 01.01.0000.0000 \ +@@ -152,7 +153,7 @@ + - Absoft UNIX F77: Use #define AbsoftUNIXFortran or cc -DAbsoftUNIXFortran \ + - Absoft Pro Fortran: Use #define AbsoftProFortran \ + - Portland Group Fortran: Use #define pgiFortran" +-/* Compiler must throw us out at this point! */ ++ Compiler must throw us out at this point! */ + #endif + #endif + diff --git a/lang/cfortran/pkg-descr b/lang/cfortran/pkg-descr new file mode 100644 index 000000000000..e8fc330290e8 --- /dev/null +++ b/lang/cfortran/pkg-descr @@ -0,0 +1,5 @@ +cfortran.h is an easy-to-use powerful bridge between C and FORTRAN. +It provides a transparent, machine independent interface between +C and FORTRAN routines and global data. + +WWW: http://www-zeus.desy.de/~burow/cfortran/ diff --git a/lang/cfortran/pkg-plist b/lang/cfortran/pkg-plist new file mode 100644 index 000000000000..8e15327ca561 --- /dev/null +++ b/lang/cfortran/pkg-plist @@ -0,0 +1,173 @@ +include/cfortran.h +%%PORTDOCS%%%%DOCSDIR%%/cfortran.html +%%PORTDOCS%%%%DOCSDIR%%/cfortran.doc +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/abc/abc.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/abc/abc.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/abc/abc_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cf14/cf14.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cf14/cf14.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/cf14/cf14_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/e2/e2.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/e2/e2.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/e2/e2_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/easy/easy.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/easy/easy.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/easy/easy_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eq/eq.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eq/eq.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/eq/eq_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/f0/f0.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/f0/f0.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/f0/f0_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/f20/f20.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/f20/f20.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/f20/f20_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/f27/f27.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/f27/f27.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/f27/f27_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fa/fa.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fa/fa.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fa/fa_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fand/fand.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fand/fand.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fand/fand_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fb/fb.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fb/fb.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fb/fb_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fc/fc.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fc/fc.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fc/fc_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fcb/fcb.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fcb/fcb.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fcb/fcb_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fd/fd.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fd/fd.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fd/fd_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fe/fe.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fe/fe.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fe/fe_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ff/ff.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ff/ff.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ff/ff_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fg/fg.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fg/fg.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fg/fg_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fh/fh.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fh/fh.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fh/fh_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fi/fi.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fi/fi.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fi/fi_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fj/fj.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fj/fj.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fj/fj_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fk/fk.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fk/fk.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fk/fk_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fl/fl.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fl/fl.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fl/fl_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fm/fm.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fm/fm.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fm/fm_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fn/fn.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fn/fn.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fn/fn_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/forr/forr.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/forr/forr.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/forr/forr_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fstr/fstr.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fstr/fstr.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fstr/fstr_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ft/ft.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ft/ft.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ft/ft_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fun/fun.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fun/fun.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fun/fun_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fz/fz.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fz/fz.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fz/fz_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pz/pz.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pz/pz.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pz/pz_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/q/q.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/q/q.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/q/q_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rev/rev.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rev/rev.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rev/rev_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rr/rr.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rr/rr.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rr/rr_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ss1/ss1.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ss1/ss1.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/ss1/ss1_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/strtok/strtok.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/strtok/strtok.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/strtok/strtok_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sub/sub.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sub/sub.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sub/sub_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/subt/subt.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/subt/subt.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/subt/subt_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sz/sz.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sz/sz.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sz/sz_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sz1/sz1.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sz1/sz1.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sz1/sz1_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/user/user.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/user/user.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/user/user_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/v7/v7.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/v7/v7.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/v7/v7_f.f +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vv/vv.C +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vv/vv.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/vv/vv_f.f +%%PORTDOCS%%@dirrm %%DOCSDIR%% +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/vv +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/v7 +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/user +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/sz1 +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/sz +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/subt +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/sub +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/strtok +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/ss1 +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/rr +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/rev +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/q +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/pz +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fz +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fun +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/ft +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fstr +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/forr +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fn +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fm +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fl +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fk +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fj +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fi +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fh +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fg +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/ff +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fe +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fd +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fcb +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fc +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fb +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fand +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/fa +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/f27 +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/f20 +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/f0 +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/eq +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/easy +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/e2 +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/cf14 +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/abc +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% |