diff options
author | Peter Johanson <latexer@gentoo.org> | 2003-02-14 16:28:29 +0000 |
---|---|---|
committer | Peter Johanson <latexer@gentoo.org> | 2003-02-14 16:28:29 +0000 |
commit | 49345bda09742397e5e891ca4a7328c86363d1d4 (patch) | |
tree | 13f1357b376413b109846e28111883d9721284a5 /app-sci/epix | |
parent | add alpha (diff) | |
download | gentoo-2-49345bda09742397e5e891ca4a7328c86363d1d4.tar.gz gentoo-2-49345bda09742397e5e891ca4a7328c86363d1d4.tar.bz2 gentoo-2-49345bda09742397e5e891ca4a7328c86363d1d4.zip |
Initial import.
Diffstat (limited to 'app-sci/epix')
-rw-r--r-- | app-sci/epix/ChangeLog | 13 | ||||
-rw-r--r-- | app-sci/epix/epix-0.8.7a.ebuild | 69 | ||||
-rw-r--r-- | app-sci/epix/epix-0.8.8a.ebuild | 51 | ||||
-rw-r--r-- | app-sci/epix/files/digest-epix-0.8.7a | 1 | ||||
-rw-r--r-- | app-sci/epix/files/digest-epix-0.8.8a | 1 |
5 files changed, 135 insertions, 0 deletions
diff --git a/app-sci/epix/ChangeLog b/app-sci/epix/ChangeLog new file mode 100644 index 000000000000..6498dea0231b --- /dev/null +++ b/app-sci/epix/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for app-sci/epix +# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/epix/ChangeLog,v 1.1 2003/02/14 16:28:29 latexer Exp $ + +*epix-0.8.8a (14 Feb 2003) + + 14 Feb 2003; Peter Johanson <latexer@gentoo.org> epix-0.8.8a.ebuild files/digest-epix-0.8.8a : + Initial import. Ebuilds by me. + +*epix-0.8.7a (14 Feb 2003) + + 14 Feb 2003; Peter Johanson <latexer@gentoo.org> epix-0.8.7a.ebuild files/digest-epix-0.8.7a : + Initial import. Ebuilds by me. diff --git a/app-sci/epix/epix-0.8.7a.ebuild b/app-sci/epix/epix-0.8.7a.ebuild new file mode 100644 index 000000000000..c2aec43301a8 --- /dev/null +++ b/app-sci/epix/epix-0.8.7a.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/epix/epix-0.8.7a.ebuild,v 1.1 2003/02/14 16:28:29 latexer Exp $ + +DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)" +HOMEPAGE="http://mathcs.holycross.edu/~ahwang/current/ePiX.html" + +SRC_URI="ftp://ftp.ibiblio.org/${P}_src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" +DEPEND="sys-apps/bash" + + +src_unpack() { + unpack ${A} + cd ${S} + mv Makefile ${T} + sed -e "s:CXX=g++:CXX=${CXX}:" \ + -e "s:CFLAGS=-c -Wall:CFLAGS=-c -Wall ${CFLAGS}:" \ + -e "s:prefix=/usr/local:prefix=${D}/usr:" \ + -e "s:share/epix:share/${P}:" \ + -e "s:/man/man1:/share/man/man1:" \ + ${T}/Makefile > Makefile + + mv helpfiles.sh ${T} + sed -e "s:\${EPIX_SHARE}/epix:\${EPIX_SHARE}/${P}:" \ + ${T}/helpfiles.sh > helpfiles.sh + chmod a+x helpfiles.sh + + mv pre-install.sh ${T} + sed -e "s:man man/man1:share share/man share/man/man1:" \ + -e "s:share share/epix:share/${P}:" \ + ${T}/pre-install.sh > pre-install.sh + chmod a+x pre-install.sh +} + +src_compile() { + emake || die + emake contrib ||die + #make || die +} + +src_install() { + # You must *personally verify* that this trick doesn't install + # anything outside of DESTDIR; do this by reading and + # understanding the install part of the Makefiles. + make install || die + #doman epix.1 + # For Makefiles that don't make proper use of DESTDIR, setting + # prefix is often an alternative. However if you do this, then + # you also need to specify mandir and infodir, since they were + # passed to ./configure as absolute paths (overriding the prefix + # setting). + #make \ + # prefix=${D}/usr \ + # mandir=${D}/usr/share/man \ + # infodir=${D}/usr/share/info \ + # install || die + # Again, verify the Makefiles! We don't want anything falling + # outside of ${D}. + + # The portage shortcut to the above command is simply: + # + #einstall +} diff --git a/app-sci/epix/epix-0.8.8a.ebuild b/app-sci/epix/epix-0.8.8a.ebuild new file mode 100644 index 000000000000..5dd782db095e --- /dev/null +++ b/app-sci/epix/epix-0.8.8a.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-sci/epix/epix-0.8.8a.ebuild,v 1.1 2003/02/14 16:28:29 latexer Exp $ + +DESCRIPTION="2- and 3-D plotter for creating images (to be used in LaTeX)" +HOMEPAGE="http://mathcs.holycross.edu/~ahwang/current/ePiX.html" + +SRC_URI="ftp://ftp.ibiblio.org/${P}_src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" + +IUSE="" +DEPEND="sys-apps/bash" + + +src_unpack() { + unpack ${A} + cd ${S} + + # Some sedding to get things installed in the proper places. + + mv Makefile ${T} + sed -e "s:CXX=g++:CXX=${CXX}:" \ + -e "s:CFLAGS=-c -Wall:CFLAGS=-c -Wall ${CFLAGS}:" \ + -e "s:prefix=/usr/local:prefix=${D}/usr:" \ + -e "s:share/epix:share/${P}:" \ + -e "s:/man/man1:/share/man/man1:" \ + ${T}/Makefile > Makefile + + mv helpfiles.sh ${T} + sed -e "s:\${EPIX_SHAREDIR}/epix:\${EPIX_SHAREDIR}/${P}:" \ + ${T}/helpfiles.sh > helpfiles.sh + chmod a+x helpfiles.sh + + mv pre-install.sh ${T} + sed -e "s:man man/man1 share:share share/man share/man/man1:" \ + -e "s:share/epix:share/${P}:g" \ + ${T}/pre-install.sh > pre-install.sh + chmod a+x pre-install.sh +} + +src_compile() { + emake || die + emake contrib ||die +} + +src_install() { + make install || die +} diff --git a/app-sci/epix/files/digest-epix-0.8.7a b/app-sci/epix/files/digest-epix-0.8.7a new file mode 100644 index 000000000000..3f082bc6ec13 --- /dev/null +++ b/app-sci/epix/files/digest-epix-0.8.7a @@ -0,0 +1 @@ +MD5 88399be865d38569d2fa3788058e07ed epix-0.8.7a_src.tar.gz 100036 diff --git a/app-sci/epix/files/digest-epix-0.8.8a b/app-sci/epix/files/digest-epix-0.8.8a new file mode 100644 index 000000000000..e938e21923a2 --- /dev/null +++ b/app-sci/epix/files/digest-epix-0.8.8a @@ -0,0 +1 @@ +MD5 af72422c945d93d9c3b4518145877dde epix-0.8.8a_src.tar.gz 133834 |