summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-06-04 20:08:55 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-06-04 20:08:55 +0000
commitc51fa022f9322a02933079b14f2a959400dfc272 (patch)
tree248160dddff054fbbbb424c41d2ac4214f3f29c5 /media-gfx/dpic
parentStable on ppc64; bug #224929 (diff)
downloadgentoo-2-c51fa022f9322a02933079b14f2a959400dfc272.tar.gz
gentoo-2-c51fa022f9322a02933079b14f2a959400dfc272.tar.bz2
gentoo-2-c51fa022f9322a02933079b14f2a959400dfc272.zip
initial import, thanks to Adrian Perez <the.lightman@gmail.com>, bug #197668
(Portage version: 2.1.5.3)
Diffstat (limited to 'media-gfx/dpic')
-rw-r--r--media-gfx/dpic/ChangeLog11
-rw-r--r--media-gfx/dpic/Manifest4
-rw-r--r--media-gfx/dpic/dpic-20080511.ebuild36
-rw-r--r--media-gfx/dpic/metadata.xml5
4 files changed, 56 insertions, 0 deletions
diff --git a/media-gfx/dpic/ChangeLog b/media-gfx/dpic/ChangeLog
new file mode 100644
index 000000000000..822210da4835
--- /dev/null
+++ b/media-gfx/dpic/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-gfx/dpic
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/dpic/ChangeLog,v 1.1 2008/06/04 20:08:55 aballier Exp $
+
+*dpic-20080511 (04 Jun 2008)
+
+ 04 Jun 2008; Alexis Ballier <aballier@gentoo.org> +metadata.xml,
+ +dpic-20080511.ebuild:
+ initial import, thanks to Adrian Perez <the.lightman@gmail.com>, bug
+ #197668
+
diff --git a/media-gfx/dpic/Manifest b/media-gfx/dpic/Manifest
new file mode 100644
index 000000000000..784edeea34a1
--- /dev/null
+++ b/media-gfx/dpic/Manifest
@@ -0,0 +1,4 @@
+DIST dpic-20080511.tar.gz 182982 RMD160 9f2b224e8d8c7761ef88ec77ac0453b894c2c4ba SHA1 282e33be0c0d9fb7f4021c609e8647cd849303c3 SHA256 c335f2b7d2bfa307316c569476efe97aea3fd38e2d649a65b11dc233c2c5c00b
+EBUILD dpic-20080511.ebuild 984 RMD160 575bfbe418c9241f7905fddd5c992bd5e83f6033 SHA1 dc7f9611be2ed80886119b1055c5d290e8398420 SHA256 ca5bbd2d1a121603dcd4ff2078bcc34d845cf802b82379a462b93ac308ada23f
+MISC ChangeLog 319 RMD160 b5cf6b665fd6c518b0cfd63aae7ca2103bc1c55c SHA1 34d270f7e5e1e3194307f8062fa2c12d0b56ddfe SHA256 29efad61cce55fde407fcb0f8fbeffcda42d699cfc142166e11594f35fc93966
+MISC metadata.xml 156 RMD160 2bf6b2ed9ff0fcef1e902cf093ccf4ae2dcc70a0 SHA1 e9260cd53905d8569cf3327ded4c6d01653fc389 SHA256 b4971b8472ab3fe4fbfe41b331a79193ca19e86c08d055ad1c20eaf9e04b79b6
diff --git a/media-gfx/dpic/dpic-20080511.ebuild b/media-gfx/dpic/dpic-20080511.ebuild
new file mode 100644
index 000000000000..21481467878e
--- /dev/null
+++ b/media-gfx/dpic/dpic-20080511.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/dpic/dpic-20080511.ebuild,v 1.1 2008/06/04 20:08:55 aballier Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="Converts PIC plots into pstricks, PGF/TikZ, PostScript, MetaPost and TeX"
+HOMEPAGE="http://ece.uwaterloo.ca/~aplevich/dpic"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples"
+
+DEPEND=""
+
+S="${WORKDIR}/${PN}"
+
+src_compile () {
+ # Instead of patching the makefile, we just create a new one that will use
+ # cflags, ldflags & friends
+ echo "LDLIBS=-lm" > Makefile
+ echo "dpic: dpic.o dpic2.o p2clib.o" >> Makefile
+ tc-export CC
+ emake || die "emake failed"
+}
+
+src_install () {
+ dobin dpic || die "installing dpic failed"
+ dodoc README doc/dpic_man.txt doc/gpic.ps.gz || die "installing docs failed"
+ if use examples; then
+ insinto /usr/share/doc/${PF}/examples
+ doins doc/examples/README doc/examples/Examples.txt doc/examples/sources/* || die "installing examples failed"
+ fi
+}
diff --git a/media-gfx/dpic/metadata.xml b/media-gfx/dpic/metadata.xml
new file mode 100644
index 000000000000..ba6a8a8800d5
--- /dev/null
+++ b/media-gfx/dpic/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>tex</herd>
+</pkgmetadata>