- move to jdk7

- while here shorten MASTER_SITES

PR:		174346
Submitted by:	maintainer, hsn@sendmail.cz
This commit is contained in:
Jason Helfman 2012-12-12 00:12:08 +00:00
parent e2dba65548
commit 62e1182e15
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=308724
2 changed files with 4 additions and 3 deletions

View file

@ -3,8 +3,9 @@
PORTNAME= cassandra
PORTVERSION= 1.0.12
PORTREVISION= 1
CATEGORIES= databases java
MASTER_SITES= ${MASTER_SITE_APACHE}
MASTER_SITES= APACHE
MASTER_SITE_SUBDIR= cassandra/${PORTVERSION}
DISTNAME= apache-cassandra-${PORTVERSION}
EXTRACT_SUFX= -bin.tar.gz
@ -14,7 +15,7 @@ COMMENT= Open source distributed database management system
LICENSE= AL2
JAVA_VERSION= 1.6
JAVA_VERSION= 1.7
JAVA_VENDOR= openjdk
REINPLACE_ARGS= -i ''
USE_JAVA= yes

View file

@ -57,7 +57,7 @@ export JVM_OPTS=-javaagent:%%DATADIR%%/lib/jamm-0.2.5.jar
export JVM_OVERRIDE_OPTS="$cassandra_vmargs"
export JAVA_VENDOR=openjdk
export JAVA_VERSION=1.6
export JAVA_VERSION=1.7
cassandra_prestop() {
$CASSANDRA_HOME/bin/nodetool -h localhost disablegossip