# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-misc/hlfl/hlfl-0.60.1.ebuild,v 1.5 2003/10/26 09:34:44 lanius Exp $ DESCRIPTION="High Level Firewall Language" SRC_URI="ftp://ftp.hlfl.org/pub/hlfl/${P}.tar.gz" HOMEPAGE="http://www.hlfl.org" LICENSE="GPL-2" KEYWORDS="~x86 ~sparc" SLOT="0" DEPEND="virtual/glibc" src_compile() { sed -i -e 's:${datadir}/hlfl:${datadir}:' configure econf --datadir=/usr/share/doc/${P} || die "./configure failed" emake || die } src_install () { dobin src/hlfl doman doc/hlfl.1 insinto /usr/share/doc/${P} doins doc/services.hlfl dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README THANKS \ TODO doc/RoadMap doc/sample_1.hlfl doc/sample_2.hlfl \ doc/test.hlfl doc/syntax.txt doc/sample_3.hlfl doc/CodingStyle }