Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Oct 1998 23:24:26 -0500 (CDT)
From:      gljohns@bellsouth.net
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8223: new port of libU77-2.6
Message-ID:  <199810090424.XAA16189@gforce.bellsouth.net>

next in thread | raw e-mail | index | archive | help

>Number:         8223
>Category:       ports
>Synopsis:       Library of Fortran intrinsics not in f2c
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Oct  8 21:30:00 PDT 1998
>Last-Modified:
>Originator:     Glenn Johnson
>Organization:
>Release:        FreeBSD 3.0-BETA i386
>Environment:

	This port should go in the devel subdirectory of the ports tree.

>Description:

	Functions needed to compile Fortran programs. This port is necessary 
	for a subsequent port I will be submitting.

>How-To-Repeat:

	cd to /usr/ports/devel

# 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:
#
#	libU77
#	libU77/Makefile
#	libU77/files
#	libU77/files/md5
#	libU77/patches
#	libU77/patches/patch-aa
#	libU77/patches/patch-ab
#	libU77/pkg
#	libU77/pkg/PLIST
#	libU77/pkg/COMMENT
#	libU77/pkg/DESCR
#
echo c - libU77
mkdir -p libU77 > /dev/null 2>&1
echo x - libU77/Makefile
sed 's/^X//' >libU77/Makefile << 'END-of-libU77/Makefile'
X# New ports collection makefile for:   libU77
X# Version required:    2.6
X# Date Created:                8 October 1998
X# Whom:                        Glenn Johnson
X#
X# $Id$
X#
X
XDISTNAME=      libU77-2.6
XPKGNAME=       libU77-2.6
XCATEGORIES=    devel
XMASTER_SITES=  http://www.maths.unsw.EDU.AU/~norris/src/
X
XMAINTAINER=    gjohnson@nola.srrc.usda.gov
X
XWRKSRC=        ${WRKDIR}/libU77-2.6
X
Xpost-extract:
X	${CP} ${WRKSRC}/scripts/Makehead.linux ${WRKSRC}/scripts/Makehead.freebsd
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/lib/libU77.a ${PREFIX}/lib
X
X.include <bsd.port.mk>
END-of-libU77/Makefile
echo c - libU77/files
mkdir -p libU77/files > /dev/null 2>&1
echo x - libU77/files/md5
sed 's/^X//' >libU77/files/md5 << 'END-of-libU77/files/md5'
XMD5 (libU77-2.6.tar.gz) = 3895f8fc218f7f84ebcfbee467624197
END-of-libU77/files/md5
echo c - libU77/patches
mkdir -p libU77/patches > /dev/null 2>&1
echo x - libU77/patches/patch-aa
sed 's/^X//' >libU77/patches/patch-aa << 'END-of-libU77/patches/patch-aa'
X*** scripts/mkmake.orig	Thu Oct  8 22:26:38 1998
X--- scripts/mkmake	Thu Oct  8 22:27:32 1998
X***************
X*** 26,31 ****
X--- 26,34 ----
X      Linux)
X  	SYS='PC running Linux'
X  	;;
X+     FreeBSD)
X+ 	SYS='PC running FreeBSD'
X+ 	;;
X      OSF1)
X  	SYS='DEC Alpha running OSF'
X  	;;
X***************
X*** 69,74 ****
X--- 72,80 ----
X  	        ;;
X  	    Linux)
X  		cat scripts/Makehead.linux > $i
X+ 		;;
X+ 	    FreeBSD)
X+ 		cat scripts/Makehead.freebsd > $i
X  		;;
X  	    OSF1)
X  		cat scripts/Makehead.alpha > $i
END-of-libU77/patches/patch-aa
echo x - libU77/patches/patch-ab
sed 's/^X//' >libU77/patches/patch-ab << 'END-of-libU77/patches/patch-ab'
X*** scripts/Makehead.freebsd.orig	Thu Oct  8 22:27:49 1998
X--- scripts/Makehead.freebsd	Thu Oct  8 22:28:16 1998
X***************
X*** 11,17 ****
X  #
X  # Compiler names
X  #
X! CC    =cc
X  FC    =f77
X  #FC   =f90
X  AR    =ar
X--- 11,17 ----
X  #
X  # Compiler names
X  #
X! CC    =cc -D_TIMES
X  FC    =f77
X  #FC   =f90
X  AR    =ar
X***************
X*** 20,26 ****
X  #
X  # Compiler flags
X  #
X! CFLAGS=-O
X  #CFLAGS=-O -DNAG_F90
X  FFLAGS=-O
X  ARFLAGS=rv
X--- 20,26 ----
X  #
X  # Compiler flags
X  #
X! #CFLAGS=-O
X  #CFLAGS=-O -DNAG_F90
X  FFLAGS=-O
X  ARFLAGS=rv
END-of-libU77/patches/patch-ab
echo c - libU77/pkg
mkdir -p libU77/pkg > /dev/null 2>&1
echo x - libU77/pkg/PLIST
sed 's/^X//' >libU77/pkg/PLIST << 'END-of-libU77/pkg/PLIST'
Xlib/libU77.a
END-of-libU77/pkg/PLIST
echo x - libU77/pkg/COMMENT
sed 's/^X//' >libU77/pkg/COMMENT << 'END-of-libU77/pkg/COMMENT'
XlibU77 adds Fortran intrinsics missing from f2c.
END-of-libU77/pkg/COMMENT
echo x - libU77/pkg/DESCR
sed 's/^X//' >libU77/pkg/DESCR << 'END-of-libU77/pkg/DESCR'
XThis library archive adds commonly used Fortran intrinsic function to
Xallow a greater range of Fortran code to be converted with f2c.
END-of-libU77/pkg/DESCR
exit

>Fix:
	
	Can someone please commit this as it will be needed for another port.
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810090424.XAA16189>