diff options
author | Olivier Fisette <ribosome@gentoo.org> | 2004-12-27 21:08:20 +0000 |
---|---|---|
committer | Olivier Fisette <ribosome@gentoo.org> | 2004-12-27 21:08:20 +0000 |
commit | e53292c439a0797a03e580a9793d873e42bdf6fa (patch) | |
tree | 5f34340665a9054b6965278ad4c314a5fd9da8b1 /sci-misc/xfoil | |
parent | Moving to sci-misc/xfoil (diff) | |
download | gentoo-2-e53292c439a0797a03e580a9793d873e42bdf6fa.tar.gz gentoo-2-e53292c439a0797a03e580a9793d873e42bdf6fa.tar.bz2 gentoo-2-e53292c439a0797a03e580a9793d873e42bdf6fa.zip |
Moved from app-sci/xfoil to sci-misc/xfoil.
Diffstat (limited to 'sci-misc/xfoil')
-rw-r--r-- | sci-misc/xfoil/ChangeLog | 24 | ||||
-rw-r--r-- | sci-misc/xfoil/Manifest | 6 | ||||
-rw-r--r-- | sci-misc/xfoil/files/digest-xfoil-6.94 | 3 | ||||
-rw-r--r-- | sci-misc/xfoil/files/digest-xfoil-6.94-r1 | 3 | ||||
-rw-r--r-- | sci-misc/xfoil/metadata.xml | 8 | ||||
-rw-r--r-- | sci-misc/xfoil/xfoil-6.94-r1.ebuild | 61 | ||||
-rw-r--r-- | sci-misc/xfoil/xfoil-6.94.ebuild | 59 |
7 files changed, 164 insertions, 0 deletions
diff --git a/sci-misc/xfoil/ChangeLog b/sci-misc/xfoil/ChangeLog new file mode 100644 index 000000000000..c2b2e794ec27 --- /dev/null +++ b/sci-misc/xfoil/ChangeLog @@ -0,0 +1,24 @@ +# ChangeLog for app-sci/xfoil +# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/xfoil/ChangeLog,v 1.1 2004/12/27 21:08:20 ribosome Exp $ + +*xfoil-6.94-r1 (27 Dec 2004) + + 27 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml, + +xfoil-6.94-r1.ebuild, +xfoil-6.94.ebuild: + Moved from app-sci/xfoil to sci-misc/xfoil. + + 30 Mar 2004; Donnie Berkholz <spyderous@gentoo.org>; xfoil-6.94-r1.ebuild, + xfoil-6.94.ebuild: + Change x11-base/xfree dependency to virtual/x11. + +*xfoil-6.94-r1 (03 Feb 2004) + + 03 Feb 2004; George Shapovalov <george@gentoo.org> xfoil-6.94-r1.ebuild : + adjusted ebuild for the new blas virtuals, masked for now (until blas reorg is complete) + +*xfoil-6.94 (03 Dec 2003) + + 03 Dec 2003; Robin H. Johnson <robbat2@gentoo.org> xfoil-6.94.ebuild: + initial ebuild by robbat2@gentoo.org + diff --git a/sci-misc/xfoil/Manifest b/sci-misc/xfoil/Manifest new file mode 100644 index 000000000000..28f0cf254546 --- /dev/null +++ b/sci-misc/xfoil/Manifest @@ -0,0 +1,6 @@ +MD5 523e543feda21fb5eed793ac00d085d1 xfoil-6.94-r1.ebuild 1696 +MD5 d0998057663f5b4a0da4c733057d1df9 xfoil-6.94.ebuild 1650 +MD5 5f118adaa6a690bb310940e1a9636ab2 ChangeLog 688 +MD5 f9b985eff5cf629c334273be8fbdee5c metadata.xml 219 +MD5 bd6eb26fc81bfc9a42aa998d36043598 files/digest-xfoil-6.94-r1 175 +MD5 bd6eb26fc81bfc9a42aa998d36043598 files/digest-xfoil-6.94 175 diff --git a/sci-misc/xfoil/files/digest-xfoil-6.94 b/sci-misc/xfoil/files/digest-xfoil-6.94 new file mode 100644 index 000000000000..1b884e2be6b0 --- /dev/null +++ b/sci-misc/xfoil/files/digest-xfoil-6.94 @@ -0,0 +1,3 @@ +MD5 79e1d6bdb445d0e3ba60338e56e3e420 xfoil694.tar.gz 435936 +MD5 6a3cbfcc2dd6943317d6590a57dcd77f xfoil_doc.ps 304400 +MD5 ffdcc3ad6cf4466dd40c7753b0806177 xfoil_doc.pdf 311472 diff --git a/sci-misc/xfoil/files/digest-xfoil-6.94-r1 b/sci-misc/xfoil/files/digest-xfoil-6.94-r1 new file mode 100644 index 000000000000..1b884e2be6b0 --- /dev/null +++ b/sci-misc/xfoil/files/digest-xfoil-6.94-r1 @@ -0,0 +1,3 @@ +MD5 79e1d6bdb445d0e3ba60338e56e3e420 xfoil694.tar.gz 435936 +MD5 6a3cbfcc2dd6943317d6590a57dcd77f xfoil_doc.ps 304400 +MD5 ffdcc3ad6cf4466dd40c7753b0806177 xfoil_doc.pdf 311472 diff --git a/sci-misc/xfoil/metadata.xml b/sci-misc/xfoil/metadata.xml new file mode 100644 index 000000000000..2ba90ab6f5c5 --- /dev/null +++ b/sci-misc/xfoil/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sci</herd> +<maintainer> + <email>robbat2@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/sci-misc/xfoil/xfoil-6.94-r1.ebuild b/sci-misc/xfoil/xfoil-6.94-r1.ebuild new file mode 100644 index 000000000000..9832aa8455fe --- /dev/null +++ b/sci-misc/xfoil/xfoil-6.94-r1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/xfoil/xfoil-6.94-r1.ebuild,v 1.1 2004/12/27 21:08:20 ribosome Exp $ + +inherit gcc + +MY_PN="${PN}" +MY_PV="${PV/./}" +MY_P="${MY_PN}${MY_PV}" + +DESCRIPTION="design and analysis of subsonic isolated airfoils" +HOMEPAGE="http://raphael.mit.edu/xfoil/" +SRC_URI="http://raphael.mit.edu/xfoil/${MY_P}.tar.gz + doc? ( http://raphael.mit.edu/xfoil/xfoil_doc.ps + http://raphael.mit.edu/xfoil/xfoil_doc.pdf )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc" + +DEPEND="virtual/blas + app-sci/blas-config + virtual/x11" +RDEPEND="virtual/x11" + +S=${WORKDIR}/XFOIL${MY_PV} + +src_unpack() { + unpack ${A} + cd ${S} + [ -z "$FC" ] && FC=g77 # because gcc-config doesn't do it yet + [ -z "${FFLAGS}" ] && FFLAGS="${CFLAGS}" # because gcc-config doesn't do it yet + echo "CC = $(gcc-getCC)" >>plotlib/config.make + echo "FC = ${FC}" >>plotlib/config.make + echo "CFLAGS += ${CFLAGS}" >>plotlib/config.make + echo "FFLAGS += ${FFLAGS}" >>plotlib/config.make + sed -i bin/Makefile \ + -e "s/^\(FC.*\)/FC = ${FC}/g" \ + -e "s/^\(CC.*\)/CC = $(gcc-getCC)/g" \ + -e "s/^\(FFLAGS .*\)/FFLAGS = ${FFLAGS}/g" \ + -e "s/^\(FFLOPT .*\)/FFLOPT = \$(FFLAGS)/g" \ + -e "s/^\(FFLAGS2 .*\)/FFLAGS2 = \$(FFLAGS)/g" +} + +src_compile() { + cd ${S}/plotlib + emake || die "failed to build plotlib" + cd ${S}/bin + for i in xfoil pplot pxplot; do + emake ${i} || die "failed to build ${i}" + done +} + +src_install() { + dobin bin/pplot bin/pxplot bin/xfoil + dodoc version_notes.txt xfoil_doc.txt sessions.txt README + use doc && dodoc ${DISTDIR}/xfoil_doc.ps ${DISTDIR}/xfoil_doc.pdf + docinto runs + dodoc runs/* +} diff --git a/sci-misc/xfoil/xfoil-6.94.ebuild b/sci-misc/xfoil/xfoil-6.94.ebuild new file mode 100644 index 000000000000..ec693f19b744 --- /dev/null +++ b/sci-misc/xfoil/xfoil-6.94.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-misc/xfoil/xfoil-6.94.ebuild,v 1.1 2004/12/27 21:08:20 ribosome Exp $ + +inherit gcc + +MY_PN="${PN}" +MY_PV="${PV/./}" +MY_P="${MY_PN}${MY_PV}" + +DESCRIPTION="design and analysis of subsonic isolated airfoils" +HOMEPAGE="http://raphael.mit.edu/xfoil/" +SRC_URI="http://raphael.mit.edu/xfoil/${MY_P}.tar.gz + doc? ( http://raphael.mit.edu/xfoil/xfoil_doc.ps + http://raphael.mit.edu/xfoil/xfoil_doc.pdf )" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="doc" + +DEPEND="app-sci/blas + virtual/x11" + +S=${WORKDIR}/XFOIL${MY_PV} + +src_unpack() { + unpack ${A} + cd ${S} + [ -z "$FC" ] && FC=g77 # because gcc-config doesn't do it yet + [ -z "${FFLAGS}" ] && FFLAGS="${CFLAGS}" # because gcc-config doesn't do it yet + echo "CC = $(gcc-getCC)" >>plotlib/config.make + echo "FC = ${FC}" >>plotlib/config.make + echo "CFLAGS += ${CFLAGS}" >>plotlib/config.make + echo "FFLAGS += ${FFLAGS}" >>plotlib/config.make + sed -i bin/Makefile \ + -e "s/^\(FC.*\)/FC = ${FC}/g" \ + -e "s/^\(CC.*\)/CC = $(gcc-getCC)/g" \ + -e "s/^\(FFLAGS .*\)/FFLAGS = ${FFLAGS}/g" \ + -e "s/^\(FFLOPT .*\)/FFLOPT = \$(FFLAGS)/g" \ + -e "s/^\(FFLAGS2 .*\)/FFLAGS2 = \$(FFLAGS)/g" +} + +src_compile() { + cd ${S}/plotlib + emake || die "failed to build plotlib" + cd ${S}/bin + for i in xfoil pplot pxplot; do + emake ${i} || die "failed to build ${i}" + done +} + +src_install() { + dobin bin/pplot bin/pxplot bin/xfoil + dodoc version_notes.txt xfoil_doc.txt sessions.txt README + use doc && dodoc ${DISTDIR}/xfoil_doc.ps ${DISTDIR}/xfoil_doc.pdf + docinto runs + dodoc runs/* +} |