diff options
Diffstat (limited to 'net-www/bk_edit')
-rw-r--r-- | net-www/bk_edit/ChangeLog | 10 | ||||
-rw-r--r-- | net-www/bk_edit/Manifest | 5 | ||||
-rw-r--r-- | net-www/bk_edit/bk_edit-0.6.23.ebuild | 50 | ||||
-rw-r--r-- | net-www/bk_edit/files/bk_edit-0.6.23-sandbox.patch | 17 | ||||
-rw-r--r-- | net-www/bk_edit/files/digest-bk_edit-0.6.23 | 1 | ||||
-rw-r--r-- | net-www/bk_edit/metadata.xml | 8 |
6 files changed, 91 insertions, 0 deletions
diff --git a/net-www/bk_edit/ChangeLog b/net-www/bk_edit/ChangeLog new file mode 100644 index 000000000000..9cd34f0a7b26 --- /dev/null +++ b/net-www/bk_edit/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-www/bk_edit +# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/bk_edit/ChangeLog,v 1.1 2004/10/31 16:59:42 chriswhite Exp $ + +*bk_edit-0.6.23 (31 Oct 2004) + + 31 Oct 2004; Chris White <chriswhite@gentoo.org> +metadata.xml, + +files/bk_edit-0.6.23-sandbox.patch, +bk_edit-0.6.23.ebuild: + Initial import into the tree. Closes bug #20933. + diff --git a/net-www/bk_edit/Manifest b/net-www/bk_edit/Manifest new file mode 100644 index 000000000000..66ddfcf837ae --- /dev/null +++ b/net-www/bk_edit/Manifest @@ -0,0 +1,5 @@ +MD5 d006c4ccdfff740104a6c53a5376fa6c bk_edit-0.6.23.ebuild 1113 +MD5 61e0760385f6cbd59f2e755773e22932 metadata.xml 226 +MD5 dc43e6387d779ab4df6af301c5ad4b0f ChangeLog 419 +MD5 110afe7d55e1303c56225aeba1b55918 files/digest-bk_edit-0.6.23 66 +MD5 041868a68250c4ca7322169d9aa0b7b3 files/bk_edit-0.6.23-sandbox.patch 576 diff --git a/net-www/bk_edit/bk_edit-0.6.23.ebuild b/net-www/bk_edit/bk_edit-0.6.23.ebuild new file mode 100644 index 000000000000..cf33ed5db4c0 --- /dev/null +++ b/net-www/bk_edit/bk_edit-0.6.23.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/bk_edit/bk_edit-0.6.23.ebuild,v 1.1 2004/10/31 16:59:42 chriswhite Exp $ + +inherit eutils +DESCRIPTION="bk_edit is an easy to use bookmark manager and editor." +HOMEPAGE="http://www2.fht-esslingen.de/~clfuit00/sasnt/bk_edit/" +SRC_URI="http://www.allesdurcheinander.de/nettools/bk_edit/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="x86" +IUSE="" + +DEPEND="sys-devel/flex + sys-devel/bison + >=x11-libs/gtk+-1.2.0 + >=dev-libs/libxml2-2.4.1" + +cflags_replace() { + for files in * + do + if [ -d $files ] + then + sed -e "s:^CFLAGS\s*=\s*:CFLAGS = ${CFLAGS} :" -i $files/Makefile + fi + done +} + +src_compile() { + econf || die "Configuration failed!" + + #fixes makefile against sandboxing + epatch ${FILESDIR}/${P}-sandbox.patch + + #custom CFLAGS for main src + cflags_replace + + #custom CFLAGS for the plugins too + cd ${S}/src/plugins + cflags_replace + + cd ${S} + + emake || die "Make failed!" +} + +src_install() { + make DESTDIR=${D} install || die + dodoc ChangeLog INSTALL README +} diff --git a/net-www/bk_edit/files/bk_edit-0.6.23-sandbox.patch b/net-www/bk_edit/files/bk_edit-0.6.23-sandbox.patch new file mode 100644 index 000000000000..ceeee7d1cb71 --- /dev/null +++ b/net-www/bk_edit/files/bk_edit-0.6.23-sandbox.patch @@ -0,0 +1,17 @@ +--- src/Makefile.old 2004-10-31 15:44:31.265766632 +0900 ++++ src/Makefile 2004-10-31 15:45:22.477981192 +0900 +@@ -29,10 +29,10 @@ + cd plugins && make + + install: +- $(INSTALL) -d -m 755 /usr/bin/ +- $(INSTALL) -m 755 $(PROG) /usr/bin/ +- $(INSTALL) -d -m 755 /usr/share/bkedit/ +- $(INSTALL) -m 755 ./plugins/*.so /usr/share/bkedit/ ++ $(INSTALL) -d -m 755 $(DESTDIR)/usr/bin/ ++ $(INSTALL) -m 755 $(PROG) $(DESTDIR)/usr/bin/ ++ $(INSTALL) -d -m 755 $(DESTDIR)/usr/share/bkedit/ ++ $(INSTALL) -m 755 ./plugins/*.so $(DESTDIR)/usr/share/bkedit/ + + uninstall: + $(RM) /usr/bin/$(PROG) diff --git a/net-www/bk_edit/files/digest-bk_edit-0.6.23 b/net-www/bk_edit/files/digest-bk_edit-0.6.23 new file mode 100644 index 000000000000..932e2c91dd0f --- /dev/null +++ b/net-www/bk_edit/files/digest-bk_edit-0.6.23 @@ -0,0 +1 @@ +MD5 75d753de003b87ca85f71e652ca4d759 bk_edit-0.6.23.tar.gz 113434 diff --git a/net-www/bk_edit/metadata.xml b/net-www/bk_edit/metadata.xml new file mode 100644 index 000000000000..6c17fdc80f9a --- /dev/null +++ b/net-www/bk_edit/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>mozilla</herd> +<maintainer> + <email>chriswhite@gentoo.org</email> +</maintainer> +</pkgmetadata> |