summaryrefslogtreecommitdiff
blob: 942188927d29c97241a72c70ed5b19123790831f (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/snipsnap-bin/snipsnap-bin-1.0_beta1.ebuild,v 1.3 2004/09/16 08:11:50 sejo Exp $

DESCRIPTION="A blog/wiki personal content management system"
HOMEPAGE="http://snipsnap.org"
MY_P=${P/-bin}
MY_PN=${PN/-bin}
SRC_URI="ftp://snipsnap.org/${MY_PN}/${MY_PN}-1.0b1-uttoxeter-20040914.tgz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc"
IUSE=""
DEPEND=">=virtual/jre-1.3"
S=${WORKDIR}/${MY_PN}-1.0b1-uttoxeter

src_install() {
	dodir /opt/${MY_PN}
	cp -pR * ${D}/opt/${MY_PN}

	exeinto /opt/${MY_PN}
	newexe ${FILESDIR}/${PV}-run.sh run.sh
	exeinto /etc/init.d
	newexe ${FILESDIR}/${PV}-snipsnap snipsnap
}