Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Oct 1999 10:15:08 +0900 (KST)
From:      hdcho@geni.knu.ac.kr
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14068: crossgo32-f77
Message-ID:  <199910010115.KAA02012@geni.knu.ac.kr>

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

>Number:         14068
>Category:       ports
>Synopsis:       g2c libraries and compatibility for DJGPP V2 crossgo32 crosscompiler
>Confidential:   yes
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 30 18:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Huidae Cho
>Release:        FreeBSD 3.3-RELEASE i386
>Organization:
Hydro Eng. Lab., Kyungpook National University, South Korea
>Environment:

	Architecture: i386
	Requirements: crossgo32, crossgo32-djgpp2, f2c, f77, fpp, g770523b.zip

>Description:

	This package installs g2c 0.5.23 libraries and f77 wrapper for 
	DJGPP V2 crossgo32 crosscompiler.

>How-To-Repeat:

# 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:
#
#	devel/crossgo32-f77
#	devel/crossgo32-f77/patches
#	devel/crossgo32-f77/patches/f77.sed
#	devel/crossgo32-f77/pkg
#	devel/crossgo32-f77/pkg/PLIST
#	devel/crossgo32-f77/pkg/COMMENT
#	devel/crossgo32-f77/pkg/DESCR
#	devel/crossgo32-f77/files
#	devel/crossgo32-f77/files/md5
#	devel/crossgo32-f77/Makefile
#	devel/crossgo32-f77/README.html
#
echo c - devel/crossgo32-f77
mkdir -p devel/crossgo32-f77 > /dev/null 2>&1
echo c - devel/crossgo32-f77/patches
mkdir -p devel/crossgo32-f77/patches > /dev/null 2>&1
echo x - devel/crossgo32-f77/patches/f77.sed
sed 's/^X//' >devel/crossgo32-f77/patches/f77.sed << 'END-of-devel/crossgo32-f77/patches/f77.sed'
Xs/local\/include/local\/i386-go32\/include/g
Xs/local\/lib/local\/i386-go32\/lib/g
Xs/gcc/i386-go32-gcc/g
END-of-devel/crossgo32-f77/patches/f77.sed
echo c - devel/crossgo32-f77/pkg
mkdir -p devel/crossgo32-f77/pkg > /dev/null 2>&1
echo x - devel/crossgo32-f77/pkg/PLIST
sed 's/^X//' >devel/crossgo32-f77/pkg/PLIST << 'END-of-devel/crossgo32-f77/pkg/PLIST'
Xbin/i386-go32-f77
Xi386-go32/bin.geni/fc
Xi386-go32/include.geni/g2c.h
Xi386-go32/lib.geni/libg2c.a
Xi386-go32/bin/f77
Xi386-go32/include/f2c.h
Xi386-go32/lib/libf2c.a
X@dirrm i386-go32/bin.geni
X@dirrm i386-go32/include.geni
X@dirrm i386-go32/lib.geni
END-of-devel/crossgo32-f77/pkg/PLIST
echo x - devel/crossgo32-f77/pkg/COMMENT
sed 's/^X//' >devel/crossgo32-f77/pkg/COMMENT << 'END-of-devel/crossgo32-f77/pkg/COMMENT'
Xg2c libraries and compatibility for DJGPP V2 crossgo32 crosscompiler
END-of-devel/crossgo32-f77/pkg/COMMENT
echo x - devel/crossgo32-f77/pkg/DESCR
sed 's/^X//' >devel/crossgo32-f77/pkg/DESCR << 'END-of-devel/crossgo32-f77/pkg/DESCR'
XThis package installs g2c 0.5.23 libraries and f77 wrapper for 
XDJGPP V2 crossgo32 crosscompiler.
X
XSimple usage:
X	i386-go32-f77 -o fortran.exe fortran.f
X
XThe above command create the MS-DOS executable fortran.exe file from
Xfortran.f fortran77 source file.
X
XEnjoy.
X
XHuidae Cho
Xhdcho@geni.knu.ac.kr
END-of-devel/crossgo32-f77/pkg/DESCR
echo c - devel/crossgo32-f77/files
mkdir -p devel/crossgo32-f77/files > /dev/null 2>&1
echo x - devel/crossgo32-f77/files/md5
sed 's/^X//' >devel/crossgo32-f77/files/md5 << 'END-of-devel/crossgo32-f77/files/md5'
XMD5 (g770523b.zip) = e2cad26caae02a030aa973e01d0a4060
END-of-devel/crossgo32-f77/files/md5
echo x - devel/crossgo32-f77/Makefile
sed 's/^X//' >devel/crossgo32-f77/Makefile << 'END-of-devel/crossgo32-f77/Makefile'
X# New ports collection makefile for:    crossgo32-f77
X# Version required:                     0.5.23
X# Date created:                         29 September 1999
X# Whom:                                 Huidae Cho <hdcho@geni.knu.ac.kr>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	crossgo32-f77-0.5.23
XDISTFILES=	
XCATEGORIES=	devel
X
XMAINTAINER=	hdcho@geni.knu.ac.kr
X
XGCCVERSION=	2.81
XG77=		g770523b
XG77PKGSITE=	ftp://ftp.sogang.ac.kr/pub/simtelnet/gnu/djgpp/v2gnu
X
XFETCH_DEPENDS=	${PORTSDIR}/lang/f77/work:${PORTSDIR}/lang/f77:fetch
XBUILD_DEPENDS=	${PREFIX}/bin/unzip:${PORTSDIR}/archivers/unzip
XRUN_DEPENDS=	${PREFIX}/i386-go32/bin/gcc:${PORTSDIR}/devel/crossgo32-djgpp2 \
X		${PREFIX}/bin/fc:${PORTSDIR}/lang/f77
X
XUSE_ZIP=	
X
Xdo-fetch:
X	if [ ! -f ${DISTDIR}/${G77}.zip ]; then \
X		${FETCH_CMD} -o ${DISTDIR}/${G77}.zip \
X			${G77PKGSITE}/${G77}.zip; \
X	fi
X
Xdo-extract:
X	${MKDIR} ${WRKDIR}
X	${CP} -Rp ${PORTSDIR}/lang/f77 ${WRKDIR}
X	@if [ -d ${PORTSDIR}/lang/f77/work ]; then \
X		${CP} -Rp ${PORTSDIR}/lang/f77/work ${WRKDIR}/f77; \
X	else \
X		(cd ${WRKDIR}/f77; ${MAKE} patch) \
X	fi
X	@(${MKDIR} ${WRKDIR}/${G77}; cd ${WRKDIR}/${G77}; \
X		${EXTRACT_CMD} ${DISTDIR}/${G77}.zip \
X			lib/gcc-lib/djgpp/${GCCVERSION}/libg2c.a \
X			lib/gcc-lib/djgpp/${GCCVERSION}/include/g2c.h)
X
Xdo-patch:
X	@(cd ${WRKDIR}/f77/work/f77*; ${CP} pathnames.h pathnames.h.orig; \
X		${SED} -f ${PATCHDIR}/f77.sed pathnames.h.orig > pathnames.h)
X
Xdo-build:
X	@(cd ${WRKDIR}/f77; ${MAKE} build)
X
Xdo-install:
X	${MKDIR} ${PREFIX}/i386-go32/bin.geni
X	${MKDIR} ${PREFIX}/i386-go32/lib.geni
X	${MKDIR} ${PREFIX}/i386-go32/include.geni
X
X	${INSTALL_DATA} \
X		${WRKDIR}/${G77}/lib/gcc-lib/djgpp/${GCCVERSION}/libg2c.a \
X		${PREFIX}/i386-go32/lib.geni/libg2c.a
X	@(cd ${PREFIX}/i386-go32/lib; ${LN} -sf ../lib.geni/libg2c.a libf2c.a)
X	${INSTALL_DATA} \
X		${WRKDIR}/${G77}/lib/gcc-lib/djgpp/${GCCVERSION}/include/g2c.h \
X		${PREFIX}/i386-go32/include.geni/g2c.h
X	@(cd ${PREFIX}/i386-go32/include; ${LN} -sf ../include.geni/g2c.h f2c.h)
X	@(cd ${WRKDIR}/f77/work/f77*; \
X		${INSTALL_PROGRAM} f77 ${PREFIX}/i386-go32/bin.geni/fc; \
X		cd ${PREFIX}/i386-go32/bin; ${LN} -sf ../bin.geni/fc f77; \
X		${CP} ${PREFIX}/i386-go32/bin.geni/fc \
X			${PREFIX}/bin/i386-go32-f77)
X
X.include <bsd.port.mk>
END-of-devel/crossgo32-f77/Makefile
echo x - devel/crossgo32-f77/README.html
sed 's/^X//' >devel/crossgo32-f77/README.html << 'END-of-devel/crossgo32-f77/README.html'
X<html>
X<title> The FreeBSD Ports Collection (devel/crossgo32-f77)</title>
X<head><h1> The FreeBSD Ports Collection ("devel/crossgo32-f77")</h1> </head> <hr>
X<body>
X
X<p>You are now in the directory for the port "devel/crossgo32-f77" (package name "crossgo32-f77-0.5.23").
X
X<p>This is the one-line description for this port:
X
X<p><hr><p>
Xg2c libraries and compatibility for DJGPP V2 crossgo32 crosscompiler
X<p><hr>
X
X<p>Please read the file "<a href="pkg/DESCR">pkg/DESCR</a>" for a
Xlonger description.
X
X<p>Go to the <a href="../../README.html">top of the ports tree</a> for
Xa summary on how to use the ports collection.
X
X<p>
XThis port will fetch "f77-0.3" source and "g770523b.zip" file.
X<p>
XThis port requires package(s) "unzip-5.40" to build.
X<p>
XThis port requires package(s) "crossgo32-1.3 crossgo32-djgpp2-2.01" to run.
X
X<p><hr><p>
X<a href="../README.html"> Go up one level</a>
X|
X<a href="../../README.html"> Go to top of ports tree</a>
X</body>
X</html>
END-of-devel/crossgo32-f77/README.html
exit


>Fix:
	


>Release-Note:
>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?199910010115.KAA02012>