aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/unifi3
diff options
context:
space:
mode:
authorMark Felder <feld@FreeBSD.org>2014-06-02 12:59:46 +0000
committerMark Felder <feld@FreeBSD.org>2014-06-02 12:59:46 +0000
commit9ce66cd0145854f4261cf6b2b0de039cef0998d0 (patch)
tree8e34c1f1640bc53447dfb754966825769f5aa962 /net-mgmt/unifi3
parent0d84fe27f6a0ca289c75efdf3070475c1fe0b2b1 (diff)
downloadports-9ce66cd0145854f4261cf6b2b0de039cef0998d0.tar.gz
ports-9ce66cd0145854f4261cf6b2b0de039cef0998d0.zip
Notes
Diffstat (limited to 'net-mgmt/unifi3')
-rw-r--r--net-mgmt/unifi3/Makefile2
-rw-r--r--net-mgmt/unifi3/pkg-plist1
2 files changed, 2 insertions, 1 deletions
diff --git a/net-mgmt/unifi3/Makefile b/net-mgmt/unifi3/Makefile
index d741ed58f704..3f10d1da955a 100644
--- a/net-mgmt/unifi3/Makefile
+++ b/net-mgmt/unifi3/Makefile
@@ -3,6 +3,7 @@
PORTNAME= unifi3
PORTVERSION= 3.1.13
+PORTREVISION= 1
CATEGORIES= net-mgmt java
MASTER_SITES= http://dl.ubnt.com/unifi/${PORTVERSION}/
DISTNAME= UniFi.unix
@@ -41,5 +42,6 @@ post-extract:
do-install:
${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/unifi
(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${JAVASHAREDIR}/unifi/)
+ ${LN} -s ${PREFIX}/bin/mongod ${STAGEDIR}${JAVASHAREDIR}/unifi/bin/mongod
.include <bsd.port.mk>
diff --git a/net-mgmt/unifi3/pkg-plist b/net-mgmt/unifi3/pkg-plist
index 063a0be47a6d..11bacf85819a 100644
--- a/net-mgmt/unifi3/pkg-plist
+++ b/net-mgmt/unifi3/pkg-plist
@@ -293,4 +293,3 @@
@dirrmtry %%JAVASHAREDIR%%/unifi/bin
@dirrmtry %%JAVASHAREDIR%%/unifi
@exec chown -R unifi:unifi %D/%%JAVASHAREDIR%%/unifi
-@exec ln -sf %D/bin/mongod %D/%%JAVASHAREDIR%%/unifi/bin/mongod