Update of /cvsroot/fink/dists/10.4-transitional/unstable/main/finkinfo/sci
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12845

Added Files:
        xfoil.info xfoil.patch 
Log Message:
New package from tracker

--- NEW FILE: xfoil.info ---
Package: xfoil
Version: 694
Revision: 1
License: GPL
Maintainer: Kevin Horton <[EMAIL PROTECTED]>
BuildDepends: g77
Source: http://raphael.mit.edu/xfoil/xfoil%v.tar.gz
Source-MD5: 79e1d6bdb445d0e3ba60338e56e3e420
SourceDirectory: XFOIL%v
PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
CompileScript: <<
  #!/bin/sh
  cd plotlib
  make
  cd ../bin
  make
<<
InstallScript: << 
  #!/bin/sh
  mkdir %i/bin
  cd bin
  install pplot pxplot xfoil %i/bin/
  cd ../runs
  mkdir -p %i/share/doc/xfoil/runs
  install * %i/share/doc/xfoil/runs/
<<

DocFiles: xfoil_doc.txt version_notes.txt sessions.txt README
Description: Design and analyze of subsonic airfoils
DescDetail: <<
  XFOIL is an interactive program for the design and analysis of subsonic 
  isolated  airfoils. 
  It consists of a collection of menu-driven routines which perform various 
  useful functions such as:
  
    -Viscous (or inviscid) analysis of an existing airfoil, allowing
      -forced or free transition
      -transitional separation bubbles
      -limited trailing edge separation
      -lift and drag predictions just beyond CLmax
      -Karman-Tsien compressibility correction
      -fixed or varying Reynolds and/or Mach numbers
  
    -Airfoil design and redesign by interactive modification of surface speed 
     distributions, in two methods:
      -Full-Inverse method, based on a complex-mapping formulation
      -Mixed-Inverse method, an extension of XFOIL's basic panel method
  
    -Airfoil redesign by interactive modification of geometric parameters such 
     as
      -max thickness and camber, highpoint position
      -LE radius, TE thickness
      -camber line via geometry specification
      -camber line via loading change specification
      -flap deflection
      -explicit contour geometry (via screen cursor)
  
    -Blending of airfoils
    -Writing and reading of airfoil coordinates and polar save files
    -Plotting of geometry, pressure distributions, and multiple polars
<<
Homepage: http://raphael.mit.edu/xfoil/
--- NEW FILE: xfoil.patch ---
--- XFOIL694/plotlib/config.make.orig    2005-08-18 06:33:40.000000000 -0400
+++ XFOIL694/plotlib/config.make 2005-08-18 06:39:58.000000000 -0400
@@ -25,14 +25,14 @@
 ###          or the yaf77 or the old f77 shell script from f2c
 ###   g77    the GNU Fortran compiler 
 #
-FC = g77-3
+FC = g77
 #FC = fort77
-CC  = gcc3
+CC  = gcc
 # Uncomment DP to make double-precision version
 # (note -r8 does not work in g77, use f2c instead)
 #DP = -r8
 FFLAGS  = -O2 $(DP)
-CFLAGS  = -O2 $(DEFINE)
+CFLAGS  = -O2 -I/usr/X11R6/include/ $(DEFINE)
 AR = ar r
 RANLIB = ranlib 
 LINKLIB = -L/usr/X11R6/lib -lX11 

--- XFOIL694/plotlib/Makefile.orig       2005-08-18 06:50:44.000000000 -0400
+++ XFOIL694/plotlib/Makefile    2005-08-18 06:51:52.000000000 -0400
@@ -30,7 +30,7 @@
 #================================#
 
 # Point to your install directory
-INSTALLDIR= $(HOME)/lib
+INSTALLDIR= @PREFIX@/lib
 #INSTALLDIR= /usr/local/lib
 #INSTALLDIR= .

--- XFOIL694/bin/Makefile.orig       2005-08-18 09:27:31.000000000 -0400
+++ XFOIL694/bin/Makefile    2005-08-18 09:33:21.000000000 -0400
@@ -7,7 +7,8 @@
 
 SHELL = sh
 #BINDIR = $(HOME)/bin/
-BINDIR = .
+#BINDIR = .
+BINDIR = @PREFIX@/bin
 
 PROGS = xfoil pplot pxplot
 
@@ -77,11 +78,11 @@
 #FFLAGS2 =  -O2 -fomit-frame-pointer
 ##--------------------------
 ### Linux setup GNU g77 (g77-3 for RH7.2 with optional gcc3 compilers)
-FC = g77
+#FC = g77
 #FC = g77-3
-FFLAGS  =  -O3 -fomit-frame-pointer
-FFLOPT  =  -O3 -fomit-frame-pointer
-FFLAGS2 =  -O3 -fomit-frame-pointer
+#FFLAGS  =  -O3 -fomit-frame-pointer
+#FFLOPT  =  -O3 -fomit-frame-pointer
+#FFLAGS2 =  -O3 -fomit-frame-pointer
 # Specialize for i686 machine (small gain...)
 #FFLAGS  =  -O3 -fomit-frame-pointer -mcpu=i686
 #FFLOPT  =  -O3 -fomit-frame-pointer -mcpu=i686
@@ -102,7 +103,10 @@
 #FFLOPT  = -O3
 #FFLAGS2 = -O2 
 ##--------------------------
-
+### OS X using Fink
+FC = g77
+PLTLIBS = -L/usr/X11R6/lib -lX11
+##--------------------------
 
 all:    $(PROGS)




-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to