# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Part library for LDraw LEGO® CAD software" HOMEPAGE="http://www.ldraw.org/" ORIGINAL_URI="http://www.ldraw.org/files/unix-complete.tgz" SRC_URI="${P}.tar.gz" LICENSE="ldraw" # Only parts files are installed. RESTRICT="binchecks strip fetch" S="${WORKDIR}/LDRAW" KEYWORDS="~amd64 ~x86-fbsd" SLOT="0" IUSE="" pkg_nofetch() { eerror "As the complete parts package is non-versioned, and the license" eerror "is not allowing for redistribution under a different name, please" eerror "download the tarball at ${ORIGINAL_URI} and copy it as" eerror "${DISTDIR}/${P}.tar.gz to continue installing this software." } src_compile() { einfo "There is nothing to compile, but there are files to rename..." mv "${S}/PARTS" "${S}/parts" mv "${S}/P" "${S}/p" mv "${S}/MODELS" "${S}/models" } src_install() { insopts -m0644 insinto /usr/share/ldraw doins -r parts p models dodoc README.TXT }