summaryrefslogtreecommitdiff
blob: dc3f5f971b4ad31845fa8c3e86f2af607697b83f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/blinkperl/blinkperl-20030301.ebuild,v 1.6 2004/06/24 23:36:52 agriffis Exp $

MY_P="${PN}-2003-02-08"
S=${WORKDIR}/${PN}

DESCRIPTION="blinkperl is a telnet server, which plays BlinkenLight movies"
SRC_URI="mirror://sourceforge/blinkserv/${MY_P}.tar.gz"
HOMEPAGE="http://blinkserv.sourceforge.net/"

SLOT="0"
KEYWORDS="x86"
LICENSE="GPL-2"
IUSE=""
DEPEND=">=sys-apps/sed-4"
RDEPEND="dev-lang/perl dev-perl/Term-ANSIScreen"

src_unpack() {
	unpack ${A}

	# please don't hardcode paths like this into programs, folks.
	# that's why makefiles exist.

	sed -i -e 's/local\/share/share/' ${S}/blinkserver.pl || die "path fix failed"
}

src_install() {
	make PREFIX=/usr DESTDIR=${D} install || die

	exeinto /etc/init.d; newexe ${FILESDIR}/blinkperl.rc blinkperl
	insinto /etc/conf.d; newins ${FILESDIR}/blinkperl.confd blinkperl
}