aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/unifi3/Makefile
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2015-03-24 14:15:43 +0000
committerMark Felder <feld@FreeBSD.org>2015-03-24 14:15:43 +0000
commit6659d1c7125e69918c10d4cf6b0c9ed1e14a9cff (patch)
treec264d72b50c8b809d38b4ee3c723874234d3d9e4 /net-mgmt/unifi3/Makefile
parentd720895db1b37061ab9144ca9564e3be291c1ad5 (diff)
downloadports-6659d1c7125e69918c10d4cf6b0c9ed1e14a9cff.tar.gz
ports-6659d1c7125e69918c10d4cf6b0c9ed1e14a9cff.zip
Notes
Diffstat (limited to 'net-mgmt/unifi3/Makefile')
-rw-r--r--net-mgmt/unifi3/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/net-mgmt/unifi3/Makefile b/net-mgmt/unifi3/Makefile
index 8241fa07c40c..fb1de0bb20d4 100644
--- a/net-mgmt/unifi3/Makefile
+++ b/net-mgmt/unifi3/Makefile
@@ -3,6 +3,7 @@
PORTNAME= unifi3
PORTVERSION= 3.2.10
+PORTREVISION= 1
CATEGORIES= net-mgmt java
MASTER_SITES= http://dl.ubnt.com/unifi/${PORTVERSION}/
DISTNAME= UniFi.unix
@@ -45,4 +46,9 @@ do-install:
(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${JAVASHAREDIR}/unifi/)
${LN} -sf ${PREFIX}/bin/mongod ${STAGEDIR}${JAVASHAREDIR}/unifi/bin/mongod
+# Create directories that will be writable by unifi
+.for i in data logs run work
+ ${MKDIR} ${STAGEDIR}/${JAVASHAREDIR}/unifi/${i}
+.endfor
+
.include <bsd.port.mk>