summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Arnold <nerdboy@gentoo.org>2006-05-28 01:28:54 +0000
committerSteve Arnold <nerdboy@gentoo.org>2006-05-28 01:28:54 +0000
commite159bed6fcc202a87390dde966908fff2bdaf52d (patch)
treeec505e2f850c5f2ee9a8471aadc18b2299bf84bf /media-gfx
parentBump patchlevel to add a patch to support ffmpeg with (experimental) hidden v... (diff)
downloadhistorical-e159bed6fcc202a87390dde966908fff2bdaf52d.tar.gz
historical-e159bed6fcc202a87390dde966908fff2bdaf52d.tar.bz2
historical-e159bed6fcc202a87390dde966908fff2bdaf52d.zip
fixes and updates for bugs 123279, 120012, 132165, and 132689
Package-Manager: portage-2.1_rc1-r3
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/graphviz/ChangeLog9
-rw-r--r--media-gfx/graphviz/Manifest50
-rw-r--r--media-gfx/graphviz/files/digest-graphviz-2.83
-rw-r--r--media-gfx/graphviz/graphviz-2.4.ebuild32
-rw-r--r--media-gfx/graphviz/graphviz-2.6-r1.ebuild32
-rw-r--r--media-gfx/graphviz/graphviz-2.6.ebuild34
-rw-r--r--media-gfx/graphviz/graphviz-2.8.ebuild61
7 files changed, 151 insertions, 70 deletions
diff --git a/media-gfx/graphviz/ChangeLog b/media-gfx/graphviz/ChangeLog
index d307e7e85f00..dadbf92228ca 100644
--- a/media-gfx/graphviz/ChangeLog
+++ b/media-gfx/graphviz/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-gfx/graphviz
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.76 2006/04/27 22:56:04 marienz Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/ChangeLog,v 1.77 2006/05/28 01:28:54 nerdboy Exp $
+
+*graphviz-2.8 (28 May 2006)
+
+ 27 May 2006; Steve Arnold <nerdboy@gentoo.org> graphviz-2.4.ebuild,
+ graphviz-2.6.ebuild, graphviz-2.6-r1.ebuild, +graphviz-2.8.ebuild:
+ Fixes and updates for bugs 123279, 120012, 132165, and 132689, but not yet
+ cleaning up any packages. Stable bumps for known working versions.
27 Apr 2006; Marien Zwart <marienz@gentoo.org> files/digest-graphviz-1.10,
files/digest-graphviz-1.12, files/digest-graphviz-1.12-r1,
diff --git a/media-gfx/graphviz/Manifest b/media-gfx/graphviz/Manifest
index 95c351d13738..385b62d84642 100644
--- a/media-gfx/graphviz/Manifest
+++ b/media-gfx/graphviz/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX gdgen.c.patch 756 RMD160 b7ce39a4f82362974a7815a1fea24a6aa7be6c7d SHA1 4138a9beb80d854a857368d751521e37c2f8358f SHA256 13da476f3aa8aca5c96ebe82308a937a4391815f3d9bd768ad08cadc8218f6b7 size 756
MD5 5e8726d7d859188692efcfe9e9155761 files/gdgen.c.patch 756
RMD160 b7ce39a4f82362974a7815a1fea24a6aa7be6c7d files/gdgen.c.patch 756
@@ -42,6 +39,7 @@ DIST graphviz-2.2.1.tar.gz 4371071 RMD160 9e82389d40dfa71643ba1a8b0867051fe32175
DIST graphviz-2.2.tar.gz 4379295 RMD160 d1f97c236d045a43f8369f2fba3e4167b778eda7 SHA256 ede074976937086b490882c203da986213e80e2a02b20b8b1349f0b9a9f6ca7b size 4379295
DIST graphviz-2.4.tar.gz 4074857 RMD160 a9cf7ea13d01eb7e06f3dd1c705a0f9f36db9b48 SHA256 1b1b9348af629fd58a4a16ab0fbff9954a183194f72466255b2bd08a2ded095b size 4074857
DIST graphviz-2.6.tar.gz 4109848 RMD160 555c6c635b5271b09ffb7ee142192a1b4ec07919 SHA256 5208949dd8702205a5d65dfee4439870e36681aa076220cb159d28536fa2cca9 size 4109848
+DIST graphviz-2.8.tar.gz 4243130 RMD160 d3b46e9777e9db5ead4fdf5274c6bd10823fe4cd SHA256 be0c4b7e49f7c226c68d54bb47018f3b3bfb51bb992f5ad71da875cad13367ca size 4243130
EBUILD graphviz-1.10.ebuild 1276 RMD160 c43404b1aba04ad1fd24f0825f83682d8724504b SHA1 78eb7ab09b30bc1724183abf59647fd6d66446a6 SHA256 1c595cc5009c2609f0fcae1f6ac49a1662d1831ac40af4bd6c03a43f7251daa8 size 1276
MD5 2339df982693f89bc4ea845062b0597d graphviz-1.10.ebuild 1276
RMD160 c43404b1aba04ad1fd24f0825f83682d8724504b graphviz-1.10.ebuild 1276
@@ -74,22 +72,26 @@ EBUILD graphviz-2.2.ebuild 1917 RMD160 02edd3e7c2b3117641ef0ef967df0ff11f28557a
MD5 1d8314727c6cbd655072c67f39b30f0a graphviz-2.2.ebuild 1917
RMD160 02edd3e7c2b3117641ef0ef967df0ff11f28557a graphviz-2.2.ebuild 1917
SHA256 ec55f9493ded531cc95342e8143665e08e711a98b740c82f7bcce96518a56d13 graphviz-2.2.ebuild 1917
-EBUILD graphviz-2.4.ebuild 1180 RMD160 7e36c1637bc48b01a90b6e12ad09d1e664047661 SHA1 cf732351d8307221dfe1b968720764f088572bc4 SHA256 cd13784f87bbf6389800227a31b7d10a8f0a2ddfab609c8b7d6449718021905b size 1180
-MD5 beeeebe71f23f7a2c9d20cc4a6b86825 graphviz-2.4.ebuild 1180
-RMD160 7e36c1637bc48b01a90b6e12ad09d1e664047661 graphviz-2.4.ebuild 1180
-SHA256 cd13784f87bbf6389800227a31b7d10a8f0a2ddfab609c8b7d6449718021905b graphviz-2.4.ebuild 1180
-EBUILD graphviz-2.6-r1.ebuild 1600 RMD160 b529fcab3f9d5f9eaa5a16b1fa50179e1b668c9e SHA1 8ccce6568dc69eaf68266289a89d3dff97df1d84 SHA256 9e1158db25433eddb2f5bbe04aded13a551f38bbc844fa0b790cda0d881ac44d size 1600
-MD5 98c83ca811be5e1fb98dce1a886509e5 graphviz-2.6-r1.ebuild 1600
-RMD160 b529fcab3f9d5f9eaa5a16b1fa50179e1b668c9e graphviz-2.6-r1.ebuild 1600
-SHA256 9e1158db25433eddb2f5bbe04aded13a551f38bbc844fa0b790cda0d881ac44d graphviz-2.6-r1.ebuild 1600
-EBUILD graphviz-2.6.ebuild 1475 RMD160 33d8357ed35be08dfd74fc1df9077235b8dccb0b SHA1 1f7c23f7bcbbe3db3eb8450ead99915d2d25f717 SHA256 eff85eee15d8de4c7e3bb0b343eac595e55e27541de5c8fad063a65bec2812ac size 1475
-MD5 2993edee53e5dc66359d1e952a9499bc graphviz-2.6.ebuild 1475
-RMD160 33d8357ed35be08dfd74fc1df9077235b8dccb0b graphviz-2.6.ebuild 1475
-SHA256 eff85eee15d8de4c7e3bb0b343eac595e55e27541de5c8fad063a65bec2812ac graphviz-2.6.ebuild 1475
-MISC ChangeLog 11355 RMD160 eac2e01244faae785915fb6c7ba9cf5632e86fd0 SHA1 c15d38f5349d30fbbc8c4da79de35a674fda1040 SHA256 799a70497b143bdf90c712fbce7753c89026291284e3c57bc03d421d7dc02bab size 11355
-MD5 7489fa3eb2d5ff712906287abf989334 ChangeLog 11355
-RMD160 eac2e01244faae785915fb6c7ba9cf5632e86fd0 ChangeLog 11355
-SHA256 799a70497b143bdf90c712fbce7753c89026291284e3c57bc03d421d7dc02bab ChangeLog 11355
+EBUILD graphviz-2.4.ebuild 1177 RMD160 d84b00ab0307aa6c436be3636d04a3970cdd3a51 SHA1 db195d4a528f93761a68c5c7f7b7a111f886d4c0 SHA256 bc17fa5f5d2234ad0637078390d83c4b6dc33f02bba1f7e10ccf504d93caa41f size 1177
+MD5 f2c97c52530d9c3213ef196f3f21e961 graphviz-2.4.ebuild 1177
+RMD160 d84b00ab0307aa6c436be3636d04a3970cdd3a51 graphviz-2.4.ebuild 1177
+SHA256 bc17fa5f5d2234ad0637078390d83c4b6dc33f02bba1f7e10ccf504d93caa41f graphviz-2.4.ebuild 1177
+EBUILD graphviz-2.6-r1.ebuild 1666 RMD160 7ee3f28d23ee1c9c28906fd409e2ad7ea1d5cdef SHA1 e4f49aafcf61a7af8076bcf11556a834b6ecaa60 SHA256 ca5c914a198449417da53785c108ddaa46c890fcfc92157256570dfb750145af size 1666
+MD5 7fa89b1113370d328a6b0172e49b4ea4 graphviz-2.6-r1.ebuild 1666
+RMD160 7ee3f28d23ee1c9c28906fd409e2ad7ea1d5cdef graphviz-2.6-r1.ebuild 1666
+SHA256 ca5c914a198449417da53785c108ddaa46c890fcfc92157256570dfb750145af graphviz-2.6-r1.ebuild 1666
+EBUILD graphviz-2.6.ebuild 1541 RMD160 34c7c4ebdda35783b1b4f155aa01f03e4f6a72e1 SHA1 d0e4a0ae6e2494de4acc2cca3ed52146b108c16d SHA256 16c0a70a6229cf7a0b3db403b2391465c2fd63f6f23c4b3dffdb397ab6546250 size 1541
+MD5 ad0efa52c248454595a6da577f1e7a24 graphviz-2.6.ebuild 1541
+RMD160 34c7c4ebdda35783b1b4f155aa01f03e4f6a72e1 graphviz-2.6.ebuild 1541
+SHA256 16c0a70a6229cf7a0b3db403b2391465c2fd63f6f23c4b3dffdb397ab6546250 graphviz-2.6.ebuild 1541
+EBUILD graphviz-2.8.ebuild 1535 RMD160 0dfb9101eb4fc6df523f92ede88ce93fba2af8a4 SHA1 bba458613eff8bfa588c40658f291f31258cffa1 SHA256 9415d62ea5605d73cf29614aae071b81806e7448102a92d80db953c51e6200a6 size 1535
+MD5 4aaf7d5c5cbf47c3ee426047ea7eebf4 graphviz-2.8.ebuild 1535
+RMD160 0dfb9101eb4fc6df523f92ede88ce93fba2af8a4 graphviz-2.8.ebuild 1535
+SHA256 9415d62ea5605d73cf29614aae071b81806e7448102a92d80db953c51e6200a6 graphviz-2.8.ebuild 1535
+MISC ChangeLog 11671 RMD160 a3cd03524c8739ca20941103777416139a08405e SHA1 c837436a37ac122a207acc536e9a9c5c7279c773 SHA256 78118c6810ed280a92ba7d43e63ce391647f9db1e8a37bfca07235052215c113 size 11671
+MD5 86814a2361eadf0777909d5670a18440 ChangeLog 11671
+RMD160 a3cd03524c8739ca20941103777416139a08405e ChangeLog 11671
+SHA256 78118c6810ed280a92ba7d43e63ce391647f9db1e8a37bfca07235052215c113 ChangeLog 11671
MISC metadata.xml 1540 RMD160 4652a8cc1044e37e34e06be5480a9ee6f842c333 SHA1 b493bbaade7ae395c87ada0bbef0b0f0e7f7fb08 SHA256 c2a220f962a3048cc026e4c376b6555bfd0be7b401206d0ae3d265d628f231a1 size 1540
MD5 e98595ce89ff0da26058b1e6e0ce3d31 metadata.xml 1540
RMD160 4652a8cc1044e37e34e06be5480a9ee6f842c333 metadata.xml 1540
@@ -127,10 +129,6 @@ SHA256 9302285aa30bde290629f8252cfa2a3a0f738c675d45c27182dbbcde12093ff8 files/di
MD5 6c2cea84c578d35daed5c751084d3c29 files/digest-graphviz-2.6-r1 241
RMD160 b175ffd15be723416baa210d70ec90922c7cac0f files/digest-graphviz-2.6-r1 241
SHA256 9302285aa30bde290629f8252cfa2a3a0f738c675d45c27182dbbcde12093ff8 files/digest-graphviz-2.6-r1 241
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.3 (GNU/Linux)
-
-iD8DBQFEUUwNW78445TWHXcRAm3IAJ93LCgYYXrTo3l9d1CAy9K0hc+lLgCfc0mY
-KqEpzrLDxJEtr2ouomtByKU=
-=+L+h
------END PGP SIGNATURE-----
+MD5 e3e4ae371fc2d864bfc0abf37ed6a8e7 files/digest-graphviz-2.8 241
+RMD160 5fb21035102566ae43b15e15cfa41c26e5d1a195 files/digest-graphviz-2.8 241
+SHA256 46c7992c928f975cf353d76bf16f2c1f95442c40aa8d95f9a6914d69f567e802 files/digest-graphviz-2.8 241
diff --git a/media-gfx/graphviz/files/digest-graphviz-2.8 b/media-gfx/graphviz/files/digest-graphviz-2.8
new file mode 100644
index 000000000000..7b7f660f37dd
--- /dev/null
+++ b/media-gfx/graphviz/files/digest-graphviz-2.8
@@ -0,0 +1,3 @@
+MD5 ca921b4a9bcd86da4a1092bb17a57d83 graphviz-2.8.tar.gz 4243130
+RMD160 d3b46e9777e9db5ead4fdf5274c6bd10823fe4cd graphviz-2.8.tar.gz 4243130
+SHA256 be0c4b7e49f7c226c68d54bb47018f3b3bfb51bb992f5ad71da875cad13367ca graphviz-2.8.tar.gz 4243130
diff --git a/media-gfx/graphviz/graphviz-2.4.ebuild b/media-gfx/graphviz/graphviz-2.4.ebuild
index 75115a6a10f6..ab954ed72062 100644
--- a/media-gfx/graphviz/graphviz-2.4.ebuild
+++ b/media-gfx/graphviz/graphviz-2.4.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.4.ebuild,v 1.3 2005/10/31 05:07:01 j4rg0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.4.ebuild,v 1.4 2006/05/28 01:28:54 nerdboy Exp $
DESCRIPTION="Open Source Graph Visualization Software"
HOMEPAGE="http://www.graphviz.org/"
@@ -9,25 +9,29 @@ SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz"
LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~ppc ~ppc-macos ~ppc64 ~s390 ~x86"
-IUSE="cairo dynagraph tcltk X"
+IUSE="cairo tcltk X"
RDEPEND=">=sys-libs/zlib-1.1.3
- >=media-libs/libpng-1.2
- >=media-libs/jpeg-6b
- media-libs/freetype
- media-libs/fontconfig
- sys-devel/gettext
- dev-libs/expat
- sys-libs/zlib
- tcltk? ( >=dev-lang/tk-8.3 )
- cairo? ( >=x11-libs/libsvg-cairo-0.1.3 )"
+ >=media-libs/libpng-1.2
+ >=media-libs/jpeg-6b
+ media-libs/freetype
+ media-libs/fontconfig
+ sys-devel/gettext
+ dev-libs/expat
+ sys-libs/zlib
+ tcltk? ( >=dev-lang/tk-8.3 )
+ cairo? ( >=x11-libs/libsvg-cairo-0.1.3 )
+ X? || (
+ ( x11-libs/libXaw x11-libs/libXpm )
+ virtual/x11 )"
+
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_compile() {
econf --with-mylibgd \
- $(use_with dynagraph dynagraph) \
- $(use_with tcltk tcl) $(use_with tcltk tk) \
+ $(use_with tcltk tcl) \
+ $(use_with tcltk tk) \
$(use_with X x) || die "Configure Failed!"
emake || die "Compile Failed!"
}
diff --git a/media-gfx/graphviz/graphviz-2.6-r1.ebuild b/media-gfx/graphviz/graphviz-2.6-r1.ebuild
index b3456e8d6805..8350437067ba 100644
--- a/media-gfx/graphviz/graphviz-2.6-r1.ebuild
+++ b/media-gfx/graphviz/graphviz-2.6-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.6-r1.ebuild,v 1.2 2006/04/04 19:24:33 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.6-r1.ebuild,v 1.3 2006/05/28 01:28:54 nerdboy Exp $
inherit eutils libtool
@@ -11,25 +11,29 @@ SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz"
LICENSE="CPL-1.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
-IUSE="cairo dynagraph tcltk X static"
+IUSE="cairo tcltk X static"
RDEPEND=">=sys-libs/zlib-1.1.3
- >=media-libs/libpng-1.2
- >=media-libs/jpeg-6b
- media-libs/freetype
- media-libs/fontconfig
- dev-libs/expat
- sys-libs/zlib
- tcltk? ( >=dev-lang/tk-8.3 )
- cairo? ( >=x11-libs/libsvg-cairo-0.1.3 )"
+ >=media-libs/libpng-1.2
+ >=media-libs/jpeg-6b
+ media-libs/freetype
+ media-libs/fontconfig
+ dev-libs/expat
+ sys-libs/zlib
+ tcltk? ( >=dev-lang/tk-8.3 )
+ cairo? ( >=x11-libs/libsvg-cairo-0.1.3 )
+ X? || (
+ ( x11-libs/libXaw x11-libs/libXpm )
+ virtual/x11 )"
+
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/${P}"-no-undefined.patch
- epatch "${FILESDIR}/${P}"-macos.patch
+ epatch ${FILESDIR}/${P}-no-undefined.patch || die "epatch failed"
+ epatch ${FILESDIR}/${P}-macos.patch || die "epatch failed"
elibtoolize
}
@@ -38,8 +42,8 @@ src_compile() {
econf --with-mylibgd \
--disable-dependency-tracking \
$(use_enable static) \
- $(use_with dynagraph) \
- $(use_with tcltk tcl) $(use_with tcltk tk) \
+ $(use_with tcltk tcl) \
+ $(use_with tcltk tk) \
$(use_with X x) || die "Configure Failed!"
emake || die "Compile Failed!"
}
diff --git a/media-gfx/graphviz/graphviz-2.6.ebuild b/media-gfx/graphviz/graphviz-2.6.ebuild
index 73473110008d..65d492526703 100644
--- a/media-gfx/graphviz/graphviz-2.6.ebuild
+++ b/media-gfx/graphviz/graphviz-2.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.6.ebuild,v 1.7 2006/01/05 03:10:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.6.ebuild,v 1.8 2006/05/28 01:28:54 nerdboy Exp $
inherit eutils
@@ -10,34 +10,38 @@ SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz"
LICENSE="CPL-1.0"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="cairo dynagraph tcltk X static"
+KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc x86"
+IUSE="cairo tcltk X static"
RDEPEND=">=sys-libs/zlib-1.1.3
- >=media-libs/libpng-1.2
- >=media-libs/jpeg-6b
- media-libs/freetype
- media-libs/fontconfig
- dev-libs/expat
- sys-libs/zlib
- tcltk? ( >=dev-lang/tk-8.3 )
- cairo? ( >=x11-libs/libsvg-cairo-0.1.3 )"
+ >=media-libs/libpng-1.2
+ >=media-libs/jpeg-6b
+ media-libs/freetype
+ media-libs/fontconfig
+ dev-libs/expat
+ sys-libs/zlib
+ tcltk? ( >=dev-lang/tk-8.3 )
+ cairo? ( >=x11-libs/libsvg-cairo-0.1.3 )
+ X? || (
+ ( x11-libs/libXaw x11-libs/libXpm )
+ virtual/x11 )"
+
DEPEND="${RDEPEND}
dev-util/pkgconfig"
src_unpack() {
unpack ${A}
cd ${S}
- epatch "${FILESDIR}/${P}"-no-undefined.patch
- epatch "${FILESDIR}/${P}"-macos.patch
+ epatch ${FILESDIR}/${P}-no-undefined.patch || die "epatch failed"
+ epatch ${FILESDIR}/${P}-macos.patch || die "epatch failed"
}
src_compile() {
econf --with-mylibgd \
--disable-dependency-tracking \
$(use_enable static) \
- $(use_with dynagraph) \
- $(use_with tcltk tcl) $(use_with tcltk tk) \
+ $(use_with tcltk tcl) \
+ $(use_with tcltk tk) \
$(use_with X x) || die "Configure Failed!"
emake || die "Compile Failed!"
}
diff --git a/media-gfx/graphviz/graphviz-2.8.ebuild b/media-gfx/graphviz/graphviz-2.8.ebuild
new file mode 100644
index 000000000000..ee985e68460e
--- /dev/null
+++ b/media-gfx/graphviz/graphviz-2.8.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/graphviz/graphviz-2.8.ebuild,v 1.1 2006/05/28 01:28:54 nerdboy Exp $
+
+inherit eutils libtool
+
+DESCRIPTION="Open Source Graph Visualization Software"
+HOMEPAGE="http://www.graphviz.org/"
+SRC_URI="http://www.graphviz.org/pub/graphviz/ARCHIVE/${P}.tar.gz"
+
+LICENSE="CPL-1.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="cairo tcltk X static"
+
+RDEPEND=">=sys-libs/zlib-1.1.3
+ >=media-libs/libpng-1.2
+ >=media-libs/jpeg-6b
+ media-libs/freetype
+ media-libs/fontconfig
+ dev-libs/expat
+ sys-libs/zlib
+ tcltk? ( >=dev-lang/tk-8.3 )
+ cairo? ( >=x11-libs/libsvg-cairo-0.1.3 )
+ X? || (
+ ( x11-libs/libXaw x11-libs/libXpm )
+ virtual/x11 )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ elibtoolize
+}
+
+src_compile() {
+ econf --with-mylibgd \
+ --disable-dependency-tracking \
+ $(use_enable static) \
+ $(use_with tcltk tcl) \
+ $(use_with tcltk tk) \
+ $(use_with X x) || die "Configure Failed!"
+ emake || die "Compile Failed!"
+}
+
+src_install() {
+ sed -i -e "s:htmldir:htmlinfodir:g" doc/info/Makefile
+ make DESTDIR="${D}" \
+ txtdir=/usr/share/doc/${PF} \
+ htmldir=/usr/share/doc/${PF}/html \
+ htmlinfodir=/usr/share/doc/${PF}/html/info \
+ pdfdir=/usr/share/doc/${PF}/pdf \
+ pkgconfigdir=/usr/$(get_libdir)/pkgconfig \
+ install || die "Install Failed!"
+}
+
+pkg_postinst() {
+ dot -c
+}