summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2009-03-02 17:20:37 +0000
committerChristian Ruppert <idl0r@gentoo.org>2009-03-02 17:20:37 +0000
commit7acccceec40e78ced61923b5c101bea2c0f2d08e (patch)
treecad3b61cbe2e983fe613f7a915eb7f54906c78f0 /app-misc/bbgallery
parentapp-misc/bbgallery: revert commit r7991 (diff)
downloadsunrise-7acccceec40e78ced61923b5c101bea2c0f2d08e.tar.gz
sunrise-7acccceec40e78ced61923b5c101bea2c0f2d08e.tar.bz2
sunrise-7acccceec40e78ced61923b5c101bea2c0f2d08e.zip
app-misc/bbgallery: fixed SRC_URI, renamed patch, made variable INSPATH local, added missing die statements, added doc useflag
svn path=/sunrise/; revision=8002
Diffstat (limited to 'app-misc/bbgallery')
-rw-r--r--app-misc/bbgallery/ChangeLog8
-rw-r--r--app-misc/bbgallery/Manifest6
-rw-r--r--app-misc/bbgallery/bbgallery-1.2.0-r2.ebuild29
-rw-r--r--app-misc/bbgallery/files/bbgallery-1.2.0-path-fix.patch (renamed from app-misc/bbgallery/files/bbgallery-1.2.0.patch)0
4 files changed, 27 insertions, 16 deletions
diff --git a/app-misc/bbgallery/ChangeLog b/app-misc/bbgallery/ChangeLog
index ca6ace1a7..fdc57b993 100644
--- a/app-misc/bbgallery/ChangeLog
+++ b/app-misc/bbgallery/ChangeLog
@@ -1,7 +1,13 @@
# ChangeLog for app-misc/bbgallery
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 02 Mar 2009; Christian Ruppert (idl0r) <spooky85@gmail.com>
+ bbgallery-1.2.0-r2.ebuild, +files/bbgallery-1.2.0-path-fix.patch,
+ -files/bbgallery-1.2.0.patch:
+ fixed SRC_URI, renamed patch, made variable INSPATH local, added missing die
+ statements, added doc useflag
+
21 Jul 2007; David Shakaryan <omp@gentoo.org> bbgallery-1.2.0-r2.ebuild:
Fix whitespace.
diff --git a/app-misc/bbgallery/Manifest b/app-misc/bbgallery/Manifest
index 0653012fc..915e46d75 100644
--- a/app-misc/bbgallery/Manifest
+++ b/app-misc/bbgallery/Manifest
@@ -1,5 +1,5 @@
-AUX bbgallery-1.2.0.patch 2593 RMD160 39195481c8d83a8c779fc7b2e7c6cc99bba663ad SHA1 fde9600510ca895f198754dd50726c73c8ca0ad6 SHA256 83e7de9fe1ac30030e622ba3005cad4988b43155639325eec925256b6797d13e
+AUX bbgallery-1.2.0-path-fix.patch 2593 RMD160 39195481c8d83a8c779fc7b2e7c6cc99bba663ad SHA1 fde9600510ca895f198754dd50726c73c8ca0ad6 SHA256 83e7de9fe1ac30030e622ba3005cad4988b43155639325eec925256b6797d13e
DIST bbgallery-1.2.0.tar.bz2 33157 RMD160 b4a10092c817cd53ca6ee7eb760e39ec937d3747 SHA1 c571dbd66da1e29331ba61bfb14ca6056ece7d7f SHA256 89d4398fd44e679c2f201ae483f85eaf2cc9acb6e681dc12c25171f8783f91ee
-EBUILD bbgallery-1.2.0-r2.ebuild 972 RMD160 4d070dc3755e0a64866000fec1e51671d5c035be SHA1 ba72c959f29fa7313ec6c770332b178e8c490eaf SHA256 ea79a5216d87ac0c83cf50c32ac5b9d4ccc414dce83cd11381fb3c631e903e58
-MISC ChangeLog 371 RMD160 b7df237b07e1e59440e651d4733aab772f836ccf SHA1 c7fcc6cc54b8d2fd096a6a5caf97fffb0e7b200c SHA256 f4e24f997e313412d4d1b16750100e3c1aed60bd814f57e38863f045202b9a7b
+EBUILD bbgallery-1.2.0-r2.ebuild 1057 RMD160 ebf536327183b056808f5622bfa076822dbbf94f SHA1 2b3c64fb15d4d9970e3643604580600ba12db9f6 SHA256 c4bb1de8d82dd1f8622bb397b5e7342103bda04b75e4ed32efc53a8cd1fa13b6
+MISC ChangeLog 645 RMD160 43f0c250eff040e0047c47da2503a57b87f4b7d8 SHA1 1fd3a85d83c7d9c509f73287c2d521809c9dc37a SHA256 9308cdfeabb8c3b4006d1aea1afb169fe76e20108849fc7eb3dfd7f572484625
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/app-misc/bbgallery/bbgallery-1.2.0-r2.ebuild b/app-misc/bbgallery/bbgallery-1.2.0-r2.ebuild
index 702189c5e..c55aa2f02 100644
--- a/app-misc/bbgallery/bbgallery-1.2.0-r2.ebuild
+++ b/app-misc/bbgallery/bbgallery-1.2.0-r2.ebuild
@@ -6,12 +6,12 @@ inherit eutils
DESCRIPTION="Webpage image gallery creation perl script"
HOMEPAGE="http://bbgallery.sourceforge.net/"
-SRC_URI="mirror://sourceforge/bbgallery/${P}.tar.bz2"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~x86"
-IUSE=""
+IUSE="doc"
RDEPEND="dev-lang/perl
media-gfx/imagemagick
@@ -19,25 +19,30 @@ RDEPEND="dev-lang/perl
dev-perl/libwww-perl
dev-perl/HTML-Template
dev-perl/HTML-Parser"
-
DEPEND=""
src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}"/bbgallery-1.2.0.patch
+ epatch "${FILESDIR}/${P}-path-fix.patch"
}
src_install() {
- INSPATH="/usr/share/bbgallery"
- dobin bbgallery || die "dobin failed"
+ local inspath="/usr/share/${PN}"
+
+ dobin ${PN} || die "dobin failed"
newbin Contrib/JPG2jpg.pl JPG2jpg || die "newbin failed"
- exeinto "${INSPATH}"
+
+ exeinto "${inspath}"
doexe gimp_scale.pl || die "doexe failed"
- insinto "${INSPATH}"
- doins -r template/
- dosym "${INSPATH}"/template/monochrome "${INSPATH}"/template/default \
+
+ insinto "${inspath}"
+ doins -r template/ || die "doins failed"
+ dosym "${inspath}"/template/monochrome "${inspath}"/template/default \
|| die "dosym failed"
- dodoc CHANGELOG CREDITS README
- dohtml doc/*.html
+
+ dodoc CHANGELOG CREDITS README || die "dodoc failed"
+ if use doc; then
+ dohtml -r doc/ || die "dohtml failed"
+ fi
}
diff --git a/app-misc/bbgallery/files/bbgallery-1.2.0.patch b/app-misc/bbgallery/files/bbgallery-1.2.0-path-fix.patch
index 19c92b31c..19c92b31c 100644
--- a/app-misc/bbgallery/files/bbgallery-1.2.0.patch
+++ b/app-misc/bbgallery/files/bbgallery-1.2.0-path-fix.patch