games-simulation/openttd: install data to /usr/share/games
authorAlexander Golubev <fatzer2@gmail.com>
Sun, 25 Dec 2016 19:45:31 +0000 (22:45 +0300)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 26 Dec 2016 17:04:41 +0000 (18:04 +0100)
Gentoo-Bug: 600272
+ some configure args cleanup
Closes: https://github.com/gentoo/gentoo/pull/3242

games-simulation/openttd/openttd-1.6.1-r1.ebuild [moved from games-simulation/openttd/openttd-1.6.1.ebuild with 94% similarity]

similarity index 94%
rename from games-simulation/openttd/openttd-1.6.1.ebuild
rename to games-simulation/openttd/openttd-1.6.1-r1.ebuild
index bac156eb335bc73dc8437d8a056efd42cce74153..a0c62ed0bf081ae5b132f6639fd52558071c3bdf 100644 (file)
@@ -89,15 +89,9 @@ src_configure() {
        # It's all built as C++, upstream uses CFLAGS internally.
        CFLAGS="" ./configure \
                --disable-strip \
-               --prefix-dir="${EPREFIX}" \
-               --binary-dir="/usr/bin" \
-               --data-dir="/usr/share/${PN}" \
+               --prefix-dir="${EPREFIX}/usr" \
+               --binary-dir="bin" \
                --install-dir="${D}" \
-               --icon-dir=/usr/share/pixmaps \
-               --menu-dir=/usr/share/applications \
-               --icon-theme-dir=/usr/share/icons/hicolor \
-               --man-dir=/usr/share/man/man6 \
-               --doc-dir=/usr/share/doc/${PF} \
                --menu-group="Game;Simulation;" \
                ${myopts[@]} \
                $(use_with iconv) \