summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-06-17 07:11:44 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-06-17 07:11:44 +0000
commit0f0ebe272d0bbf34eb8fc5591284e31a58fa6a0d (patch)
tree12a1e81947bf27d17b22ce3588d1d151e3dd1414
parentversion bump (diff)
downloadgentoo-2-0f0ebe272d0bbf34eb8fc5591284e31a58fa6a0d.tar.gz
gentoo-2-0f0ebe272d0bbf34eb8fc5591284e31a58fa6a0d.tar.bz2
gentoo-2-0f0ebe272d0bbf34eb8fc5591284e31a58fa6a0d.zip
version bump
(Portage version: 2.2_rc33/cvs/Linux x86_64)
-rw-r--r--dev-tex/sketch/ChangeLog9
-rw-r--r--dev-tex/sketch/sketch-0.2.159.ebuild44
2 files changed, 51 insertions, 2 deletions
diff --git a/dev-tex/sketch/ChangeLog b/dev-tex/sketch/ChangeLog
index 401ad1afecfe..97399287db1c 100644
--- a/dev-tex/sketch/ChangeLog
+++ b/dev-tex/sketch/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-tex/sketch
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tex/sketch/ChangeLog,v 1.5 2008/11/25 09:13:39 aballier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/sketch/ChangeLog,v 1.6 2009/06/17 07:11:44 aballier Exp $
+
+*sketch-0.2.159 (17 Jun 2009)
+
+ 17 Jun 2009; Alexis Ballier <aballier@gentoo.org> +sketch-0.2.159.ebuild:
+ version bump
25 Nov 2008; Alexis Ballier <aballier@gentoo.org> sketch-0.2.141.ebuild:
keyword ~ppc64, working fine on a PowerMac 970
diff --git a/dev-tex/sketch/sketch-0.2.159.ebuild b/dev-tex/sketch/sketch-0.2.159.ebuild
new file mode 100644
index 000000000000..8de268516e83
--- /dev/null
+++ b/dev-tex/sketch/sketch-0.2.159.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tex/sketch/sketch-0.2.159.ebuild,v 1.1 2009/06/17 07:11:44 aballier Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Produces drawings of two- or three-dimensional solid objects and scenes for TeX"
+HOMEPAGE="http://www.frontiernet.net/~eugene.ressler/"
+SRC_URI="http://www.frontiernet.net/~eugene.ressler/${P}.tgz"
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64 ~x86"
+IUSE="doc examples"
+
+DEPEND="dev-lang/perl"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ sed -i -e "s:\$(CC):\$(CC) \$(LDFLAGS):" makefile
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" LDFLAGS="${LDFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dobin sketch || die
+ edos2unix Doc/sketch.info
+ doinfo Doc/sketch.info || die
+ dohtml updates.htm || die
+ if use doc ; then
+ insinto /usr/share/doc/${PF}
+ doins Doc/sketch.pdf || die
+ dohtml Doc/sketch/* || die
+ fi
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/examples
+ doins Data/* || die "Failed to install examples"
+ fi
+}