Package: system-fortran Version: 7.0 Revision: 1 Type: bundle Maintainer: None Description: Placeholder package for manually installed Absoft ProFortran DescDetail: << Install this package if you have the commerical Absoft fortran installed. It will check whether the installation is okay and provide the 'system-fortran' virtual package. << PreInstScript: << if [ -d /Applications/Absoft ]; then mcount=0 for file in bin/f77 bin/f90 bin/f90 ; do if [ ! -f "/Applications/Absoft/$file" ]; then echo "$missing /Applications/Absoft/$file" mcount=$(($mcount+1)) fi done if [ $mcount -ge 1 ]; then echo "Your Absoft Fortran installation is incomplete!" exit 1 else echo "Your Absoft Fortran installation looks OK." exit 0 fi else echo "Absoft Fortran not installed." exit 1 fi <<