diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2003-10-14 02:44:44 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2003-10-14 02:44:44 +0000 |
commit | 60a47720b872945359dbac4cbc68fe0919b66ce1 (patch) | |
tree | 234dedbf10061d02be2c002796c0cb2c255ddd5e | |
parent | ver bump (diff) | |
download | historical-60a47720b872945359dbac4cbc68fe0919b66ce1.tar.gz historical-60a47720b872945359dbac4cbc68fe0919b66ce1.tar.bz2 historical-60a47720b872945359dbac4cbc68fe0919b66ce1.zip |
fix the DESTDIR support
-rw-r--r-- | games-puzzle/enigma/ChangeLog | 5 | ||||
-rw-r--r-- | games-puzzle/enigma/Manifest | 4 | ||||
-rw-r--r-- | games-puzzle/enigma/enigma-0.81.ebuild | 17 |
3 files changed, 21 insertions, 5 deletions
diff --git a/games-puzzle/enigma/ChangeLog b/games-puzzle/enigma/ChangeLog index ee0a0a58cec2..59c57f5b7d11 100644 --- a/games-puzzle/enigma/ChangeLog +++ b/games-puzzle/enigma/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-puzzle/enigma # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/ChangeLog,v 1.8 2003/10/14 01:53:25 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/ChangeLog,v 1.9 2003/10/14 02:44:42 mr_bones_ Exp $ + + 13 Oct 2003; Michael Sterrett <mr_bones_@gentoo.org> enigma-0.81.ebuild: + fix the DESTDIR support (Thanks Spanky!) *enigma-0.81 (13 Oct 2003) diff --git a/games-puzzle/enigma/Manifest b/games-puzzle/enigma/Manifest index d68958fd4957..f8db87a77299 100644 --- a/games-puzzle/enigma/Manifest +++ b/games-puzzle/enigma/Manifest @@ -1,7 +1,7 @@ -MD5 72fe8177eb8f453461050b88834cd812 ChangeLog 2532 +MD5 0a6e5f52b07d75434f35eb40d6cc2949 ChangeLog 2651 MD5 a02a8c8a8ccdf4644ebae29f35a775ba enigma-0.70.ebuild 840 MD5 584a2b6e33dd5810418c3293e4bdfd7e enigma-0.80_beta1.ebuild 1200 -MD5 73d7254d70e59af6e005848dcd3bd538 enigma-0.81.ebuild 858 +MD5 99cd81d6223daa9de9d8d5ec06449db9 enigma-0.81.ebuild 1132 MD5 43e970bb89bb24c634b411cf29b5cb7f files/0.70-gcc3.patch 258 MD5 e1e10cb6b69cccca2fcef5b459ffde5a files/digest-enigma-0.70 64 MD5 6fa63e200e91e6ff9459a054d6b5403e files/digest-enigma-0.80_beta1 69 diff --git a/games-puzzle/enigma/enigma-0.81.ebuild b/games-puzzle/enigma/enigma-0.81.ebuild index 63c0a01fee7c..7b95abca2f8a 100644 --- a/games-puzzle/enigma/enigma-0.81.ebuild +++ b/games-puzzle/enigma/enigma-0.81.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/enigma-0.81.ebuild,v 1.1 2003/10/14 01:53:25 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-puzzle/enigma/enigma-0.81.ebuild,v 1.2 2003/10/14 02:44:42 mr_bones_ Exp $ inherit games @@ -12,15 +12,28 @@ KEYWORDS="~x86" LICENSE="GPL-2" SLOT="0" -DEPEND="virtual/glibc +RDEPEND="virtual/glibc sys-libs/zlib media-libs/sdl-ttf >=media-libs/libsdl-1.2.0 >=media-libs/sdl-mixer-1.2.4 >=media-libs/sdl-image-1.2.0 >=dev-lang/lua-4.0" +DEPEND="${RDEOEND} + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i \ + -e 's:$(pkgdatadir):$(DESTDIR)$(pkgdatadir):' \ + data/levels/Makefile.am \ + data/levels/Sokoban/Makefile.am || \ + die "sed data/levels/{Sokoban/}?Makefile.am failed" +} src_compile() { + automake egamesconf --enable-optimize || die emake || die "emake failed" } |