Permalink
Browse files

games-engines/gargoyle: in tree

  • Loading branch information...
1 parent cc1df57 commit 993a3f9fb6f35ad39adb75fe522b8acdb260f989 @MeisterP committed May 7, 2012
Showing with 0 additions and 96 deletions.
  1. +0 −2 games-engines/gargoyle/Manifest
  2. +0 −94 games-engines/gargoyle/gargoyle-2011.1.ebuild
@@ -1,2 +0,0 @@
-DIST gargoyle-2011.1-sources.zip 11291660 RMD160 43de562c12a068c5d6f4fab6bb62647faadd0ff3 SHA1 8e01e458e01dd7d20fe5330f95a3e44b7cbc37d6 SHA256 8642ac38add31d47bfd531d4121dc1e956d06895a9352ce573b5007e9cae4634
-EBUILD gargoyle-2011.1.ebuild 2555 RMD160 6e775f8a6a24d560cfc5b6af47e4f284c4ad9a82 SHA1 5841dc871f9cba8d01159ba1111951ace7f0f9cc SHA256 c89f37caa87453907d1d1fb5951fad3c46fc1d151451073afd8f3b907dbe4463
@@ -1,94 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-# Regarding licenses: libgarglk is licensed under the GPLv2. Bundled
-# interpreters are licensed under GPLv2, BSD or MIT license, except:
-# - glulxe: custom license, see "terps/glulxle/README"
-# - hugo: custom license, see "licenses/HUGO License.txt"
-# Since we don't compile or install any of the bundled fonts, their licenses
-# don't apply. (Fonts are installed through dependencies instead.)
-
-EAPI=3
-
-inherit eutils games
-
-DESCRIPTION="An Interactive Fiction (IF) player supporting all major formats"
-HOMEPAGE="http://ccxvii.net/gargoyle/"
-SRC_URI="http://garglk.googlecode.com/files/${P}-sources.zip"
-
-LICENSE="BSD GPL-2 MIT Hugo Glulxe"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-RDEPEND="media-libs/freetype:2
- virtual/jpeg
- media-libs/libpng
- media-fonts/liberation-fonts
- >=media-fonts/libertine-ttf-5
- sys-libs/zlib
- x11-libs/gtk+:2
- media-libs/sdl-mixer
- media-libs/sdl-sound"
-
-DEPEND="${RDEPEND}
- app-arch/unzip
- dev-util/ftjam"
-
-src_prepare() {
- # Substitute custom CFLAGS/LDFLAGS.
- sed -i -e \
- "/^\s*OPTIM = / {
- s/ \(-O.*\)\? ;/ ${CFLAGS} ;/
- a LINKFLAGS = ${LDFLAGS} ;
- a SHRLINKFLAGS = ${LDFLAGS} ;
- }" Jamrules || die
-
- # Convert garglk.ini to UNIX format.
- edos2unix garglk/garglk.ini
-
- # The font name of Linux Libertine changed in version 5.
- sed -i -e 's/Linux Libertine O/Linux Libertine/g' garglk/garglk.ini
-}
-
-src_compile() {
- local jamopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }")
- jam \
- -sGARGLKINI="${GAMES_SYSCONFDIR}/garglk.ini" \
- -sUSESDL=yes \
- -sBUNDLEFONTS=no \
- ${jamopts} || die
-}
-
-src_install() {
- DESTDIR="${D}" \
- _BINDIR="${GAMES_PREFIX}/libexec/${PN}" \
- _APPDIR="${GAMES_PREFIX}/libexec/${PN}" \
- _LIBDIR="$(games_get_libdir)" \
- EXEMODE=755 \
- FILEMODE=755 \
- jam install || die
-
- # Install config file.
- insinto "${GAMES_SYSCONFDIR}"
- newins garglk/garglk.ini garglk.ini || die
-
- # Install application entry and icon.
- insinto /usr/share/applications
- doins garglk/${PN}.desktop || die
- doicon garglk/${PN}-house.png || die
-
- # Symlink binaries to avoid name clashes.
- for terp in advsys agility alan2 alan3 frotz geas git glulxe hugo jacl \
- level9 magnetic nitfol scare tadsr
- do
- dosym "${GAMES_PREFIX}/libexec/${PN}/${terp}" \
- "${GAMES_BINDIR}/${PN}-${terp}" || die
- done
-
- # Also symlink the main binary since it resides in libexec.
- dosym "${GAMES_PREFIX}/libexec/${PN}/${PN}" \
- "${GAMES_BINDIR}/${PN}" || die
-
- prepgamesdirs
-}

0 comments on commit 993a3f9

Please sign in to comment.