diff options
Diffstat (limited to 'net-irc/ircservices/ircservices-5.0.41.ebuild')
-rw-r--r-- | net-irc/ircservices/ircservices-5.0.41.ebuild | 55 |
1 files changed, 30 insertions, 25 deletions
diff --git a/net-irc/ircservices/ircservices-5.0.41.ebuild b/net-irc/ircservices/ircservices-5.0.41.ebuild index d9ca1bb8cd09..77ca74d6269c 100644 --- a/net-irc/ircservices/ircservices-5.0.41.ebuild +++ b/net-irc/ircservices/ircservices-5.0.41.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ircservices-5.0.41.ebuild,v 1.3 2004/10/24 21:09:03 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/ircservices-5.0.41.ebuild,v 1.4 2004/11/13 17:27:36 swegener Exp $ inherit eutils fixheadtails flag-o-matic @@ -9,7 +9,7 @@ HOMEPAGE="http://www.ircservices.za.net/" SRC_URI="ftp://ftp.esper.net/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc" +KEYWORDS="x86 ~ppc" IUSE="" DEPEND="" @@ -38,9 +38,9 @@ src_compile() { src_install() { dodir \ /usr/bin \ - /{etc,{usr,var}/lib,usr/share}/ircservices - keepdir /var/log/ircservices - fperms 700 /{etc,var/lib}/ircservices + /{etc,{usr,var}/lib,usr/share}/ircservices || die "dodir failed" + keepdir /var/log/ircservices || die "keepdir failed" + fperms 700 /{etc,var/lib}/ircservices || die "fperms failed" make \ BINDEST=${D}/usr/bin \ @@ -49,35 +49,40 @@ src_install() { || die "make install failed" mv ${D}/var/lib/ircservices/convert-db \ - ${D}/usr/bin/ircservices-convert-db + ${D}/usr/bin/ircservices-convert-db || die "mv failed" # Now we move some files around to make it FHS conform mv ${D}/var/lib/ircservices/example-ircservices.conf \ - ${D}/etc/ircservices/ircservices.conf + ${D}/etc/ircservices/ircservices.conf || die "mv failed" dosym /etc/ircservices/ircservices.conf \ - /var/lib/ircservices/ircservices.conf + /var/lib/ircservices/ircservices.conf || die "dosym failed" mv ${D}/var/lib/ircservices/example-modules.conf \ - ${D}/etc/ircservices/modules.conf - dosym /etc/ircservices/modules.conf /var/lib/ircservices/modules.conf + ${D}/etc/ircservices/modules.conf || die "mv failed" + dosym /etc/ircservices/modules.conf /var/lib/ircservices/modules.conf \ + || die "dosym failed" - mv ${D}/var/lib/ircservices/modules ${D}/usr/lib/ircservices - dosym /usr/lib/ircservices/modules /var/lib/ircservices/modules + mv ${D}/var/lib/ircservices/modules ${D}/usr/lib/ircservices \ + || die "mv failed" + dosym /usr/lib/ircservices/modules /var/lib/ircservices/modules \ + || die "dosym failed" mv ${D}/var/lib/ircservices/{helpfiles,languages} \ - ${D}/usr/share/ircservices - dosym /usr/share/ircservices/helpfiles /var/lib/ircservices/helpfiles - dosym /usr/share/ircservices/languages /var/lib/ircservices/languages - - exeinto /etc/init.d - newexe ${FILESDIR}/ircservices.init.d ircservices - insinto /etc/conf.d - newins ${FILESDIR}/ircservices.conf.d ircservices - - doman docs/ircservices.8 - newman docs/convert-db.8 ircservices-convert-db.8 - dohtml docs/*.html - dodoc KnownBugs Changes README TODO WhatsNew + ${D}/usr/share/ircservices || die "mv failed" + dosym /usr/share/ircservices/helpfiles /var/lib/ircservices/helpfiles \ + || die "mv failed" + dosym /usr/share/ircservices/languages /var/lib/ircservices/languages \ + || die "dosym failed" + + newinitd ${FILESDIR}/ircservices.init.d ircservices \ + || die "newinitd failed" + newconfd ${FILESDIR}/ircservices.conf.d ircservices \ + || die "newconfd failed" + + doman docs/ircservices.8 || die "doman failed" + newman docs/convert-db.8 ircservices-convert-db.8 || die "newman failed" + dohtml docs/*.html || die "dohtml failed" + dodoc KnownBugs Changes README TODO WhatsNew || die "dodoc failed" } pkg_postinst() { |