diff options
Diffstat (limited to 'net-print/pykota/pykota-1.23_p1869-r1.ebuild')
-rw-r--r-- | net-print/pykota/pykota-1.23_p1869-r1.ebuild | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/net-print/pykota/pykota-1.23_p1869-r1.ebuild b/net-print/pykota/pykota-1.23_p1869-r1.ebuild index 2023a31acb4e..5a8b0d870474 100644 --- a/net-print/pykota/pykota-1.23_p1869-r1.ebuild +++ b/net-print/pykota/pykota-1.23_p1869-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/pykota-1.23_p1869-r1.ebuild,v 1.3 2006/06/08 10:56:06 satya Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/pykota-1.23_p1869-r1.ebuild,v 1.4 2006/08/24 14:36:03 chutzpah Exp $ inherit python eutils distutils @@ -23,16 +23,26 @@ RDEPEND="${DEPEND}" KEYWORDS="~x86" SLOT="0" +DOCS="README MANIFEST.in TODO SECURITY NEWS CREDITS FAQ" + src_install() { - mkdir -p ${D}/etc/${PN} + mkdir -p "${D}"/etc/${PN} python_version distutils_src_install #cups backend ---------------------------------------------- - mkdir -p ${D}/usr/lib/cups/backend + mkdir -p "${D}"/usr/lib/cups/backend dosym /usr/share/pykota/cupspykota /usr/lib/cups/backend/cupspykota #extra docs: inits ----------------------------------------- - init_dir=/usr/share/doc/${PN}/initscripts + init_dir=/usr/share/doc/${P}/initscripts insinto ${init_dir} - cp -pPR initscripts/* ${D}/${init_dir} + cp -pPR initscripts/* "${D}"/${init_dir} + + for doc in ${DOCS}; do + rm -f "${D}"/usr/share/doc/${PN}/${doc} + done + + rm -f "${D}"/usr/share/doc/${PN}/{LICENSE,COPYING} + mv "${D}"/usr/share/doc/${PN}/* "${D}"/usr/share/doc/${P} + rmdir "${D}"/usr/share/doc/${PN} } |