Subject: pkg/8266: lang/vast_f90
To: None <gnats-bugs@gnats.netbsd.org>
From: Dr. Lex Wennmacher <wennmach@geo.Uni-Koeln.DE>
List: netbsd-bugs
Date: 08/24/1999 11:58:36
>Number: 8266
>Category: pkg
>Synopsis: lang/vast_f90 pkg
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager (NetBSD software packages system bug manager)
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Tue Aug 24 10:35:02 1999
>Last-Modified:
>Originator: Dr. Lex Wennmacher
>Organization:
Dr. Alexandre Wennmacher
Institut fuer Geophysik und Meteorologie wennmach@geo.Uni-Koeln.DE
Universitaet zu Koeln phone +49 221 470 - 3387
D-50923 Koeln fax +49 221 470 - 5198
>Release: <NetBSD-current source date> NetBSD-1.4
>Environment:
System: NetBSD hal 1.4 NetBSD 1.4 (HAL) #2: Sat Jun 5 23:50:38 MEST 1999 wennmach@hal:/usr/src/sys/arch/i386/compile/HAL i386
>Description:
I have prepared a pkg which lets you run the VAST f90 compiler under Linux
emulation (i386 only). It uses the Linux toolchain and currently needs
emulators/suse_devel (see PR pkg/8264).
>How-To-Repeat:
N/A
>Fix:
# Unpack this archive in pkgsrc/lang/vast_f90.
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# .
# ./files
# ./files/md5
# ./pkg
# ./pkg/COMMENT
# ./pkg/DESCR
# ./pkg/MESSAGE
# ./pkg/PLIST
# ./Makefile
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo c - ./files
mkdir -p ./files > /dev/null 2>&1
echo x - ./files/md5
sed 's/^X//' >./files/md5 << 'END-of-./files/md5'
X$NetBSD$
X
XMD5 (vf90_per.tar) = 682c06abdfea034894b2f6681108bb5b
END-of-./files/md5
echo c - ./pkg
mkdir -p ./pkg > /dev/null 2>&1
echo x - ./pkg/COMMENT
sed 's/^X//' >./pkg/COMMENT << 'END-of-./pkg/COMMENT'
XPSR VAST f90 compiler (Personal version) - Linux binary
END-of-./pkg/COMMENT
echo x - ./pkg/DESCR
sed 's/^X//' >./pkg/DESCR << 'END-of-./pkg/DESCR'
XThis is the personal version of the Pacific-Sierra Research VAST/f90 compiler
Xfor Linux/g77.
X
XThis compiler uses the Linux toolchain and produces an Linux executable!
END-of-./pkg/DESCR
echo x - ./pkg/MESSAGE
sed 's/^X//' >./pkg/MESSAGE << 'END-of-./pkg/MESSAGE'
X==========================================================================
X$NetBSD$
X
Xi386: To run the Linux version vast-f90, you need COMPAT_LINUX and
X EXEC_ELF32 in your kernel, plus the developer Linux toolchain,
X as provided by emulators/suse_devel.
X
XPlease read the VAST license: /emul/linux/usr/doc/vast-f90/LICENSE
X
X==========================================================================
END-of-./pkg/MESSAGE
echo x - ./pkg/PLIST
sed 's/^X//' >./pkg/PLIST << 'END-of-./pkg/PLIST'
X@comment $NetBSD$
Xemul/linux/usr/bin/f90
Xemul/linux/usr/bin/vf90
Xemul/linux/usr/lib/libvast90.a
Xemul/linux/usr/doc/vast-f90/90to77.ps
Xemul/linux/usr/doc/vast-f90/LICENSE
Xemul/linux/usr/doc/vast-f90/README
Xemul/linux/usr/doc/vast-f90/restrict.txt
Xemul/linux/usr/doc/vast-f90/vastf90.pdf
Xemul/linux/usr/doc/vast-f90/versions.txt
Xbin/f90
END-of-./pkg/PLIST
echo x - ./Makefile
sed 's/^X//' >./Makefile << 'END-of-./Makefile'
X# $NetBSD$
X#
X
XDISTNAME= vf90_per
XPKGNAME= vast_f90-3.4M
XCATEGORIES= lang emulators
XMASTER_SITES= ftp://ftp.psrv.com/vast/vastf90/linux-x86/
XEXTRACT_SUFX= .tar
X
XMAINTAINER= wennmach@geo.Uni-Koeln.DE
XHOMEPAGE= http://www.psrv.com/lnxf90.html
X
XONLY_FOR_PLATFORM= NetBSD-*-i386
X
XNO_BUILD= yes
X
XEMULSUBDIR= emul/linux
XEMULDIR= ${PREFIX}/${EMULSUBDIR}
XBINDIR= ${PREFIX}/bin
X
XLICENSE= no-commercial-use
X
XEXTRACT_CMD= tar xf ${_DISTDIR}/${DISTNAME}${EXTRACT_SUFX}
XUNCOMPRESS= /usr/bin/uncompress
X
X.include "../../mk/bsd.prefs.mk"
X
X.if !exists(/emul/linux/usr/bin/g77)
XIGNORE= requires Linux toolchain as provided e. g. by emulators/suse_devel
X.endif
X
Xdo-install:
X ${UNCOMPRESS} ${WRKDIR}/f90.Z
X ${UNCOMPRESS} ${WRKDIR}/vf90.Z
X ${UNCOMPRESS} ${WRKDIR}/libvast90.a.Z
X ${UNCOMPRESS} ${WRKDIR}/90to77.ps.Z
X ${INSTALL} -m 755 -g wheel -o root ${WRKDIR}/f90 ${EMULDIR}/usr/bin
X ${INSTALL} -m 755 -g wheel -o root ${WRKDIR}/vf90 ${EMULDIR}/usr/bin
X ${INSTALL} -m 644 -g wheel -o root ${WRKDIR}/libvast90.a ${EMULDIR}/usr/lib
X -${MKDIR} ${EMULDIR}/usr/doc/vast-f90
X ${INSTALL} -m 644 -g wheel -o root ${WRKDIR}/90to77.ps ${EMULDIR}/usr/doc/vast-f90
X ${INSTALL} -m 644 -g wheel -o root ${WRKDIR}/LICENSE ${EMULDIR}/usr/doc/vast-f90
X ${INSTALL} -m 644 -g wheel -o root ${WRKDIR}/README ${EMULDIR}/usr/doc/vast-f90
X ${INSTALL} -m 644 -g wheel -o root ${WRKDIR}/restrict.txt ${EMULDIR}/usr/doc/vast-f90
X ${INSTALL} -m 644 -g wheel -o root ${WRKDIR}/vastf90.pdf ${EMULDIR}/usr/doc/vast-f90
X ${INSTALL} -m 644 -g wheel -o root ${WRKDIR}/versions.txt ${EMULDIR}/usr/doc/vast-f90
X ${LN} -fs ${EMULDIR}/usr/bin/f90 ${BINDIR}
X
X.include "../../mk/bsd.pkg.mk"
END-of-./Makefile
exit
>Audit-Trail:
>Unformatted: