summaryrefslogtreecommitdiff
path: root/app-text/refbase
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-text/refbase
reinit the tree, so we can have metadata
Diffstat (limited to 'app-text/refbase')
-rw-r--r--app-text/refbase/Manifest6
-rw-r--r--app-text/refbase/files/postinstall-en.txt22
-rw-r--r--app-text/refbase/metadata.xml11
-rw-r--r--app-text/refbase/refbase-0.9.5.ebuild39
4 files changed, 78 insertions, 0 deletions
diff --git a/app-text/refbase/Manifest b/app-text/refbase/Manifest
new file mode 100644
index 000000000000..d180f83f43a6
--- /dev/null
+++ b/app-text/refbase/Manifest
@@ -0,0 +1,6 @@
+AUX postinstall-en.txt 837 SHA256 88ce87080451d17dae1e9897af7e9d53f2006817e1166c211a95b950a6556b8c SHA512 fab28207a5d3bff1c8cb499ced404d5ecf2dfcd27493c0ba8b4cedd14518a0d2fdee16e61c28c6d14daa486de80ef33725cc66b48f4fe1ec9e150e5b037f9f3b WHIRLPOOL 88d25e028b061d5fe50b6a336878f222f3c33682867fdbadebf7f1c3a104c95b89a3dc1c57ae68b59c7750a974d05e5e4df62f04c0304fb9ec23d90a5d12c7b4
+DIST refbase-0.9.5.tar.gz 1395726 SHA256 b832ab7f0e8c0ded88c7210d5314be849491ea913b78486898ffb3535b4391eb SHA512 68022eee0c15a4e733a8eef8cd5ca15d6e29a4f3559539657c4a38733a4338b51ef4b716cfd964bdd5eb94dda3c7f012b6e01deb59879f3dbfd79d4d8ce11305 WHIRLPOOL f85609b99182d0fb7d16b39e900d857773136975624b110c6d9a23547682785e416d44797d15f0880b6f342fb30a1474ec362f95b40119202c4454f7168b6b20
+EBUILD refbase-0.9.5.ebuild 904 SHA256 d1eacef42327e93c2844e0dad6104bc567d4e47a623328b38028c804bb68be73 SHA512 42234f423b8e9c3a6f8d3c878d7974d7f672689cf9a6fa61d01978296d6faada55c4c5fc66c1338384ab7481128f19fe01b6cce8d2b9bbd910b6071fd94f4d4b WHIRLPOOL dd35b15e9511eac3bdf02b8c592fa8d8e091b66b02e07d2b4dac186dc7a67e56bca9c21a79e53f15f8c31fc02069ecfedbf4e0beedd36b9052c7db37d1383ee9
+MISC ChangeLog 2707 SHA256 e0543e20a8604491ebc0c55c31b8d8eaf092ba5372dfa715a7e87528820e7bab SHA512 9fbea2fb4b2a47a9fbf53138b81f140bdffdb3d65fb00309d30f8fb0247a8ecaffe9d14092fa0a2161c6f53b20ee0a6d314386a2aae1e689e4cf7344c964dcaf WHIRLPOOL 692750d19622b9e9b2c6c33a4c777e3b92c5e33d574d734d1755329c5dfdbeb36d5179227b00e6df38e7f58ba1022916487d9654888f21570d1b7bb562bf2088
+MISC ChangeLog-2015 1882 SHA256 6c79329eddf635493b290358a13460984f6f5d103c9c5567ea8b26bf64ee2a91 SHA512 26b8dcf84cc1b49f6537ebae5339ca871756cc5d1c3d404660b1a59d8144e69809a163f1739b5112518d7ddf3bff4eba648e9e3c568e25f5c17550cbbb7ecb36 WHIRLPOOL a3a2a60b50f66c5b61530db776202e8db4ca95c2efbe83b43fc4d6aab2915b3cabcfc0eef5dc78392e2f7c78970ce64e21ac715dda013ed4820c9c2a1bb2e718
+MISC metadata.xml 330 SHA256 910a9bd2250014f907a4273b1e4288504f38dedb6d38bdaa1eaec5b89b2c7ca3 SHA512 0fbcf620763f7e60e102335842267a1b934695c96b50055e5d338b5504592990c8817afe416cc3b48f9da72aa3365b83ec448165d07446c20fcd4bdd6e5ddb77 WHIRLPOOL a92b2b21b352fd431949bcefe98bc06724f17f4844239fa2ee2fe58de7b1c1d581cb99f7ad3b83e1b714a06cd687c3ff20b06eb091595f12c6c86a1235d4e663
diff --git a/app-text/refbase/files/postinstall-en.txt b/app-text/refbase/files/postinstall-en.txt
new file mode 100644
index 000000000000..1b28143032f9
--- /dev/null
+++ b/app-text/refbase/files/postinstall-en.txt
@@ -0,0 +1,22 @@
+You are almost done!
+
+ 1. Restart your webserver
+
+ 2. Open the file '${MY_INSTALLDIR}/initialize/db.inc.php'
+ in a text editor and edit the values of the variables '\$databaseName',
+ '\$username' and '\$password' to fit your needs.
+ (Note that you'll be able to use the refbase package without modifying
+ these variables, but we highly recommend not to use the default
+ values!)
+
+ 3. Now, open a web browser and access the 'install.php' script by typing:
+
+ <http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/install.php>
+
+ This should bring up the install form. Edit the contents of all text
+ entry fields to match your server setup and supply the MySQL admin
+ password, then click the 'Install' button to install the database.
+
+ 4. For further instructions, see /usr/share/doc/refbase-0.8.0/INSTALL.gz
+
+ Enjoy!
diff --git a/app-text/refbase/metadata.xml b/app-text/refbase/metadata.xml
new file mode 100644
index 000000000000..4652275b5605
--- /dev/null
+++ b/app-text/refbase/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">refbase</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-text/refbase/refbase-0.9.5.ebuild b/app-text/refbase/refbase-0.9.5.ebuild
new file mode 100644
index 000000000000..f2828b542eed
--- /dev/null
+++ b/app-text/refbase/refbase-0.9.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="2"
+inherit depend.apache webapp
+
+DESCRIPTION="Web-based solution for managing scientific literature, references and citations"
+HOMEPAGE="http://www.refbase.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+DEPEND="|| ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )
+ dev-lang/php[mysql,session]
+ app-admin/webapp-config
+ app-text/bibutils"
+RDEPEND="${DEPEND}"
+
+need_apache
+
+pkg_setup() {
+ webapp_pkg_setup
+}
+
+src_install () {
+ webapp_src_preinst
+
+ DOCS="AUTHORS BUGS ChangeLog NEWS README TODO UPDATE"
+ dodoc ${DOCS}
+ # 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
+}