app-text/refbase: Add new snapshot with PHP 7 compatibility
authorBrian Evans <grknight@gentoo.org>
Thu, 21 Feb 2019 17:58:39 +0000 (12:58 -0500)
committerBrian Evans <grknight@gentoo.org>
Thu, 21 Feb 2019 18:00:05 +0000 (13:00 -0500)
Non-maintainer commit

Closes: https://bugs.gentoo.org/603988
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Brian Evans <grknight@gentoo.org>
app-text/refbase/Manifest
app-text/refbase/refbase-0.9.6_p20180223.ebuild [new file with mode: 0644]

index 4419c454e160fb22c19356d1d0357df917d1afc3..39840840da24566f9359886d3816e0dda21c61d9 100644 (file)
@@ -1 +1,2 @@
 DIST refbase-0.9.5.tar.gz 1395726 BLAKE2B d39b2ac6dc30e068e1f0f4ba22ca03bc4741c337a32a6e47675bd43d135c018018d2f7097ca8d0e21f72f3dbe51cdd111ba8b9cc855cabb6d3855a52e48625e9 SHA512 68022eee0c15a4e733a8eef8cd5ca15d6e29a4f3559539657c4a38733a4338b51ef4b716cfd964bdd5eb94dda3c7f012b6e01deb59879f3dbfd79d4d8ce11305
+DIST refbase-0.9.6_p20180223.zip 1725517 BLAKE2B bc92ba3bd7e317100e9390157e7b9cef5450aafa4fa78925cd7ac11f8933bca24a978fa44719e4a62e4e914c6949cc57a663a3ceca44ba0f07a7dae96b82d594 SHA512 65960052b99037653d0cf6f0c02f133f47e359ed67da095b03e10519ba48ecaa3cedf29eb1f2d56115b21cd479dcea77a26bf1f90baa8f4037876ca9c61a4aa3
diff --git a/app-text/refbase/refbase-0.9.6_p20180223.ebuild b/app-text/refbase/refbase-0.9.6_p20180223.ebuild
new file mode 100644 (file)
index 0000000..425caca
--- /dev/null
@@ -0,0 +1,35 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit webapp
+
+DESCRIPTION="Web-based solution for managing scientific literature, references and citations"
+HOMEPAGE="http://www.refbase.net/"
+SRC_URI="https://sourceforge.net/code-snapshots/svn/r/re/refbase/code/refbase-code-r1422-branches-bleeding-edge.zip -> ${P}.zip"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPEND=">=dev-lang/php-5.3[mysql,mysqli(+),session]
+       virtual/httpd-php
+       app-admin/webapp-config
+       app-text/bibutils"
+DEPEND="app-arch/unzip"
+
+S="${WORKDIR}/${PN}-code-r1422-branches-bleeding-edge"
+
+src_install () {
+       webapp_src_preinst
+
+       DOCS="AUTHORS BUGS ChangeLog NEWS README TODO UPDATE"
+       einstalldocs
+       # Don't install docs to webroot
+       rm -f ${DOCS} COPYING INSTALL
+
+       cp -R * "${D}"${MY_HTDOCSDIR}
+
+       webapp_configfile ${MY_HTDOCSDIR}/initialize
+       webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
+
+       webapp_src_install
+}