From owner-freebsd-ports Mon Sep 18 21: 0: 9 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D241037B424 for ; Mon, 18 Sep 2000 21:00:00 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA11491; Mon, 18 Sep 2000 21:00:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from geni.knu.ac.kr (geni.kyungpook.ac.kr [155.230.174.179]) by hub.freebsd.org (Postfix) with ESMTP id E3D9D37B422 for ; Mon, 18 Sep 2000 20:58:18 -0700 (PDT) Received: (from hdcho@localhost) by geni.knu.ac.kr (8.9.3/8.9.3) id MAA86528; Tue, 19 Sep 2000 12:57:01 +0900 (KST) (envelope-from hdcho) Message-Id: <200009190357.MAA86528@geni.knu.ac.kr> Date: Tue, 19 Sep 2000 12:57:01 +0900 (KST) From: hdcho@geni.knu.ac.kr Reply-To: hdcho@geni.knu.ac.kr To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/21387: g2c libraries and compatibility for DJGPP V2 crossgo32 crosscompiler Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 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 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 X The FreeBSD Ports Collection (devel/crossgo32-f77) X

The FreeBSD Ports Collection ("devel/crossgo32-f77")


X X X

You are now in the directory for the port "devel/crossgo32-f77" (package name "crossgo32-f77-0.5.23"). X X

This is the one-line description for this port: X X


Xg2c libraries and compatibility for DJGPP V2 crossgo32 crosscompiler X


X X

Please read the file "pkg/DESCR" for a Xlonger description. X X

Go to the top of the ports tree for Xa summary on how to use the ports collection. X X

XThis port will fetch "f77-0.3" source and "g770523b.zip" file. X

XThis port requires package(s) "unzip-5.40" to build. X

XThis port requires package(s) "crossgo32-1.3 crossgo32-djgpp2-2.01" to run. X X


X Go up one level X| X Go to top of ports tree X X 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