summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Jones <cretin@gentoo.org>2005-07-26 03:32:25 +0000
committerStefan Jones <cretin@gentoo.org>2005-07-26 03:32:25 +0000
commitd22a814baf53fb897958a598b47f3d1aa4cf6b3f (patch)
tree4c2c5e81ae0db45ca15c5fc3cd89f689868ab85b /dev-tcltk/blt
parentVersion bump #100149 by Erdroh Moshan. (diff)
downloadgentoo-2-d22a814baf53fb897958a598b47f3d1aa4cf6b3f.tar.gz
gentoo-2-d22a814baf53fb897958a598b47f3d1aa4cf6b3f.tar.bz2
gentoo-2-d22a814baf53fb897958a598b47f3d1aa4cf6b3f.zip
Rename man pages to .nblt so fix bug #88629
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-tcltk/blt')
-rw-r--r--dev-tcltk/blt/ChangeLog7
-rw-r--r--dev-tcltk/blt/Manifest12
-rw-r--r--dev-tcltk/blt/blt-2.4z-r1.ebuild57
-rw-r--r--dev-tcltk/blt/files/digest-blt-2.4z-r11
4 files changed, 66 insertions, 11 deletions
diff --git a/dev-tcltk/blt/ChangeLog b/dev-tcltk/blt/ChangeLog
index 2ca96d0e1bf8..0bcbe7035403 100644
--- a/dev-tcltk/blt/ChangeLog
+++ b/dev-tcltk/blt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-tcltk/blt
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/ChangeLog,v 1.15 2005/05/08 22:00:30 herbs Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/ChangeLog,v 1.16 2005/07/26 03:32:25 cretin Exp $
+
+*blt-2.4z-r1 (25 Jul 2005):
+
+ 25 Jul 2005; Stefan Jones <cretin@gentoo.org> blt-2.4z-r1.ebuild:
+ Rename man pages to .nblt so fix bug #88629
08 May 2005; Herbie Hopkins <herbs@gentoo.org> blt-2.4z.ebuild:
Multilib fixes.
diff --git a/dev-tcltk/blt/Manifest b/dev-tcltk/blt/Manifest
index 74ffaf6dfb0c..445862749a53 100644
--- a/dev-tcltk/blt/Manifest
+++ b/dev-tcltk/blt/Manifest
@@ -1,16 +1,8 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
+MD5 9fe9c4fa2ef934a132e308a8b31b0c2a blt-2.4z-r1.ebuild 1532
MD5 e4d91ad87d8feb1b14acc00d191e3512 blt-2.4z.ebuild 1410
MD5 2f0121e8e39e073feaa235bcedb8ecbf ChangeLog 2299
MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160
+MD5 f7520f3503b4d2475a88f97378008989 files/digest-blt-2.4z-r1 60
MD5 7a916f8036ad42f7a756631a5066453b files/blt2.4z-64bit.patch 891
MD5 aa8c1dfd524ccc5b50a03df01db5cde3 files/blt2.4z-install.diff 1057
MD5 f7520f3503b4d2475a88f97378008989 files/digest-blt-2.4z 60
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCfowr2G5bA0cA/ScRAo7QAJ9VdqJfR6PecWdRdpnxExIk7BNzTQCcCExb
-Ks/b3i8HiFpT6uOLaI1DAmY=
-=F08T
------END PGP SIGNATURE-----
diff --git a/dev-tcltk/blt/blt-2.4z-r1.ebuild b/dev-tcltk/blt/blt-2.4z-r1.ebuild
new file mode 100644
index 000000000000..b4e4d4cbb29a
--- /dev/null
+++ b/dev-tcltk/blt/blt-2.4z-r1.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-tcltk/blt/blt-2.4z-r1.ebuild,v 1.1 2005/07/26 03:32:25 cretin Exp $
+
+inherit eutils
+
+SRC_URI="mirror://sourceforge/blt/BLT2.4z.tar.gz"
+HOMEPAGE="http://blt.sf.net"
+DESCRIPTION="BLT is an extension to the Tk toolkit adding new widgets, geometry managers, and miscellaneous commands."
+DEPEND=">=dev-lang/tk-8.0"
+IUSE=""
+SLOT="0"
+LICENSE="BSD"
+KEYWORDS="x86 sparc ppc amd64"
+
+S="${WORKDIR}/${PN}${PV}"
+
+src_unpack() {
+ unpack ${A}
+ epatch ${FILESDIR}/blt2.4z-install.diff
+
+ if [ "${ARCH}" = "amd64" -o "${ARCH}" = "ia64" ] ; then
+ # From blt-2.4z-6mdk.src.rpm
+ epatch ${FILESDIR}/blt2.4z-64bit.patch
+ fi
+
+ # Set the correct libdir
+ sed -i -e "s:\(^libdir=\${exec_prefix}/\)lib:\1$(get_libdir):" \
+ ${S}/configure || die "sed failed"
+}
+
+src_compile() {
+ cd ${S}
+ ./configure --host=${CHOST} \
+ --prefix=/usr \
+ --libdir=/usr/$(get_libdir) \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --with-x \
+ --with-tcl=/usr/$(get_libdir) || die "./configure failed"
+
+ emake -j1 CFLAGS="${CFLAGS}" || die "emake failed"
+}
+
+src_install() {
+ dodir /usr/bin \
+ /usr/lib/blt2.4/demos/bitmaps \
+ /usr/share/man/mann \
+ /usr/include \
+ || die "dodir failed"
+ make INSTALL_ROOT=${D} install || die "make install failed"
+
+ dodoc NEWS PROBLEMS README
+ for f in `ls ${D}/usr/share/man/mann` ; do
+ mv ${D}/usr/share/man/mann/${f} ${D}/usr/share/man/mann/${f/.n/.nblt}
+ done
+}
diff --git a/dev-tcltk/blt/files/digest-blt-2.4z-r1 b/dev-tcltk/blt/files/digest-blt-2.4z-r1
new file mode 100644
index 000000000000..9171588c4e51
--- /dev/null
+++ b/dev-tcltk/blt/files/digest-blt-2.4z-r1
@@ -0,0 +1 @@
+MD5 aa2ed73080f3005d9c2a3b5e57ab1eff BLT2.4z.tar.gz 2200973