summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-10-09 14:21:39 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-10-09 14:22:32 +0000
commite550ae3c370cdd8cbb592ff9bb0f67c55fe9bb80 (patch)
tree0565361ca97d267c7c197ae22b419e62072a9731 /games-board
parentdev-db/etcd: Remove old (diff)
downloadgentoo-e550ae3c370cdd8cbb592ff9bb0f67c55fe9bb80.tar.gz
gentoo-e550ae3c370cdd8cbb592ff9bb0f67c55fe9bb80.tar.bz2
gentoo-e550ae3c370cdd8cbb592ff9bb0f67c55fe9bb80.zip
games-board/xboard: add basic prefix support
Package-Manager: Portage-2.3.10, Repoman-2.3.3
Diffstat (limited to 'games-board')
-rw-r--r--games-board/xboard/xboard-4.8.0-r1.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/games-board/xboard/xboard-4.8.0-r1.ebuild b/games-board/xboard/xboard-4.8.0-r1.ebuild
index 226d1b2c9f48..60b2e7c30059 100644
--- a/games-board/xboard/xboard-4.8.0-r1.ebuild
+++ b/games-board/xboard/xboard-4.8.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -50,18 +50,18 @@ src_prepare() {
src_configure() {
econf \
--disable-update-mimedb \
- --datadir=/usr/share \
+ --datadir="${EPREFIX}"/usr/share \
$(use_enable nls) \
$(use_enable zippy) \
--disable-update-mimedb \
$(use_with gtk) \
$(use_with Xaw3d) \
$(usex gtk "--without-Xaw" "$(use_with !Xaw3d Xaw)") \
- --with-gamedatadir="/usr/share/games/${PN}"
+ --with-gamedatadir="${EPREFIX}/usr/share/games/${PN}"
}
src_install() {
- emake DESTDIR="${D}" install
+ default
dodoc AUTHORS COPYRIGHT ChangeLog FAQ.html NEWS README TODO ics-parsing.txt
use zippy && dodoc zippy.README
}