summaryrefslogtreecommitdiff
blob: b5574145a6a83bbf2f8dac5634664f60a12cd303 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-proxy/paros/paros-3.2.0.ebuild,v 1.2 2005/05/05 05:13:56 mrness Exp $

DESCRIPTION="HTTP/HTTPS proxy for evaluate security of web applications"
HOMEPAGE="http://www.parosproxy.org/"
SRC_URI="mirror://sourceforge/${PN}/${P}-unix.zip"

LICENSE="Clarified-Artistic"
SLOT="0"
KEYWORDS="x86"
IUSE=""

DEPEND="app-arch/unzip"
RDEPEND=">=virtual/jre-1.4"

S=${WORKDIR}/${PN}

src_install() {
	sed -i -e '1i#!/bin/sh' -e '1icd /opt/paros' startserver.sh
	exeinto /usr/sbin
	newbin startserver.sh paros
	rm startserver.*

	dodir /opt && cp -a ${S} ${D}/opt || die "failed to copy files"
}