diff options
Diffstat (limited to 'www-apps/moinmoin/moinmoin-1.2.2.ebuild')
-rw-r--r-- | www-apps/moinmoin/moinmoin-1.2.2.ebuild | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/www-apps/moinmoin/moinmoin-1.2.2.ebuild b/www-apps/moinmoin/moinmoin-1.2.2.ebuild deleted file mode 100644 index bd76c698ada1..000000000000 --- a/www-apps/moinmoin/moinmoin-1.2.2.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/moinmoin/moinmoin-1.2.2.ebuild,v 1.3 2005/02/08 18:14:14 g2boojum 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 ~amd64 ppc" -SLOT="0" -LICENSE="GPL-2" -IUSE="" - -DEPEND=">=dev-lang/python-2.2" - -pkg_setup() { - webapp-detect || NO_WEBSERVER=1 - 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 -} |