aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/unifi3
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2014-03-10 02:48:21 +0000
committerMark Felder <feld@FreeBSD.org>2014-03-10 02:48:21 +0000
commit74b6bf2aefe447715c041d08a567e9d9328299f7 (patch)
treec6553ea9c4ba452a25539095dfe58cb2851ad79a /net-mgmt/unifi3
parent9ca5f96eb50bc9f9280c7c72608881edd7c8c463 (diff)
downloadports-74b6bf2aefe447715c041d08a567e9d9328299f7.tar.gz
ports-74b6bf2aefe447715c041d08a567e9d9328299f7.zip
Notes
Diffstat (limited to 'net-mgmt/unifi3')
-rw-r--r--net-mgmt/unifi3/Makefile2
-rw-r--r--net-mgmt/unifi3/files/unifi.in3
2 files changed, 3 insertions, 2 deletions
diff --git a/net-mgmt/unifi3/Makefile b/net-mgmt/unifi3/Makefile
index 4884a61db2b3..4714f87edd65 100644
--- a/net-mgmt/unifi3/Makefile
+++ b/net-mgmt/unifi3/Makefile
@@ -3,7 +3,7 @@
PORTNAME= unifi3
PORTVERSION= 3.1.10
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-mgmt java
MASTER_SITES= http://dl.ubnt.com/unifi/${PORTVERSION}/
DISTNAME= UniFi.unix
diff --git a/net-mgmt/unifi3/files/unifi.in b/net-mgmt/unifi3/files/unifi.in
index f1dafecb738e..5e61de90008d 100644
--- a/net-mgmt/unifi3/files/unifi.in
+++ b/net-mgmt/unifi3/files/unifi.in
@@ -23,10 +23,11 @@ load_rc_config ${name}
: ${unifi_user:=%%USERS%%}
: ${unifi_group:=%%GROUPS%%}
: ${unifi_chdir=%%JAVASHAREDIR%%/unifi}
+: ${unifi_javaflags:="-Djava.awt.headless=true -Xmx1024M"}
command_interpreter=.
command="%%PREFIX%%/bin/java"
-command_args="-Djava.awt.headless=true -Xmx1024M -jar lib/ace.jar"
+command_args="${unifi_javaflags} -jar lib/ace.jar"
start_cmd=start_cmd
start_precmd=start_precmd
stop_cmd=stop_cmd