summaryrefslogtreecommitdiff
path: root/dev-php/agavi
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/agavi')
-rw-r--r--dev-php/agavi/Manifest4
-rw-r--r--dev-php/agavi/agavi-1.0.8.ebuild39
-rw-r--r--dev-php/agavi/files/agavi-executable14
-rw-r--r--dev-php/agavi/metadata.xml18
4 files changed, 75 insertions, 0 deletions
diff --git a/dev-php/agavi/Manifest b/dev-php/agavi/Manifest
new file mode 100644
index 000000000000..7ae2336d0c23
--- /dev/null
+++ b/dev-php/agavi/Manifest
@@ -0,0 +1,4 @@
+AUX agavi-executable 443 BLAKE2B 6fa22601439d966a6dc0c9db98f3004f362e6345fed70053d47529184b8c806d8342b0ffbd63c6e5019d0266a3ca64654126e4cb8369b141d48679a16a0d2b3a SHA512 5e9e6583a53bb3a8eb8e31e1dd2853c00bfdb95f3531e3d78bae9b401b67dd2e3011721113a219d86f1fe771238c34ad2cb6d2afd03c9227d17124a6a38e09ae
+DIST agavi-1.0.8.tgz 2074126 BLAKE2B b38ff9f15e877604376c6704f007044ed4907df9dcd303646e85d54e98ae65f8f2182841001414ee9326e92515cabb0839f150544e8121c1f87ebf79e6dd4a41 SHA512 9e75ef0be455e329db8b2389d7fd7a7acb25d04dda6c31dea15496dc4e24ab17cf0e44e199d0c2a9fb11987331d582cf0c700adee815cac7276c32643b9183ee
+EBUILD agavi-1.0.8.ebuild 858 BLAKE2B 1199cf929ca7ebdd9a323aa906d05308049057a64fe7240bc6ebc63368008e62d28abd76becf6415b1c06cd7b7629edcd68c524b0993750618c281d7dc5107fa SHA512 f8f2e0d2a98b23d458b87758af1e5436896f5d7cac936061f62027e05545e289aaaf4bf6a35c3b6dd7634c88b9930884528d5fc3db1b2dd9d3c9249f9ed6b32b
+MISC metadata.xml 592 BLAKE2B 02e7829f8c1fe398f0a52dc628f8c50848dbe0f7942a12fa3dcac173690f7b46352a8de148ad952e88121f7f2ef52c1f6710d13f38945c067d3239aad1c4df04 SHA512 6bd01d95a6f1f2b71cc2a8ad23e49e312e156b5e3d866d583e731ba9bd616867cb8698e40384ac0ca41edfe1aaa4f512e34e871ee86361cc70ad6d7ccca833c9
diff --git a/dev-php/agavi/agavi-1.0.8.ebuild b/dev-php/agavi/agavi-1.0.8.ebuild
new file mode 100644
index 000000000000..3edb056ec787
--- /dev/null
+++ b/dev-php/agavi/agavi-1.0.8.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="PHP MVC application framework"
+HOMEPAGE="http://www.agavi.org/"
+SRC_URI="http://www.agavi.org/download/${PV}.tgz -> ${P}.tgz"
+LICENSE="BSD LGPL-2.1+ icu unicode public-domain"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="examples +executable iconv session soap xmlrpc"
+
+RDEPEND="dev-lang/php[iconv?,session?,soap?,xml,xmlrpc?]
+ executable? ( dev-php/phing )"
+
+DOCS=(
+ API_CHANGELOG
+ CHANGELOG
+ CHANGELOG-0.9
+ CHANGELOG-0.10
+ CHANGELOG-0.11
+ CONTRIBUTING.md
+ README.md
+ RELEASE_NOTES
+ RELEASE_NOTES-0.9
+ RELEASE_NOTES-0.10
+ RELEASE_NOTES-0.11
+ UPGRADING
+)
+
+src_install() {
+ einstalldocs
+ use executable && newbin "${FILESDIR}/${PN}-executable" "${PN}"
+ use examples && dodoc -r samples
+
+ insinto "/usr/share/php/${PN}"
+ doins -r src/*
+}
diff --git a/dev-php/agavi/files/agavi-executable b/dev-php/agavi/files/agavi-executable
new file mode 100644
index 000000000000..06405d6ca2e7
--- /dev/null
+++ b/dev-php/agavi/files/agavi-executable
@@ -0,0 +1,14 @@
+#!/bin/sh
+#
+# A (heavily) modified version of the agavi-dist script shipped with
+# the Agavi package.
+#
+
+# Set this to the path to the Agavi installation's source directory. This is
+# the directory that contains the `agavi.php' file.
+AGAVI_SOURCE_DIRECTORY="/usr/share/php/agavi"
+
+php -d memory_limit=2G \
+ -f "${AGAVI_SOURCE_DIRECTORY}/build/agavi/script/agavi.php" \
+ -- \
+ --agavi-source-directory "${AGAVI_SOURCE_DIRECTORY}" "$@"
diff --git a/dev-php/agavi/metadata.xml b/dev-php/agavi/metadata.xml
new file mode 100644
index 000000000000..fb37a3a38209
--- /dev/null
+++ b/dev-php/agavi/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>php-bugs@gentoo.org</email>
+ <name>PHP</name>
+ </maintainer>
+ <use>
+ <flag name="executable">
+ Install the "agavi" executable used to manage projects. This
+ requires <pkg>dev-php/phing</pkg>, and may be omitted if you are
+ (for example) deploying an existing site to a production server.
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="github">agavi/agavi</remote-id>
+ </upstream>
+</pkgmetadata>