summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/tuxpaint/ChangeLog8
-rw-r--r--media-gfx/tuxpaint/Manifest4
-rw-r--r--media-gfx/tuxpaint/files/digest-tuxpaint-0.9.121
-rw-r--r--media-gfx/tuxpaint/metadata.xml5
-rw-r--r--media-gfx/tuxpaint/tuxpaint-0.9.12.ebuild58
5 files changed, 75 insertions, 1 deletions
diff --git a/media-gfx/tuxpaint/ChangeLog b/media-gfx/tuxpaint/ChangeLog
new file mode 100644
index 000000000000..e78f4314290d
--- /dev/null
+++ b/media-gfx/tuxpaint/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for media-gfx/tuxpaint
+# Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/ChangeLog,v 1.1 2003/10/31 12:35:35 leonardop Exp $
+
+*tuxpaint-0.9.12 (31 Oct 2003)
+
+ 31 Oct 2003; L. Boshell <leonardop@gentoo.org> tuxpaint-0.9.12.ebuild :
+ Initial import. Thanks to Ron for the contribution on bug #15530.
diff --git a/media-gfx/tuxpaint/Manifest b/media-gfx/tuxpaint/Manifest
index e266ea13818b..c109ae3bc8bb 100644
--- a/media-gfx/tuxpaint/Manifest
+++ b/media-gfx/tuxpaint/Manifest
@@ -1,2 +1,4 @@
-MD5 ff7b9e468237dc257e01fdf68ba6b988 tuxpaint-0.9.12.ebuild 6643
+MD5 4ad5b849f7248a40f479c4d746379758 tuxpaint-0.9.12.ebuild 1558
+MD5 23d5fe4e047fd4b947f38ff07f31fff4 ChangeLog 395
+MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
MD5 60d68c719ff0eec4ce2849662bbce97e files/digest-tuxpaint-0.9.12 68
diff --git a/media-gfx/tuxpaint/files/digest-tuxpaint-0.9.12 b/media-gfx/tuxpaint/files/digest-tuxpaint-0.9.12
new file mode 100644
index 000000000000..460ea229d02b
--- /dev/null
+++ b/media-gfx/tuxpaint/files/digest-tuxpaint-0.9.12
@@ -0,0 +1 @@
+MD5 62948b25f244e99bd306c08c2fbd6445 tuxpaint-0.9.12.tar.gz 2334772
diff --git a/media-gfx/tuxpaint/metadata.xml b/media-gfx/tuxpaint/metadata.xml
new file mode 100644
index 000000000000..da6fd63d0085
--- /dev/null
+++ b/media-gfx/tuxpaint/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>gnome</herd>
+</pkgmetadata>
diff --git a/media-gfx/tuxpaint/tuxpaint-0.9.12.ebuild b/media-gfx/tuxpaint/tuxpaint-0.9.12.ebuild
new file mode 100644
index 000000000000..db693c880ea2
--- /dev/null
+++ b/media-gfx/tuxpaint/tuxpaint-0.9.12.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/tuxpaint-0.9.12.ebuild,v 1.1 2003/10/31 12:35:35 leonardop Exp $
+
+DESCRIPTION="Drawing program designed for young children (kids ages 3 and up)"
+HOMEPAGE="http://www.newbreedsoftware.com/tuxpaint/"
+
+DEPEND="media-libs/libpng
+ media-libs/sdl-ttf
+ media-libs/sdl-mixer
+ media-libs/sdl-image
+ media-libs/libsdl
+ >=media-libs/freetype-2
+ media-libs/netpbm
+ sys-devel/gettext"
+
+IUSE="gnome kde"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+src_compile() {
+ sed -i "s:^PREFIX=.*:PREFIX=/usr:" Makefile
+ sed -i "s:^ CONFDIR=.*: CONFDIR=/etc/tuxpaint:" Makefile
+ sed -i "s/^CFLAGS=.*/CFLAGS=${CFLAGS}/" Makefile
+ sed -i "s/^SDL_LIBS=/SDL_LIBS:=-lSDL_mixer /" Makefile
+ sed -i "s/^SDL_CFLAGS=/SDL_CFLAGS:=/" Makefile
+
+ if [ `use gnome` ]
+ then
+ sed -i "s:^GNOME_PREFIX=:GNOME_PREFIX=${D}:" Makefile
+ else
+ sed -i "s:^GNOME_PREFIX=.*:GNOME_PREFIX=:" Makefile
+ fi
+
+ if [ `use kde` ]
+ then
+ sed -i "s:^KDE_PREFIX=:KDE_PREFIX=${D}:" Makefile
+ sed -i "s:^KDE_ICON_PREFIX=:KDE_ICON_PREFIX=${D}:" Makefile
+ else
+ sed -i "s:^KDE_PREFIX=.*:KDE_PREFIX=:" Makefile
+ sed -i "s:^KDE_ICON_PREFIX=.*:KDE_ICON_PREFIX=:" Makefile
+ fi
+
+ emake || die
+}
+
+src_install () {
+ sed -i "s:^PREFIX=.*:PREFIX=${D}usr:" Makefile
+ sed -i "s:^ CONFDIR=.*: CONFDIR=${D}etc/tuxpaint:" Makefile
+
+ dodir /usr/bin
+ make install || die
+
+ rm docs/INSTALL.txt
+ dodoc docs/*.txt
+}