View | Details | Raw Unified
Collapse All | Expand All

(-) /usr/portage/games-mud/tf/tf-50_beta7.ebuild (-6 / +6 lines)
 Lines 1-4    Link Here 
# Copyright 1999-2005 Gentoo Foundation
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-mud/tf/tf-50_beta7.ebuild,v 1.2 2005/05/17 23:05:13 mr_bones_ Exp $
# $Header: /var/cvsroot/gentoo-x86/games-mud/tf/tf-50_beta7.ebuild,v 1.2 2005/05/17 23:05:13 mr_bones_ Exp $
 Lines 22-46    Link Here 
S=${WORKDIR}/${MY_P}
S=${WORKDIR}/${MY_P}
src_compile() {
src_compile() {
	egamesconf \
	STRIP=: egamesconf \
		$(use_enable ssl) \
		$(use_enable ssl) \
		$(use_enable debug core) \
		$(use_enable debug core) \
		$(use_enable ipv6 inet6) \
		$(use_enable ipv6 inet6) \
		--enable-manpage || die
		--enable-manpage || die "egamesconf failed"
	emake || die "emake failed"
	emake || die "emake failed"
}
}
src_install() {
src_install() {
	dogamesbin src/tf
	dogamesbin src/tf || die "dogamesbin failed"
	newman src/tf.1.catman tf.1
	newman src/tf.1.catman tf.1
	dodoc CHANGES CREDITS README
	dodoc CHANGES CREDITS README
	insinto "${GAMES_DATADIR}/${PN}-lib"
	insinto "${GAMES_DATADIR}/${PN}-lib"
	# the application looks for this file here if /changes is called.
	# the application looks for this file here if /changes is called.
	# see comments on bug #23274
	# see comments on bug #23274
	doins CHANGES
	doins CHANGES || die "doins failed"
	insopts -m0755
	insopts -m0755
	doins tf-lib/*
	doins tf-lib/* || die "doins failed"
	if use doc ; then
	if use doc ; then
		dohtml -r *.html commands topics
		dohtml -r *.html commands topics
	fi
	fi