summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Cummings <mcummings@gentoo.org>2004-12-21 15:24:18 +0000
committerMichael Cummings <mcummings@gentoo.org>2004-12-21 15:24:18 +0000
commitdab2b8f9cbb81054521a600fba1c7c23fbf70826 (patch)
tree4671e54221f7f8c321cd499419e03e4a1be0d6fa /app-misc/bins/bins-1.1.27.ebuild
parentbug 57227 (diff)
downloadhistorical-dab2b8f9cbb81054521a600fba1c7c23fbf70826.tar.gz
historical-dab2b8f9cbb81054521a600fba1c7c23fbf70826.tar.bz2
historical-dab2b8f9cbb81054521a600fba1c7c23fbf70826.zip
bug 69911
Diffstat (limited to 'app-misc/bins/bins-1.1.27.ebuild')
-rw-r--r--app-misc/bins/bins-1.1.27.ebuild63
1 files changed, 63 insertions, 0 deletions
diff --git a/app-misc/bins/bins-1.1.27.ebuild b/app-misc/bins/bins-1.1.27.ebuild
new file mode 100644
index 000000000000..ed1b4866db8b
--- /dev/null
+++ b/app-misc/bins/bins-1.1.27.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/bins/bins-1.1.27.ebuild,v 1.1 2004/12/21 15:24:18 mcummings Exp $
+
+inherit eutils
+
+DESCRIPTION="Static HTML photo album generator"
+HOMEPAGE="http://bins.sautret.org/"
+SRC_URI="http://zubro.chez.tiscali.fr/BINS/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~sparc ~alpha ~ppc ~amd64"
+IUSE="gtk"
+
+DEPEND=">=dev-lang/perl-5.6.1-r6
+ >=media-gfx/imagemagick-5.5.5.3
+ >=dev-perl/perlmagick-5.5.5.3
+ >=dev-perl/ImageSize-2.99
+ >=dev-perl/ImageInfo-1.04-r1
+ >=dev-perl/IO-String-1.01-r1
+ >=dev-perl/HTML-Clean-0.8
+ >=dev-perl/HTML-Parser-3.26-r1
+ >=dev-perl/HTML-Template-2.6
+ >=dev-perl/Locale-gettext-1.01
+ >=dev-perl/Storable-2.04
+ >=dev-perl/Text-Iconv-1.2
+ >=dev-perl/URI-1.18
+ >=dev-perl/libxml-perl-0.07-r1
+ >=dev-perl/XML-DOM-1.39-r1
+ >=dev-perl/XML-Grove-0.46_alpha
+ >=dev-perl/XML-Handler-YAWriter-0.23
+ gtk? ( dev-perl/gtk-perl-glade )
+ >=dev-perl/XML-XQL-0.67
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-install.patch
+}
+
+src_install() {
+ echo "" |env DESTDIR=${D} PREFIX="/usr" ./install.sh || die
+ # Fix for pathing
+ for i in `grep -l portage ${D}/usr/bin/*`; do
+ sed -i -e "s:${D}:/:" ${i}
+ done
+ for i in `grep -l "usr\/local\/share" ${D}/usr/bin/*`; do
+ sed -i -e "s:usr\/local\/share:usr\/share:" ${i}
+ done
+
+}
+
+pkg_postinst() {
+ ewarn
+ ewarn "A new XML format is use for pictures and albums description files in"
+ ewarn "BINS 1.1.0. There is an utility bins_txt2xml to convert from old"
+ ewarn "format to new one."
+ ewarn "WARNING: make a backup of your album before proceding to the"
+ ewarn "migration, just in case something goes wrong."
+ ewarn
+}