public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Dane Smith" <c1pher@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/c1pher:master commit in: www-apps/indefero/, www-apps/indefero/files/
Date: Wed,  1 Feb 2012 18:26:20 +0000 (UTC)	[thread overview]
Message-ID: <627567e7409af40d2f715a05497b287a71e0100a.c1pher@gentoo> (raw)

commit:     627567e7409af40d2f715a05497b287a71e0100a
Author:     Dane Smith <c1pher <AT> gentoo <DOT> org>
AuthorDate: Wed Feb  1 18:25:35 2012 +0000
Commit:     Dane Smith <c1pher <AT> gentoo <DOT> org>
CommitDate: Wed Feb  1 18:25:35 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/c1pher.git;a=commit;h=627567e7

Initial ebuild for indefero.

---
 www-apps/indefero/Manifest                        |    4 ++
 www-apps/indefero/files/indefero-gentoo-pluf.diff |   13 +++++++
 www-apps/indefero/indefero-1.2.ebuild             |   40 +++++++++++++++++++++
 www-apps/indefero/metadata.xml                    |   10 +++++
 4 files changed, 67 insertions(+), 0 deletions(-)

diff --git a/www-apps/indefero/Manifest b/www-apps/indefero/Manifest
new file mode 100644
index 0000000..793c56c
--- /dev/null
+++ b/www-apps/indefero/Manifest
@@ -0,0 +1,4 @@
+AUX indefero-gentoo-pluf.diff 529 RMD160 c7e7ea57ee4b7aa362041a98f3c83f968a4cc01c SHA1 05bc152b1daf436f1b88fd6ee7ccb8498f059a42 SHA256 bda6a9135ec58dec74a6b677577904c566e8001b815712c8160a2c6c29cf7c25
+DIST indefero-1.2.zip 954890 RMD160 3d9272e1f95673ec7c0b9522494f70fe4c3c6af4 SHA1 962b7b542b62b5d9a3ffa4072e0c2f37be8dcbd6 SHA256 f67f542f6f253945d4b5ec7a2b81d842a63aa23200adef1cb2dede3d7bd15ef1
+EBUILD indefero-1.2.ebuild 941 RMD160 d368559084e545964d0f546200ee98c53064f77b SHA1 1ea180bbe08ebaa1db054c89aba6fcbdeb84bbc1 SHA256 ab43a45154d774e66877cacc317b5733af47f6f9ad2c50b21c0c9638242d0638
+MISC metadata.xml 252 RMD160 0d6b4d4e9e2fc0a9fc73289b6f3234195a3a1405 SHA1 6d719654a220ceff01851fa059936c79ca6bf9be SHA256 50fba57de1e11a48fbf58020c096095ebf9ec5defa2b5bcda9ed44e5be159d3f

diff --git a/www-apps/indefero/files/indefero-gentoo-pluf.diff b/www-apps/indefero/files/indefero-gentoo-pluf.diff
new file mode 100644
index 0000000..549260d
--- /dev/null
+++ b/www-apps/indefero/files/indefero-gentoo-pluf.diff
@@ -0,0 +1,13 @@
+diff --git a/src/IDF/conf/path.php-dist b/src/IDF/conf/path.php-dist
+index d8c90ca..9c566e4 100644
+--- a/src/IDF/conf/path.php-dist
++++ b/src/IDF/conf/path.php-dist
+@@ -29,7 +29,7 @@
+  * PLUF_PATH: path to the folder containing the Pluf.php file.
+  * IDF_PATH: path to the folder containing the IDF folder.
+  */
+-define('PLUF_PATH', dirname(__FILE__).'/../../../../pluf/src');
++define('PLUF_PATH', dirname(__FILE__).'/usr/share/php/pluf/');
+ define('IDF_PATH', dirname(__FILE__).'/../..');
+ 
+ set_include_path(get_include_path()

diff --git a/www-apps/indefero/indefero-1.2.ebuild b/www-apps/indefero/indefero-1.2.ebuild
new file mode 100644
index 0000000..f0a1290
--- /dev/null
+++ b/www-apps/indefero/indefero-1.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+inherit eutils webapp
+
+DESCRIPTION="An open source Google Code clone"
+HOMEPAGE="http://www.indefero.net/"
+SRC_URI="http://projects.ceondo.com/p/${PN}/downloads/get/${P}.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND="app-arch/unzip"
+RDEPEND="${DEPEND}
+	dev-lang/php[gd]
+	dev-php/pluf
+	"
+
+src_prepare(){
+	#Expect pluf to be installed in the normal location.
+	epatch "${FILESDIR}/${PN}-gentoo-pluf.diff"
+}
+
+src_install(){
+	webapp_src_preinst
+	rm COPYING INSTALL.mdtext
+	dodoc doc/* NEWS.mdtext AUTHORS CONTRIBUTE.mdtext
+	rm -rf doc
+	mv src/IDF/conf/idf.php-dist src/IDF/conf/idf.php
+
+	cp -R . "${D}/${MY_HTDOCSDIR}"
+	webapp_configfile "${MY_HTDOCSDIR}/src/IDF/conf/idf.php"
+	#Write a postinstall doc
+	#webapp_postinstall_txt en "${FILESDIR}/postinstall-en-${PV}.txt"
+	webapp_src_install
+}

diff --git a/www-apps/indefero/metadata.xml b/www-apps/indefero/metadata.xml
new file mode 100644
index 0000000..2ba872d
--- /dev/null
+++ b/www-apps/indefero/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<herd>no-herd</herd>
+	<maintainer>
+		<email>c1pher@gentoo.org</email>
+		<name>Dane Smith</name>
+	</maintainer>
+</pkgmetadata>
+



             reply	other threads:[~2012-02-01 18:26 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-01 18:26 Dane Smith [this message]
  -- strict thread matches above, loose matches on Subject: below --
2012-02-01 23:43 [gentoo-commits] dev/c1pher:master commit in: www-apps/indefero/, www-apps/indefero/files/ Dane Smith
2012-02-01 23:51 Dane Smith
2012-02-01 23:52 Dane Smith
2012-02-01 23:55 Dane Smith
2012-02-01 23:58 Dane Smith
2012-02-01 23:59 Dane Smith
2012-02-03  1:57 Dane Smith
2012-02-03  2:07 Dane Smith
2012-07-18 15:11 Dane Smith

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=627567e7409af40d2f715a05497b287a71e0100a.c1pher@gentoo \
    --to=c1pher@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox