sci-visualization/veusz: Drop symlink into PORTDIR
authorJustin Lecher <jlec@gentoo.org>
Mon, 23 Nov 2015 08:59:17 +0000 (09:59 +0100)
committerJustin Lecher <jlec@gentoo.org>
Mon, 23 Nov 2015 10:05:31 +0000 (11:05 +0100)
Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=341653

Package-Manager: portage-2.2.25
Signed-off-by: Justin Lecher <jlec@gentoo.org>
sci-visualization/veusz/veusz-1.23.ebuild

index 42bfe9dd4286fe4bf6cf4be82f6ffb85db91a813..ebe7f7c92353baaf28b2e53aecc96cd736a13ae9 100644 (file)
@@ -48,8 +48,14 @@ python_install() {
        distutils-r1_python_install
        # symlink the license, bug #341653
        rm "${D}/$(python_get_sitedir)"/${PN}/{COPYING,AUTHORS,ChangeLog} || die
-       ln -s "${PORTDIR}"/licenses/${LICENSE} \
-               "${D}/$(python_get_sitedir)"/${PN}/COPYING || die
+       mkdir -p "${D}/$(python_get_sitedir)" || die
+       cat >> "${D}/$(python_get_sitedir)"/${PN}/COPYING <<- EOF
+       Please visit
+
+       https://www.gnu.org/licenses/gpl-2.0.html
+
+       for the full license text.
+       EOF
 }
 
 python_install_all() {