diff options
author | Patrick McLean <chutzpah@gentoo.org> | 2006-08-24 14:36:03 +0000 |
---|---|---|
committer | Patrick McLean <chutzpah@gentoo.org> | 2006-08-24 14:36:03 +0000 |
commit | c267edba089e0a2dac96fbdb23e654b150e30007 (patch) | |
tree | a5fe0ec467d3ea87dd05412b235bffe3b4d259ad /net-print/pykota/pykota-1.23_p1869.ebuild | |
parent | remove old versions, fix (g)libc dep (diff) | |
download | gentoo-2-c267edba089e0a2dac96fbdb23e654b150e30007.tar.gz gentoo-2-c267edba089e0a2dac96fbdb23e654b150e30007.tar.bz2 gentoo-2-c267edba089e0a2dac96fbdb23e654b150e30007.zip |
Make sure that docs are only installed to /usr/share/doc/${P}, and that there are no copies of the license installed (bug #143422). Make sure all uses of ${D} are quoted properly.
(Portage version: 2.1.1_pre5-r3)
Diffstat (limited to 'net-print/pykota/pykota-1.23_p1869.ebuild')
-rw-r--r-- | net-print/pykota/pykota-1.23_p1869.ebuild | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/net-print/pykota/pykota-1.23_p1869.ebuild b/net-print/pykota/pykota-1.23_p1869.ebuild index fe21878ca5c7..5ed8a18afbfd 100644 --- a/net-print/pykota/pykota-1.23_p1869.ebuild +++ b/net-print/pykota/pykota-1.23_p1869.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.ebuild,v 1.3 2006/06/08 10:56:06 satya Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/pykota/pykota-1.23_p1869.ebuild,v 1.4 2006/08/24 14:36:03 chutzpah Exp $ inherit python eutils distutils @@ -21,16 +21,26 @@ DEPEND="dev-lang/python 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} } |