diff options
Diffstat (limited to 'lang')
-rw-r--r-- | lang/vast_f90/Makefile | 66 | ||||
-rw-r--r-- | lang/vast_f90/files/md5 | 3 | ||||
-rw-r--r-- | lang/vast_f90/files/patch-sum | 3 | ||||
-rw-r--r-- | lang/vast_f90/patches/patch-aa | 150 | ||||
-rw-r--r-- | lang/vast_f90/pkg/COMMENT | 1 | ||||
-rw-r--r-- | lang/vast_f90/pkg/DESCR | 7 | ||||
-rw-r--r-- | lang/vast_f90/pkg/MESSAGE | 10 | ||||
-rw-r--r-- | lang/vast_f90/pkg/PLIST | 24 |
8 files changed, 264 insertions, 0 deletions
diff --git a/lang/vast_f90/Makefile b/lang/vast_f90/Makefile new file mode 100644 index 00000000000..d84dfca46a1 --- /dev/null +++ b/lang/vast_f90/Makefile @@ -0,0 +1,66 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/09/16 13:35:34 wennmach Exp $ +# + +DISTNAME= vf90_per +PKGNAME= vast_f90-3.4N5 +CATEGORIES= lang emulators +MASTER_SITES= ftp://ftp.psrv.com/vast/vastf90/linux-x86/ +EXTRACT_SUFX= .tar + +MAINTAINER= wennmach@netbsd.org +HOMEPAGE= http://www.psrv.com/lnxf90.html + +ONLY_FOR_PLATFORM= NetBSD-*-i386 + +NO_BUILD= yes + +EMULSUBDIR= emul/linux +EMULDIR= ${PREFIX}/${EMULSUBDIR} +BINDIR= ${PREFIX}/bin +MANDIR= ${PREFIX}/man/cat1 +DOCDIR= ${PREFIX}/share/doc/vast_f90 + +LICENSE= fee-based-commercial-use + +EXTRACT_CMD= ${MKDIR} ${DISTNAME}; tar xf ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX} -C ${DISTNAME} +UNCOMPRESS= /usr/bin/uncompress + +.include "../../mk/bsd.prefs.mk" + +.if !exists(/emul/linux/usr/bin/g77) +IGNORE= requires Linux toolchain as provided e. g. by emulators/suse_devel +.endif + +do-install: + ${UNCOMPRESS} ${WRKDIR}/${DISTNAME}/f90.Z + ${UNCOMPRESS} ${WRKDIR}/${DISTNAME}/vf90.Z + ${UNCOMPRESS} ${WRKDIR}/${DISTNAME}/libvast90.a.Z + ${UNCOMPRESS} ${WRKDIR}/${DISTNAME}/90to77.ps.Z + ${INSTALL} -m 755 -g wheel -o root ${WRKDIR}/${DISTNAME}/f90 ${EMULDIR}/usr/bin + ${INSTALL} -m 755 -g wheel -o root ${WRKDIR}/${DISTNAME}/vf90 ${EMULDIR}/usr/bin + ${INSTALL} -m 644 -g wheel -o root ${WRKDIR}/${DISTNAME}/libvast90.a ${EMULDIR}/usr/lib + -${MKDIR} ${EMULDIR}/usr/man/cat1 + ${INSTALL} -m 644 -g wheel -o root ${WRKDIR}/${DISTNAME}/f90.0 ${EMULDIR}/usr/man/cat1 + ${MKDIR} ${EMULDIR}/usr/share/doc/vast_f90 + ${INSTALL} -m 644 -g wheel -o root ${WRKDIR}/${DISTNAME}/90to77.ps ${EMULDIR}/usr/share/doc/vast_f90 + ${INSTALL} -m 644 -g wheel -o root ${WRKDIR}/${DISTNAME}/LICENSE ${EMULDIR}/usr/share/doc/vast_f90 + ${INSTALL} -m 644 -g wheel -o root ${WRKDIR}/${DISTNAME}/README ${EMULDIR}/usr/share/doc/vast_f90 + ${INSTALL} -m 644 -g wheel -o root ${WRKDIR}/${DISTNAME}/restrict.txt ${EMULDIR}/usr/share/doc/vast_f90 + ${INSTALL} -m 644 -g wheel -o root ${WRKDIR}/${DISTNAME}/vastf90.pdf ${EMULDIR}/usr/share/doc/vast_f90 + ${INSTALL} -m 644 -g wheel -o root ${WRKDIR}/${DISTNAME}/versions.txt ${EMULDIR}/usr/share/doc/vast_f90 + + -${MKDIR} ${BINDIR} + ${LN} -fs ${EMULDIR}/usr/bin/f90 ${BINDIR}/f90 + ${LN} -fs ${EMULDIR}/usr/bin/vf90 ${BINDIR}/vf90 + -${MKDIR} ${MANDIR} + ${LN} -fs ${EMULDIR}/usr/man/cat1/f90.0 ${MANDIR}/f90.0 + ${LN} -fs ${EMULDIR}/usr/man/cat1/f90.0 ${MANDIR}/vf90.0 + ${MKDIR} ${DOCDIR} + ${LN} -fs ${EMULDIR}/usr/share/doc/vast_f90/90to77.ps ${DOCDIR}/90to77.ps + ${LN} -fs ${EMULDIR}/usr/share/doc/vast_f90/LICENSE ${DOCDIR}/LICENSE + ${LN} -fs ${EMULDIR}/usr/share/doc/vast_f90/README ${DOCDIR}/README + ${LN} -fs ${EMULDIR}/usr/share/doc/vast_f90/restrict.txt ${DOCDIR}/restrict.txt + ${LN} -fs ${EMULDIR}/usr/share/doc/vast_f90/vastf90.pdf ${DOCDIR}/vastf90.pdf + ${LN} -fs ${EMULDIR}/usr/share/doc/vast_f90/versions.txt ${DOCDIR}/versions.txt + +.include "../../mk/bsd.pkg.mk" diff --git a/lang/vast_f90/files/md5 b/lang/vast_f90/files/md5 new file mode 100644 index 00000000000..f6ed369fbde --- /dev/null +++ b/lang/vast_f90/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/09/16 13:35:34 wennmach Exp $ + +MD5 (vf90_per.tar) = 682c06abdfea034894b2f6681108bb5b diff --git a/lang/vast_f90/files/patch-sum b/lang/vast_f90/files/patch-sum new file mode 100644 index 00000000000..3a48784aca8 --- /dev/null +++ b/lang/vast_f90/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 1999/09/16 13:35:34 wennmach Exp $ + +MD5 (patch-aa) = e4a0a5abd57b8cf06b409b68cd29694f diff --git a/lang/vast_f90/patches/patch-aa b/lang/vast_f90/patches/patch-aa new file mode 100644 index 00000000000..430fa3bbac7 --- /dev/null +++ b/lang/vast_f90/patches/patch-aa @@ -0,0 +1,150 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/09/16 13:35:34 wennmach Exp $ + +--- /dev/null Thu Aug 26 16:32:52 1999 ++++ f90.0 Thu Aug 26 16:55:13 1999 +@@ -0,0 +1,145 @@ ++ ++NAME ++ f90 - Fortran 90 Compiler ++ Fortran 90 to Fortran 77 Translator ++ Version 3.4 M (1.03.9) ++ ++USAGE ++ f90 [<f90_option>]... [<g77_option>]... ++ [-Wv,<v_option>[,<v_option>]...] [files] ++ ++DESCRIPTION ++ The f90 command compiles Fortran 90 files by invoking ++ the vf90 precompiler and the g77 Fortran compiler. ++ ++ Most g77 compiler options are accepted by f90. ++ Options to vf90 may be passed using the -Wv "hand off" option. ++ ++ Input files for f90 may be one or more of the following: ++ ++ 1. filename with a .f90 suffix: free format Fortran 90 source file. ++ 2. filename with a .f suffix: fixed format Fortran 90 source file. ++ 3. filename with a .m suffix: Fortran 90 module file. ++ 4. filename with a .s suffix: assembler source file. ++ 5. filename with a .o suffix: object file. ++ 6. filename with a .a suffix: archive file. ++ ++Options: ++ -c suppress the link editing phase of the ++ compilation and do not remove any object ++ files produced. ++ ++ -dryrun display but do not execute f90 internal ++ commands. f90 will still check for the ++ existence of essential executable files. ++ ++ ++ -l<suffix> search the library file lib<suffix>.a. ++ ++ -L<dir> search directory <dir> for libraries prior ++ to searching the default directories. ++ ++ -o<name> name the final output file <name>. When used ++ with -c, names the object file, otherwise ++ names the link edited output file. (The ++ default link edited output file is named ++ a.out.) -o is ignored if the -vo option is ++ used. ++ ++ -v display f90 internal commands as execution ++ progresses. ++ ++ -vo execute vf90 pass only. Certain compiler options ++ included on the command line may be ignored. ++ ++ -vn execute g77 compiler only. vf90 options ++ included on the command line are ignored. ++ Note that the -vo and -vn options are ++ mutually exclusive. ++ ++ -w suppress warning messages ++ ++ -Wv hand off arguments to pass vf90. vf90 options ++ must be separated by commas and may not ++ contain embedded blank space characters. ++ Examples: ++ -Wv,-da ++ -Wv,-e78,-da ++ The -o vf90 option may not be used. ++ ++ -Yvc,<path> substitute for g77 an alternate executable ++ whose pathname is specified by <path>. ++ ++ -Yvv,<path> substitute for vf90 an alternate executable ++ whose pathname is specified by <path>. ++ ++ ++ <v_option> represents any vf90 option except the -o option. ++ ++ <g77_option> represents any g77 compiler option except those ++ listed as unsupported. (See below.) ++ ++ ++ f90 options and input files may appear in any order. ++ ++ For a detailed description of each option, please refer ++ to the vf90 User's Guide. ++ ++EXAMPLES ++ ++ f90 -c -Wv,-ya,-yb file1.f90 ++ ++ Runs vf90 with free format input and free format output ++ disabled on file1.f90, compiles the intermediate ++ file Vfile1.f, and produces the object file file1.o. ++ The linker is not invoked. Note that the .f90 ++ extension implies that the file is free format, ++ hence these flags are necessary if the code is in ++ fixed format. ++ ++CAVEATS ++ Module files (files with .m extensions) should ++ be specified on the f90 command line before ++ the Fortran 90 source file(s) which use them. ++ ++ The following g77 options are not fully supported by f90: ++ -S ++ -E ++ -D ++ -U ++ ++ A warning or error message will be output whenever ++ an unsupported option is encountered. ++ ++ ++FILES ++ file.f90 free format Fortran 90 source ++ file ++ file.f fixed format Fortran 90 source ++ file ++ file.m Fortran 90 module file ++ file.o object file ++ file.s assembly language file ++ Vfile.f intermediate file produced after ++ pass vf90. Contains preprocessed ++ Fortran 77 source code. ++ a.out link edited output file ++ TMPDIR/* temporary files ++ BINDIR/g77 Fortran 77 compiler ++ BINDIR/ld link editor ++ ++ Executable files corresponding to g77 passes ++ are not listed nor are the intermediate files ++ produced by g77. ++ ++WARNINGS ++ Use of the -Yvc,<path> and -Yvv,<path> options will ++ disable most of the command line argument error checks ++ performed by f90. ++ ++SEE ALSO ++ g77(1) vf90(1) ld(1) ++ ++DIAGNOSTICS ++ Returns 0 upon successful completion. ++ diff --git a/lang/vast_f90/pkg/COMMENT b/lang/vast_f90/pkg/COMMENT new file mode 100644 index 00000000000..5d2a21cb5c9 --- /dev/null +++ b/lang/vast_f90/pkg/COMMENT @@ -0,0 +1 @@ +PSR VAST f90 compiler (Personal version) - Linux binary diff --git a/lang/vast_f90/pkg/DESCR b/lang/vast_f90/pkg/DESCR new file mode 100644 index 00000000000..39e7b61471a --- /dev/null +++ b/lang/vast_f90/pkg/DESCR @@ -0,0 +1,7 @@ +vast_f90 is the personal version of the Pacific-Sierra Research VAST/f90 +compiler for Linux/g77. + +This compiler uses the Linux toolchain and produces a Linux executable. + +vast_f90 is not free software; please read and follow PSR's license: +${PREFIX}/share/doc/vast_f90/LICENSE. diff --git a/lang/vast_f90/pkg/MESSAGE b/lang/vast_f90/pkg/MESSAGE new file mode 100644 index 00000000000..627ac856577 --- /dev/null +++ b/lang/vast_f90/pkg/MESSAGE @@ -0,0 +1,10 @@ +========================================================================== +$NetBSD: MESSAGE,v 1.1.1.1 1999/09/16 13:35:34 wennmach Exp $ + +i386: To run the Linux binary vast-f90, you need COMPAT_LINUX and + EXEC_ELF32 in your kernel, plus the developer Linux toolchain, + as provided by e. g. emulators/suse_devel. + +Please read the VAST license: ${PREFIX}/share/doc/vast_f90/LICENSE + +========================================================================== diff --git a/lang/vast_f90/pkg/PLIST b/lang/vast_f90/pkg/PLIST new file mode 100644 index 00000000000..af55d2877e2 --- /dev/null +++ b/lang/vast_f90/pkg/PLIST @@ -0,0 +1,24 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/09/16 13:35:34 wennmach Exp $ +emul/linux/usr/bin/f90 +emul/linux/usr/bin/vf90 +emul/linux/usr/lib/libvast90.a +emul/linux/usr/man/cat1/f90.0 +emul/linux/usr/share/doc/vast_f90/90to77.ps +emul/linux/usr/share/doc/vast_f90/LICENSE +emul/linux/usr/share/doc/vast_f90/README +emul/linux/usr/share/doc/vast_f90/restrict.txt +emul/linux/usr/share/doc/vast_f90/vastf90.pdf +emul/linux/usr/share/doc/vast_f90/versions.txt +@dirrm emul/linux/usr/man/cat1 +@dirrm emul/linux/usr/share/doc/vast_f90 +bin/f90 +bin/vf90 +man/cat1/f90.0 +man/cat1/vf90.0 +share/doc/vast_f90/90to77.ps +share/doc/vast_f90/LICENSE +share/doc/vast_f90/README +share/doc/vast_f90/restrict.txt +share/doc/vast_f90/vastf90.pdf +share/doc/vast_f90/versions.txt +@dirrm share/doc/vast_f90 |