summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2018-05-01 13:14:20 +0200
committerPacho Ramos <pacho@gentoo.org>2018-05-01 21:32:22 +0200
commite6f8ab0f2b33b3a75315421f64c894d484dff210 (patch)
tree76ce45492d53fc1135f4fbe9e589877211840f52 /games-puzzle/enigma
parentgames-puzzle/enigma: Stop using games.eclass (diff)
downloadgentoo-e6f8ab0f2b33b3a75315421f64c894d484dff210.tar.gz
gentoo-e6f8ab0f2b33b3a75315421f64c894d484dff210.tar.bz2
gentoo-e6f8ab0f2b33b3a75315421f64c894d484dff210.zip
games-puzzle/enigma: Drop old
Package-Manager: Portage-2.3.31, Repoman-2.3.9
Diffstat (limited to 'games-puzzle/enigma')
-rw-r--r--games-puzzle/enigma/enigma-1.21-r2.ebuild74
1 files changed, 0 insertions, 74 deletions
diff --git a/games-puzzle/enigma/enigma-1.21-r2.ebuild b/games-puzzle/enigma/enigma-1.21-r2.ebuild
deleted file mode 100644
index c9b2e6c38ed..00000000000
--- a/games-puzzle/enigma/enigma-1.21-r2.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils gnome2-utils games
-
-DESCRIPTION="puzzle game similar to Oxyd"
-HOMEPAGE="http://www.nongnu.org/enigma/"
-SRC_URI="mirror://sourceforge/enigma-game/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="nls"
-
-COMMON_DEPS="media-libs/sdl-ttf
- media-libs/libsdl[video]
- media-libs/sdl-mixer
- media-libs/sdl-image[jpeg,png]
- media-libs/libpng:0=
- sys-libs/zlib
- net-misc/curl
- || ( >=dev-libs/xerces-c-3[icu] >=dev-libs/xerces-c-3[-icu,-iconv] )
- net-libs/enet:=
- nls? ( virtual/libintl )"
-DEPEND="${COMMON_DEPS}
- sys-devel/gettext"
-RDEPEND="${COMMON_DEPS}
- media-fonts/dejavu
- x11-misc/xdg-utils"
-
-src_prepare() {
- cp /usr/share/gettext/config.rpath .
- epatch "${FILESDIR}"/${P}-build.patch \
- "${FILESDIR}"/${P}-gcc6.patch
- sed -i \
- -e "s:DOCDIR:\"/usr/share/doc/${P}/html\":" \
- src/main.cc || die
- eautoreconf
-}
-
-src_configure() {
- egamesconf \
- --with-system-enet \
- $(use_enable nls)
-}
-
-src_install() {
- DOCS="ACKNOWLEDGEMENTS AUTHORS CHANGES README doc/HACKING" \
- default
- dosym \
- /usr/share/fonts/dejavu/DejaVuSansCondensed.ttf \
- "${GAMES_DATADIR}"/${PN}/fonts/DejaVuSansCondensed.ttf
- dosym \
- /usr/share/fonts/dejavu/DejaVuSans.ttf \
- "${GAMES_DATADIR}"/${PN}/fonts/vera_sans.ttf
- dohtml -r doc/*
- doman doc/enigma.6
- prepgamesdirs
-}
-
-pkg_preinst() {
- games_pkg_preinst
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- games_pkg_postinst
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- gnome2_icon_cache_update
-}