diff options
author | Stuart Herbert <stuart@gentoo.org> | 2004-03-17 19:14:39 +0000 |
---|---|---|
committer | Stuart Herbert <stuart@gentoo.org> | 2004-03-17 19:14:39 +0000 |
commit | 7147ea13263c4b47d767842102f1a1fa2cb415ce (patch) | |
tree | 18f2b05817cdfbf11de2225c77bf24b311e0f900 /net-www/moinmoin | |
parent | clean some older ebuilds (diff) | |
download | historical-7147ea13263c4b47d767842102f1a1fa2cb415ce.tar.gz historical-7147ea13263c4b47d767842102f1a1fa2cb415ce.tar.bz2 historical-7147ea13263c4b47d767842102f1a1fa2cb415ce.zip |
Version bump, for bug #44678
Diffstat (limited to 'net-www/moinmoin')
-rw-r--r-- | net-www/moinmoin/Manifest | 4 | ||||
-rw-r--r-- | net-www/moinmoin/files/digest-moinmoin-1.2.1 | 1 | ||||
-rw-r--r-- | net-www/moinmoin/moinmoin-1.2.1.ebuild | 55 |
3 files changed, 59 insertions, 1 deletions
diff --git a/net-www/moinmoin/Manifest b/net-www/moinmoin/Manifest index 3dc727b2a185..660c67a0c14d 100644 --- a/net-www/moinmoin/Manifest +++ b/net-www/moinmoin/Manifest @@ -1,3 +1,5 @@ -MD5 83004b173ac067a6e3b0896cb273eeb4 ChangeLog 979 MD5 8fa713aaca431ea83e888d4b745d689f moinmoin-1.0.ebuild 1356 +MD5 83004b173ac067a6e3b0896cb273eeb4 ChangeLog 979 +MD5 d40b34b99e782f35024f4dc924de1818 moinmoin-1.2.1.ebuild 1351 MD5 147a676c8160b5ab61a8ca43e32fe971 files/digest-moinmoin-1.0 60 +MD5 2ef337e0a59414cd5b5422097b8f825e files/digest-moinmoin-1.2.1 63 diff --git a/net-www/moinmoin/files/digest-moinmoin-1.2.1 b/net-www/moinmoin/files/digest-moinmoin-1.2.1 new file mode 100644 index 000000000000..01d598ec7a9a --- /dev/null +++ b/net-www/moinmoin/files/digest-moinmoin-1.2.1 @@ -0,0 +1 @@ +MD5 6a3ee8896981b84b5218bddefed6f8cb moin-1.2.1.tar.gz 1271902 diff --git a/net-www/moinmoin/moinmoin-1.2.1.ebuild b/net-www/moinmoin/moinmoin-1.2.1.ebuild new file mode 100644 index 000000000000..a2c1ac1f49ea --- /dev/null +++ b/net-www/moinmoin/moinmoin-1.2.1.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-www/moinmoin/moinmoin-1.2.1.ebuild,v 1.1 2004/03/17 19:14:39 stuart Exp $ + +inherit webapp-apache + +PN0="moin" +S=${WORKDIR}/${PN0}-${PV} + +DESCRIPTION="Python WikiClone" +SRC_URI="http://download.sourceforge.net/${PN0}/${PN0}-${PV}.tar.gz" +HOMEPAGE="http://moin.sourceforge.net" +KEYWORDS="x86 sparc" +SLOT="0" +LICENSE="GPL-2" + +DEPEND=">=dev-lang/python-2.2" + +webapp-detect || NO_WEBSERVER=1 +HTTPD_USER="apache" +HTTPD_GROUP="apache" + +pkg_setup() { + webapp-pkg_setup "${NO_WEBSERVER}" + einfo "Installing into ${ROOT}${HTTPD_ROOT}." +} + +src_compile() { + python setup.py build || die "python build failed" +} + +src_install () { + webapp-mkdirs + + local DocumentRoot=${HTTPD_ROOT} + local destdir=${DocumentRoot}/${PN} + dodir ${destdir} + + python setup.py install --root=${D} --prefix=/usr install || die "python install failed" + + cd ${D}/usr/share/moin + cp -r data htdocs/* ${D}/${HTTPD_ROOT}/${PN} + cp cgi-bin/* ${D}/${HTTPD_ROOT}/${PN} + cd ${D}/${HTTPD_ROOT} + chown -R ${HTTPD_USER}:${HTTPD_USER} ${PN} + cd ${D}/${HTTPD_ROOT}/${PN} + chmod a+x moin.cgi + sed -i -e "s/\/wiki/\/moinmoin/" moin_config.py +} + +pkg_postinst() { + einfo + einfo "MoinMoin requires that cgi be turned on in ${HTTPD_ROOT}/${P}." + einfo +} |