svn commit: r308725 - in head/net/hornetq: . files
Jason Helfman
jgh at FreeBSD.org
Wed Dec 12 00:16:22 UTC 2012
Author: jgh
Date: Wed Dec 12 00:16:21 2012
New Revision: 308725
URL: http://svnweb.freebsd.org/changeset/ports/308725
Log:
- move to jdk7, and support configurable virtual machine arguments
- while here trim historical header
PR: 174347
Submitted by: maintainer, hsn at sendmail.cz
Modified:
head/net/hornetq/Makefile
head/net/hornetq/files/hornetq.in
Modified: head/net/hornetq/Makefile
==============================================================================
--- head/net/hornetq/Makefile Wed Dec 12 00:12:08 2012 (r308724)
+++ head/net/hornetq/Makefile Wed Dec 12 00:16:21 2012 (r308725)
@@ -1,12 +1,9 @@
-# New ports collection makefile for: hornetq
-# Date created: 2012-03-16
-# Whom: Radim Kolar
-#
+# Created by: Radim Kolar
# $FreeBSD$
-#
PORTNAME= hornetq
PORTVERSION= 2.2.14
+PORTREVISION= 1
CATEGORIES= net java
MASTER_SITES= http://downloads.jboss.org/hornetq/
DISTNAME= ${PORTNAME}-${PORTVERSION}.Final
@@ -21,7 +18,7 @@ PORTDOCS= quickstart-guide api rest-api
USE_RC_SUBR= hornetq
USE_JAVA= yes
-JAVA_VERSION= 1.6
+JAVA_VERSION= 1.7
JAVA_VENDOR= openjdk
NO_BUILD= yes
Modified: head/net/hornetq/files/hornetq.in
==============================================================================
--- head/net/hornetq/files/hornetq.in Wed Dec 12 00:12:08 2012 (r308724)
+++ head/net/hornetq/files/hornetq.in Wed Dec 12 00:16:21 2012 (r308725)
@@ -38,6 +38,7 @@ load_rc_config $name
hornetq_enable=${hornetq_enable:-"NO"}
hornetq_config=${hornetq_config:-"non-clustered"}
+hornetq_vmargs=${hornetq_vmargs:-""}
hornetq_deployment=${hornetq_deployment:-"hornetq-beans.xml"}
hornetq_data=${hornetq_data:-"/var/spool/hornetq"}
@@ -54,7 +55,8 @@ export PATH=$PATH:%%LOCALBASE%%/bin
export HORNETQ_HOME=%%DATADIR%%
export CLUSTER_PROPS=-Ddata.dir=${hornetq_data}
export JAVA_VENDOR=openjdk
-export JAVA_VERSION=1.6
+export JAVA_VERSION=1.7
+export CLUSTER_PROPS="${hornetq_vmargs}"
hornetq_prestop() {
$HORNETQ_HOME/bin/stop.sh %%DATADIR%%/config/stand-alone/${hornetq_config}
More information about the svn-ports-all
mailing list