# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Tcl/Tk variant of the well-known 15-puzzle game. " HOMEPAGE="http://www.naskita.com/linux/penguzzle/penguzzle.shtml" SRC_URI="http://www.naskita.com/linux/penguzzle/penguzzle.zip" LICENSE="LICENSE" SLOT="0" KEYWORDS="~x86" IUSE="X" # originally programmed in Nov. 2000, probably ok with 3{print}' ${S}/bin/penguzzle >${S}/bin/penguzzle.tmp install -d ${D}/${pzlbase}/${P}/bin cp ${S}/bin/penguzzle.tmp ${D}/${pzlbase}/${P}/bin/penguzzle chmod 755 ${D}/${pzlbase}/${P}/bin/penguzzle # set set correct path info into init program cd ${S}/lib awk -v bb=${pzlbase}/${P}/images 'NR==1{$0="";printf("set IMGPATH %s",bb);print}NR>1{print}' ${S}/lib/init >${S}/lib/init.tmp install -d ${D}/${pzlbase}/${P}/lib cp ${S}/lib/init.tmp ${D}/${pzlbase}/${P}/lib/init cd ${S} cp -R images ${D}/usr/local/${P} dodoc LICENSE README }