summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www-apps/mypictures/ChangeLog10
-rw-r--r--www-apps/mypictures/Manifest7
-rw-r--r--www-apps/mypictures/files/digest-mypictures-20040202-r11
-rw-r--r--www-apps/mypictures/files/postinstall-en.txt4
-rw-r--r--www-apps/mypictures/mypictures-20040202-r1.ebuild40
5 files changed, 58 insertions, 4 deletions
diff --git a/www-apps/mypictures/ChangeLog b/www-apps/mypictures/ChangeLog
index cb386a002c9e..0e0054e51074 100644
--- a/www-apps/mypictures/ChangeLog
+++ b/www-apps/mypictures/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-apps/mypictures
-# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mypictures/ChangeLog,v 1.4 2004/09/08 13:15:07 rl03 Exp $
+# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mypictures/ChangeLog,v 1.5 2006/01/06 15:33:27 rl03 Exp $
+
+*mypictures-20040202-r1 (06 Jan 2006)
+
+ 06 Jan 2006; Renat Lumpau <rl03@gentoo.org> +files/postinstall-en.txt,
+ +mypictures-20040202-r1.ebuild:
+ Ebuild cleanup
08 Sep 2004; Renat Lumpau <rl03@gentoo.org> :
Fixed herd name
diff --git a/www-apps/mypictures/Manifest b/www-apps/mypictures/Manifest
index 1d51325e8988..f353184402ef 100644
--- a/www-apps/mypictures/Manifest
+++ b/www-apps/mypictures/Manifest
@@ -1,5 +1,8 @@
-MD5 eb7976e2b3b8261f6f0bbe25d064c884 mypictures-20040202.ebuild 1081
MD5 73a61d6b5c98d756020d9e6e976bf512 ChangeLog 971
-MD5 4defd726d2b03decc5b7ff21b0aac1a3 metadata.xml 225
MD5 d0c4d3efa97c9bf0927e82f3cdb295b8 files/digest-mypictures-20040202 58
+MD5 d0c4d3efa97c9bf0927e82f3cdb295b8 files/digest-mypictures-20040202-r1 58
MD5 31a77b7664997f1fa8e77af1adf58833 files/mypictures.diff 482
+MD5 a08de17c8df44198425bd126aa954fd5 files/postinstall-en.txt 124
+MD5 4defd726d2b03decc5b7ff21b0aac1a3 metadata.xml 225
+MD5 c62065417aca55d43c3c29e15037278d mypictures-20040202-r1.ebuild 1019
+MD5 eb7976e2b3b8261f6f0bbe25d064c884 mypictures-20040202.ebuild 1081
diff --git a/www-apps/mypictures/files/digest-mypictures-20040202-r1 b/www-apps/mypictures/files/digest-mypictures-20040202-r1
new file mode 100644
index 000000000000..b2271d4f8287
--- /dev/null
+++ b/www-apps/mypictures/files/digest-mypictures-20040202-r1
@@ -0,0 +1 @@
+MD5 0f38d5d868bb36add29e8032083a4a8d mypictures.tgz 43783
diff --git a/www-apps/mypictures/files/postinstall-en.txt b/www-apps/mypictures/files/postinstall-en.txt
new file mode 100644
index 000000000000..378d4b34b2f8
--- /dev/null
+++ b/www-apps/mypictures/files/postinstall-en.txt
@@ -0,0 +1,4 @@
+From the author:
+
+Please note that MyPictures is intended for personal use only and should never
+be run on a public server.
diff --git a/www-apps/mypictures/mypictures-20040202-r1.ebuild b/www-apps/mypictures/mypictures-20040202-r1.ebuild
new file mode 100644
index 000000000000..e35c415be670
--- /dev/null
+++ b/www-apps/mypictures/mypictures-20040202-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mypictures/mypictures-20040202-r1.ebuild,v 1.1 2006/01/06 15:33:27 rl03 Exp $
+
+inherit webapp eutils
+
+DESCRIPTION="Simple photo-gallery for websites"
+HOMEPAGE="http://www.splitbrain.org/Programming/PHP/mypictures/index.php"
+SRC_URI="http://www.splitbrain.org/Programming/PHP/${PN}/${PN}.tgz"
+
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+IUSE=""
+
+RDEPEND="media-gfx/imagemagick"
+
+S=${WORKDIR}/${PN}
+
+src_unpack () {
+ unpack "${A}"
+ cd "${S}"
+
+ # we have to patch the path to imagemagick's convert tool
+
+ epatch ${FILESDIR}/mypictures.diff
+ sed -i "s|/usr/bin/X11/convert|/usr/bin/convert|g;" index.php
+}
+
+src_install() {
+ webapp_src_preinst
+
+ cp -R [[:lower:]]* .img ${D}/${MY_HTDOCSDIR}
+
+ dodoc CHANGES README
+
+ webapp_configfile ${MY_HTDOCSDIR}/index.php
+ webapp_serverowned ${MY_HTDOCSDIR}/.img
+ webapp_postinst_txt en ${FILESDIR}/postinstall-en.txt
+ webapp_src_install
+}