summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Heim <phreak@gentoo.org>2007-04-22 15:56:23 +0000
committerChristian Heim <phreak@gentoo.org>2007-04-22 15:56:23 +0000
commitd41d78742da012aa4d56b48b57072f772a80ff52 (patch)
tree31a34cdd050e82f72a13faf6ebd763a9cd340f7a /net-misc/rwbs/rwbs-0.27.ebuild
parentvalidate_desktop_entries: don't process entries twice, condense information a... (diff)
downloadgentoo-2-d41d78742da012aa4d56b48b57072f772a80ff52.tar.gz
gentoo-2-d41d78742da012aa4d56b48b57072f772a80ff52.tar.bz2
gentoo-2-d41d78742da012aa4d56b48b57072f772a80ff52.zip
Use newconfd/newinitd for #174266; Properly quote variables.
(Portage version: 2.1.2.4)
Diffstat (limited to 'net-misc/rwbs/rwbs-0.27.ebuild')
-rw-r--r--net-misc/rwbs/rwbs-0.27.ebuild22
1 files changed, 8 insertions, 14 deletions
diff --git a/net-misc/rwbs/rwbs-0.27.ebuild b/net-misc/rwbs/rwbs-0.27.ebuild
index 42c092e24526..260f47a637f7 100644
--- a/net-misc/rwbs/rwbs-0.27.ebuild
+++ b/net-misc/rwbs/rwbs-0.27.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/rwbs/rwbs-0.27.ebuild,v 1.7 2004/07/15 03:29:01 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/rwbs/rwbs-0.27.ebuild,v 1.8 2007/04/22 15:56:23 phreak Exp $
DESCRIPTION="Roger Wilco base station"
HOMEPAGE="http://rogerwilco.gamespy.com/"
@@ -18,20 +18,14 @@ S=${WORKDIR}
src_install() {
dodoc README.TXT CHANGES.TXT
- rm -f {README,CHANGES,LICENSE}.TXT
-
dobin rwbs run_rwbs
- rm -f rwbs run_rwbs
# Put distribution into /usr/share/rwbs
- dodir /usr/share/rwbs/
- mv * ${D}/usr/share/rwbs/
-
- # Do conf script
- insinto /etc/conf.d
- newins ${FILESDIR}/rwbs.conf rwbs
+ insinto /usr/share/rwbs/
+ doins "${S}"/anotherpersonjoined "${S}"/helloandwelcome \
+ "${S}"/ifucanhearthis "${S}"/invitetestxmit "${S}"/join?.rwc \
+ "${S}"/plsstartagame "${S}"/thisisatestmsg
- # do init script
- exeinto /etc/init.d
- newexe ${FILESDIR}/rwbs.rc rwbs
+ newconfd "${FILESDIR}"/rwbs.conf rwbs
+ newinitd "${FILESDIR}"/rwbs.rc rwbs
}