# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: [...] $ EAPI=5 inherit eutils DESCRIPTION="Maintain remote web sites with ease" SRC_URI="http://www.manyfish.co.uk/sitecopy/${P}.tar.gz" HOMEPAGE=" http://www.manyfish.co.uk/sitecopy/" # Removed all Debian related stuff. If you want more patches, they can be ported from # http://ftp.debian.org/debian/pool/main/s/sitecopy/ # The sitecopy_0.16.6-5.debian.tar.gz contains their build scripts and patches. # This SiteCopy now builds using the original sources. KEYWORDS="~amd64 ~x86" LICENSE="GPL-2" SLOT="0" IUSE="" DEPEND="" RDEPEND="${DEPEND}" src_unpack() { unpack ${A} cd "${S}" } src_prepare() { # Insert patches here. # SiteCopy patches are being currently pulled & ported from # http://ftp.debian.org/debian/pool/main/s/sitecopy/ # Consider SiteCopy to be more or less being actively maintained by # Debian maintainers, but GPL patches ported into Gentoo. # Change install doc directory from /usr/doc to /usr/share/doc sed -i -e \ "s:docdir \= .*:docdir \= \$\(prefix\)\/share/doc\/${PF}:" \ Makefile.in || die "Documentation directory patching failed" } src_configure() { econf } src_compile() { emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed" #dodoc AUTHORS ChangeLog README TODO || die "dodoc failed" }