aboutsummaryrefslogtreecommitdiffstats
path: root/databases/cassandra/Makefile
blob: e6f14728e828956d2ee22b714650268c36961fe3 (plain) (blame)
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
# New ports collection makefile for:    cassandra
# Date created:     2009-08-06
# Whom:         Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#

PORTNAME=   cassandra
PORTVERSION=    0.3.0
CATEGORIES= databases java
MASTER_SITES=   ${MASTER_SITE_APACHE}
MASTER_SITE_SUBDIR= incubator/cassandra/${PORTVERSION}
DISTNAME=   apache-cassandra-incubating-${PORTVERSION}
EXTRACT_SUFX=   -bin.tar.gz

MAINTAINER= gslin@gslin.org
COMMENT=    Open source distributed database management system

JAVA_VERSION=   1.6+
NO_BUILD=   yes
USE_JAVA=   yes

post-patch:
    ${MV} ${WRKSRC}/conf/log4j.properties ${WRKSRC}/conf/log4j.properties.sample
    ${MV} ${WRKSRC}/conf/storage-conf.xml ${WRKSRC}/conf/storage-conf.xml.sample

do-install:
    ${MKDIR} ${DATADIR}
    ${CP} -R ${WRKSRC}/* ${DATADIR}

.include <bsd.port.mk>