/[gentoo-x86]/eclass/games-ut2k4mod.eclass
Gentoo

Diff of /eclass/games-ut2k4mod.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.8
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/games-ut2k4mod.eclass,v 1.7 2005/07/06 20:23:20 agriffis Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/games-ut2k4mod.eclass,v 1.8 2006/03/31 02:39:32 wolf31o2 Exp $
4 4
5inherit games 5inherit games
6 6
7 7
8EXPORT_FUNCTIONS pkg_nofetch src_unpack src_install pkg_postinst 8EXPORT_FUNCTIONS pkg_nofetch src_unpack src_install pkg_postinst
78 78
79games-ut2k4mod_src_install() { 79games-ut2k4mod_src_install() {
80 dodir ${dir} 80 dodir ${dir}
81 cp -r ${S}/unpack/* ${Ddir} 81 cp -r ${S}/unpack/* ${Ddir}
82 82
83 if [ -e ${S}/README.${MOD_BINS} ] 83 for readme in README*
84 then
85 dodoc README.${MOD_BINS} || die "dodoc failed"
86 else
87 for tbz2 in ${MOD_TBZ2}
88 do 84 do
89 if [ -e ${S}/README.${tbz2} ]
90 then
91 dodoc README.${tbz2} || die "dodoc failed" 85 dodoc ${readme} || die "dodoc failed"
92 fi
93 done 86 done
94 fi
95 if [ -n "${MOD_BINS}" ] 87 if [ -n "${MOD_BINS}" ]
96 then 88 then
97 exeinto ${dir} 89 exeinto ${dir}
98 doexe bin/${MOD_BINS} || die "doexe failed" 90 doexe bin/${MOD_BINS} || die "doexe failed"
99 games_make_wrapper ${MOD_BINS} ./${MOD_BINS} ${dir} 91 games_make_wrapper ${MOD_BINS} ./${MOD_BINS} ${dir}

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20