# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/ondir/ondir-0.2.1.ebuild,v 1.1 2003/08/21 21:02:07 pylon Exp $ inherit eutils DESCRIPTION="ondir is a program that automatically executes scripts as you traverse directories." SRC_URI="http://ondir.sourceforge.net/${PV}/ondir-${PV}.tar.gz" HOMEPAGE="http://ondir.sourceforge.net" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="" S="${WORKDIR}/${P}" src_unpack() { unpack "${A}" cd "${S}" } src_compile() { emake PREFIX=/usr CONF=/etc/ondirrc || die "Make failed" } src_install() { ## EXEs exeinto /usr/bin exeopts -oroot -groot -m0755 doexe ondir ## MISC insinto /usr/share/${PN} insopts -oroot -groot -m0755 doins scripts.sh scripts.tcsh insopts -oroot -groot -m0644 doins ondirrc.eg ## DOCS dodoc \ AUTHORS \ ChangeLog \ COPYING \ INSTALL \ README \ TODO doman \ ondir.1 }