From 8cf579ca7a082927e4ac7a447f0f31cb0094a100 Mon Sep 17 00:00:00 2001 From: "Dmitry Dzhus (dzhus)" Date: Sun, 10 Aug 2008 12:57:46 +0000 Subject: Respect compiler and LDFLAGS, install examples, do not compress PDF docs. Suggested by A. Ballier, reviewed by Tommy[D]. svn path=/sunrise/; revision=6724 --- dev-tex/sketch/ChangeLog | 5 ++++ dev-tex/sketch/Manifest | 4 ++-- dev-tex/sketch/sketch-0.2.90-r1.ebuild | 44 ++++++++++++++++++++++++++++++++++ dev-tex/sketch/sketch-0.2.90.ebuild | 27 --------------------- 4 files changed, 51 insertions(+), 29 deletions(-) create mode 100644 dev-tex/sketch/sketch-0.2.90-r1.ebuild delete mode 100644 dev-tex/sketch/sketch-0.2.90.ebuild diff --git a/dev-tex/sketch/ChangeLog b/dev-tex/sketch/ChangeLog index 3fb6bb65d..5238bef50 100644 --- a/dev-tex/sketch/ChangeLog +++ b/dev-tex/sketch/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 10 Aug 2008; Dmitry Dzhus (dzhus) + -sketch-0.2.90.ebuild, +sketch-0.2.90-r1.ebuild: + Respect compiler and LDFLAGS, install examples, do not compress PDF docs. + Suggested by A. Ballier, reviewed by Tommy[D]. + 01 Aug 2008; Dmitry Dzhus (dzhus) +sketch-0.2.90.ebuild, +metadata.xml: New ebuild from bug 233249 diff --git a/dev-tex/sketch/Manifest b/dev-tex/sketch/Manifest index 111c018a4..38b31f6d9 100644 --- a/dev-tex/sketch/Manifest +++ b/dev-tex/sketch/Manifest @@ -1,4 +1,4 @@ DIST sketch-0.2.90.tgz 2867504 RMD160 eb413cf57929adc59f9c793316c245c22a940e10 SHA1 0de46e1bebab0bfbb623256e2665a849356b1ddd SHA256 f69e0b9c96466a9c1c44f520a5a56af9891c93302c9a7a5dd337ab18371f7e62 -EBUILD sketch-0.2.90.ebuild 615 RMD160 adb2a85ef519bf45b467964f43aec3ed8019ce65 SHA1 cdcd7c973e7b6674fd774b6cfda33ef4c34b1f4c SHA256 dc7de920699fcc97e86f2aba5f78ae48a3aeea907318c9d9add28a2ba9d331cd -MISC ChangeLog 242 RMD160 f402893d2c35a37c8fc9feff80513cad33c43800 SHA1 b508aacd7bf3b9394585a97f553b1a6df626c7ba SHA256 28da30412ab2cbf18d031edeef377dc2a55cb4dfc5239481bbc3fd472a8e9d0c +EBUILD sketch-0.2.90-r1.ebuild 998 RMD160 691a78b4e9451acc78b1e574d93e7816c7450ad5 SHA1 704d95b09e93e6082dfff88c6365ff1b22099492 SHA256 dbc4ef3a460ac17453f164a759ca9d1d4222f9201f7cbf3cf92f5d61796441c5 +MISC ChangeLog 476 RMD160 7a42ca2bebb9cf22aa698ac60e8ea5fc63bac78c SHA1 38559028e0c092432a30d0c73bffb5865acfe4b2 SHA256 c0dec856cd92764ce61ec315cf80a460dee90609eab7d5a723e209ce3bd1e5bd MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/dev-tex/sketch/sketch-0.2.90-r1.ebuild b/dev-tex/sketch/sketch-0.2.90-r1.ebuild new file mode 100644 index 000000000..f84fa2e35 --- /dev/null +++ b/dev-tex/sketch/sketch-0.2.90-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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="~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 +} diff --git a/dev-tex/sketch/sketch-0.2.90.ebuild b/dev-tex/sketch/sketch-0.2.90.ebuild deleted file mode 100644 index 1797d441c..000000000 --- a/dev-tex/sketch/sketch-0.2.90.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -inherit eutils - -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="~x86" -IUSE="doc" - -DEPEND="dev-lang/perl" -RDEPEND="" - -src_install() { - dobin sketch || die - edos2unix Doc/sketch.info - doinfo Doc/sketch.info || die - if use doc ; then - dodoc Doc/sketch.pdf || die - dohtml Doc/sketch/* || die - fi -} \ No newline at end of file -- cgit v1.2.3-65-gdbad