Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Sep 2000 12:57:01 +0900 (KST)
From:      hdcho@geni.knu.ac.kr
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/21387: g2c libraries and compatibility for DJGPP V2 crossgo32 crosscompiler
Message-ID:  <200009190357.MAA86528@geni.knu.ac.kr>

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

>Number:         21387
>Category:       ports
>Synopsis:       g2c libraries and compatibility for DJGPP V2 crossgo32 crosscompiler
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 18 21:00:00 PDT 2000
>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-djgpp2-2.01, g770523b.zip

>Description:

	This package installs g2c 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/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
#	devel/crossgo32-f77/patches
#	devel/crossgo32-f77/patches/f77_Makefile.awk
#
echo c - devel/crossgo32-f77/
mkdir -p devel/crossgo32-f77/ > /dev/null 2>&1
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/f77
Xi386-go32/include/f2c.h
Xi386-go32/lib/libf2c.a
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 (g772952b.zip) = 66eaf1479778aa0aebaea882a914b286
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:                     2.95.2
X# Date created:                         19 September 2000
X# Whom:                                 Huidae Cho <hdcho@geni.knu.ac.kr>
X#
X# $FreeBSD$
X#
X
XDISTNAME=	crossgo32-f77-2.95.2
XCATEGORIES=	devel
XDISTFILES=
X
XMAINTAINER=	hdcho@geni.knu.ac.kr
X
XFETCH_DEPENDS=	:${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
XGCCVERSION=	2.952
XG77=		g772952b
XG77PKGSITE=	ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp/v2gnu
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	@(cd ${WRKDIR}/f77; ${MAKE} extract)
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)
Xdo-patch:
X	@(cd ${WRKDIR}/f77; \
X		${CP} ${MAKEFILE} ${MAKEFILE}.orig; \
X		${AWK} -f ${PATCHDIR}/f77_Makefile.awk \
X			${MAKEFILE}.orig > ${MAKEFILE})
X
Xdo-build:
X	@(cd ${WRKDIR}/f77; ${MAKE} build)
X
Xdo-install:
X	${INSTALL_DATA} \
X		${WRKDIR}/${G77}/lib/gcc-lib/djgpp/${GCCVERSION}/libg2c.a \
X		${PREFIX}/i386-go32/lib/libf2c.a
X	${INSTALL_DATA} \
X		${WRKDIR}/${G77}/lib/gcc-lib/djgpp/${GCCVERSION}/include/g2c.h \
X		${PREFIX}/i386-go32/include/f2c.h
X	@(cd ${WRKDIR}/f77/work/f77*; \
X		${INSTALL_PROGRAM} f77 ${PREFIX}/i386-go32/bin/f77; \
X		${CP} ${PREFIX}/i386-go32/bin/f77 ${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
echo c - devel/crossgo32-f77/patches
mkdir -p devel/crossgo32-f77/patches > /dev/null 2>&1
echo x - devel/crossgo32-f77/patches/f77_Makefile.awk
sed 's/^X//' >devel/crossgo32-f77/patches/f77_Makefile.awk << 'END-of-devel/crossgo32-f77/patches/f77_Makefile.awk'
XBEGIN		{i=0}
X
X/^MAKE_ARGS=/	{i=1
X		gsub("^MAKE_ARGS","MAKE_ARG")}
X
X/^[A-Z]/	{if($1!="MAKE_ARG="&&i){
X		i=0
X		print \
X"MAKE_ARGS=	${MAKE_ARG}\" \\\n"\
X"		-DF2C_INCLUDEDIR='\\\"-I/usr/local/i386-go32/include\\\"' \\\n"\
X"		-DF2C_LIBDIR='\\\"-I/usr/local/i386-go32/lib\\\"' \\\n"\
X"		-DCC_COMMAND='\\\"/usr/local/bin/i386-go32-gcc\\\"'\"\n"}}
X
X		{print}
END-of-devel/crossgo32-f77/patches/f77_Makefile.awk
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?200009190357.MAA86528>