summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeonardo Boshell <leonardop@gentoo.org>2004-01-10 11:09:36 +0000
committerLeonardo Boshell <leonardop@gentoo.org>2004-01-10 11:09:36 +0000
commiteacccee80c398bf1850fccbec65a3a1c770c0814 (patch)
treecf4ca2d88dc2922c0afd95d15fa03621be53553f /media-gfx/tuxpaint
parentVersion bump (diff)
downloadhistorical-eacccee80c398bf1850fccbec65a3a1c770c0814.tar.gz
historical-eacccee80c398bf1850fccbec65a3a1c770c0814.tar.bz2
historical-eacccee80c398bf1850fccbec65a3a1c770c0814.zip
Version bump
Diffstat (limited to 'media-gfx/tuxpaint')
-rw-r--r--media-gfx/tuxpaint/Manifest6
-rw-r--r--media-gfx/tuxpaint/files/digest-tuxpaint-0.9.131
-rw-r--r--media-gfx/tuxpaint/tuxpaint-0.9.12.ebuild4
-rw-r--r--media-gfx/tuxpaint/tuxpaint-0.9.13.ebuild65
4 files changed, 71 insertions, 5 deletions
diff --git a/media-gfx/tuxpaint/Manifest b/media-gfx/tuxpaint/Manifest
index 27915605b99c..090ee766281a 100644
--- a/media-gfx/tuxpaint/Manifest
+++ b/media-gfx/tuxpaint/Manifest
@@ -1,6 +1,6 @@
-MD5 1e37d9c1c3c504993cb183bc71dac2e3 tuxpaint-0.9.12.ebuild 1876
-MD5 9d0318460af84a9962617aede0fa1b51 ChangeLog 736
+MD5 426881aad0243944c1f36dbae0e84e75 tuxpaint-0.9.12.ebuild 1876
+MD5 7b8c4b461f3593a4cc4b752fec496471 ChangeLog 858
MD5 978ca7de1eb30365afc7555b471468a6 metadata.xml 219
-MD5 1e37d9c1c3c504993cb183bc71dac2e3 tuxpaint-0.9.13.ebuild 1876
+MD5 2e1103469e8a7530e0d3be90443c48f0 tuxpaint-0.9.13.ebuild 1877
MD5 60d68c719ff0eec4ce2849662bbce97e files/digest-tuxpaint-0.9.12 68
MD5 9f0ca98deef70db6f3e6878392434cae files/digest-tuxpaint-0.9.13 68
diff --git a/media-gfx/tuxpaint/files/digest-tuxpaint-0.9.13 b/media-gfx/tuxpaint/files/digest-tuxpaint-0.9.13
new file mode 100644
index 000000000000..72e101efa274
--- /dev/null
+++ b/media-gfx/tuxpaint/files/digest-tuxpaint-0.9.13
@@ -0,0 +1 @@
+MD5 580ed290af35c34a33f2206f7f36e489 tuxpaint-0.9.13.tar.gz 2495193
diff --git a/media-gfx/tuxpaint/tuxpaint-0.9.12.ebuild b/media-gfx/tuxpaint/tuxpaint-0.9.12.ebuild
index c814426057a4..c69e3630b70d 100644
--- a/media-gfx/tuxpaint/tuxpaint-0.9.12.ebuild
+++ b/media-gfx/tuxpaint/tuxpaint-0.9.12.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Copyright 1999-2004 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.4 2003/12/10 19:53:37 leonardop Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/tuxpaint/tuxpaint-0.9.12.ebuild,v 1.5 2004/01/10 11:09:19 leonardop Exp $
DESCRIPTION="Drawing program designed for young children (kids ages 3 and up)"
HOMEPAGE="http://www.newbreedsoftware.com/tuxpaint/"
diff --git a/media-gfx/tuxpaint/tuxpaint-0.9.13.ebuild b/media-gfx/tuxpaint/tuxpaint-0.9.13.ebuild
new file mode 100644
index 000000000000..1dec204a4fb5
--- /dev/null
+++ b/media-gfx/tuxpaint/tuxpaint-0.9.13.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2004 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.13.ebuild,v 1.1 2004/01/10 11:09:19 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 can cause some grief at this point..
+ make || die
+}
+
+src_install () {
+ sed -i "s:^PREFIX=.*:PREFIX=${D}usr:" Makefile
+ sed -i "s:^ CONFDIR=.*: CONFDIR=${D}etc/tuxpaint:" Makefile
+ sed -i 's:make install-gnome.*:echo " Nothing to install"; \\:' Makefile
+
+ dodir /usr/bin
+ use kde && dodir /usr/kde/3.1/share/applnk/Graphics \
+ /usr/kde/3.1/share/icons/hicolor/48x48/apps \
+ /usr/kde/3.1/share/icons/hicolor/32x32/apps \
+ /usr/kde/3.1/share/icons/hicolor/16x16/apps
+
+ make install || die
+
+ rm docs/INSTALL.txt
+ dodoc docs/*.txt
+}