summaryrefslogtreecommitdiff
path: root/dev-php/agavi
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/agavi')
-rw-r--r--dev-php/agavi/Manifest6
-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, 77 insertions, 0 deletions
diff --git a/dev-php/agavi/Manifest b/dev-php/agavi/Manifest
new file mode 100644
index 000000000000..8c28cd6d41d2
--- /dev/null
+++ b/dev-php/agavi/Manifest
@@ -0,0 +1,6 @@
+AUX agavi-executable 443 SHA256 317fadfb5b5627747439c3380181d68cb9cb6702a1d2c7269dd07c44a2612b11 SHA512 5e9e6583a53bb3a8eb8e31e1dd2853c00bfdb95f3531e3d78bae9b401b67dd2e3011721113a219d86f1fe771238c34ad2cb6d2afd03c9227d17124a6a38e09ae WHIRLPOOL 0bb665169a5c560550f52ccac9d50be1e9c9a5ff76065f04f45acced240361a87d487af76f2785255aaabe188fcd3fb84b25811ccd71f561e6abaed11486d69f
+DIST agavi-1.0.8.tgz 2074126 SHA256 9770662721b9f59ca2324a02ca9f698a08b517beeae30cc5e14677b175440b9b SHA512 9e75ef0be455e329db8b2389d7fd7a7acb25d04dda6c31dea15496dc4e24ab17cf0e44e199d0c2a9fb11987331d582cf0c700adee815cac7276c32643b9183ee WHIRLPOOL 273c347182669e0d2f345ee5353a529edfff46eec645f069228e3fc71ca65222e3cb1214c70bbaa433545ee1d0ce65c2b2f2d24605ee399690576cbb95410e83
+EBUILD agavi-1.0.8.ebuild 858 SHA256 cc406fb8a2fcdc3091399afb26b9c54c9cea4c55a49268a5bbcd46a37cebd3d5 SHA512 f8f2e0d2a98b23d458b87758af1e5436896f5d7cac936061f62027e05545e289aaaf4bf6a35c3b6dd7634c88b9930884528d5fc3db1b2dd9d3c9249f9ed6b32b WHIRLPOOL 4a6744b3e6194b4c8e9ae97907103068cd052246a792c97530948c614fbdfa7a0881ed03081d3410e753e2ef61aeb0c92e7636155d64586eaf14f058197ee9f9
+MISC ChangeLog 2420 SHA256 9a550864e910b31dfeee86929fa13633ec28a1c35ec351f6967022130c7873df SHA512 ac0f1d22b97cd2cd7916812a6c374784564ac7d16842c97479af1b164ebd9028da0a3d4fbd51652dc77b69982431be665cdb24ed276bcf11f4c32343ce091ade WHIRLPOOL 776cb77eaaed2130b6d415cdd3ebef91ea63673201c279f792744ff674f28cb420d793c29eddafef5e31b356bdc3edd3f36b5ccd17699a43e21b07e0166b216c
+MISC ChangeLog-2015 2519 SHA256 b469311dadcecba48d3ed5f6f27c4a3e579cae50e20053947ec74d14ed99e141 SHA512 03c61d1d2a9c0502cacff1da8c36f27a5618590334e6d759bb58bdcf844d5e59ec7c04dd490c7247df570552eefb4f43aae75e5b2d92f93957cd3b95db1e49d6 WHIRLPOOL b4065836dcda00c2c26aa6574275358d32dace6f770aecdf9345d5a1680997b2aeb38dd6dc6d4ce6cb1702fdbd19a50735aa2183e06b3b7fc82394fd09231440
+MISC metadata.xml 592 SHA256 757cc9fc94051e897cb478c4cdcb1bf914f21f77a120f8269879e10cf2eb77c8 SHA512 6bd01d95a6f1f2b71cc2a8ad23e49e312e156b5e3d866d583e731ba9bd616867cb8698e40384ac0ca41edfe1aaa4f512e34e871ee86361cc70ad6d7ccca833c9 WHIRLPOOL 4a359d2ab84256af9f334c9e1f2fe26a3d263ec84a59ff11d89da3a3fdb3700684517e2ba0a29251ffc0faff4382d9aea42ad6a58d8d2928dff8ff2de64cf1ac
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>