games-puzzle/construo: use default install
authorMichael Sterrett <mr_bones_@gentoo.org>
Thu, 31 Dec 2015 05:22:10 +0000 (00:22 -0500)
committerMichael Sterrett <mr_bones_@gentoo.org>
Thu, 31 Dec 2015 05:22:10 +0000 (00:22 -0500)
Package-Manager: portage-2.2.24

games-puzzle/construo/construo-0.2.2.ebuild

index 07653eb74bbf3810ca585de7b41f72f54e62d8ea..0f8df9f839a08e09deda7d708ca9dd7da8ee8808 100644 (file)
@@ -22,8 +22,10 @@ DEPEND="${RDEPEND}
        x11-proto/xf86vidmodeproto"
 
 src_prepare() {
-       epatch "${FILESDIR}"/${P}-gcc43.patch \
+       epatch \
+               "${FILESDIR}"/${P}-gcc43.patch \
                "${FILESDIR}"/${P}-lGLU.patch
+       sed -i -e 's/^bindir=.*/bindir=@bindir@/' Makefile.am || die
        eautoreconf
 }
 
@@ -32,9 +34,6 @@ src_configure() {
 }
 
 src_install() {
-       emake \
-               DESTDIR="${D}" \
-               bindir="${GAMES_BINDIR}" install
-       dodoc AUTHORS NEWS README TODO
+       default
        prepgamesdirs
 }