aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessandro Barbieri <lssndrbarbieri@gmail.com>2020-03-03 00:43:19 +0100
committerAlessandro Barbieri <lssndrbarbieri@gmail.com>2020-03-03 00:43:19 +0100
commit636e0357de507f7e727257ee9cd9646b4cc2482f (patch)
tree490bb86749ffe3f70b359cf87798fe5c509d2a45 /sci-libs
parentapp-text/noweb: fix homepage, style changes (diff)
downloadguru-636e0357de507f7e727257ee9cd9646b4cc2482f.tar.gz
guru-636e0357de507f7e727257ee9cd9646b4cc2482f.tar.bz2
guru-636e0357de507f7e727257ee9cd9646b4cc2482f.zip
sci-libs/ann: use DOCS array
Package-Manager: Portage-2.3.91, Repoman-2.3.20 Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/ann/ann-1.1.2_p7.ebuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/sci-libs/ann/ann-1.1.2_p7.ebuild b/sci-libs/ann/ann-1.1.2_p7.ebuild
index 1716b3b1b..afd6d3ee7 100644
--- a/sci-libs/ann/ann-1.1.2_p7.ebuild
+++ b/sci-libs/ann/ann-1.1.2_p7.ebuild
@@ -24,6 +24,8 @@ BDEPEND="dev-util/quilt"
S="${WORKDIR}/${MY_P}+doc"
+DOCS=( doc/ANNmanual.pdf doc/ReadMe.txt )
+
src_prepare() {
export QUILT_PATCHES="${WORKDIR}/debian/patches"
export QUILT_SERIES="${QUILT_PATCHES}/series"
@@ -48,11 +50,7 @@ src_install() {
insinto /usr/include/ANN
doins -r include/ANN/.
- dodoc doc/ANNmanual.pdf
- dodoc doc/Copyright.txt
- dodoc doc/ReadMe.txt
-
- insinto /usr/share/ANN/sample
+ insinto "/usr/share/${P}/sample"
doins sample/query.pts
doins sample/sample.save
doins sample/data.pts