aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/unifi3
diff options
context:
space:
mode:
authorfeld <feld@FreeBSD.org>2014-06-02 20:59:46 +0800
committerfeld <feld@FreeBSD.org>2014-06-02 20:59:46 +0800
commit9c8f5135bdd61b84bb837e3d0a9136af8fb14b2c (patch)
tree8e34c1f1640bc53447dfb754966825769f5aa962 /net-mgmt/unifi3
parentf51abe0c9e6250be2ab3bd3bb6946a8911704030 (diff)
downloadfreebsd-ports-gnome-9c8f5135bdd61b84bb837e3d0a9136af8fb14b2c.tar.gz
freebsd-ports-gnome-9c8f5135bdd61b84bb837e3d0a9136af8fb14b2c.tar.zst
freebsd-ports-gnome-9c8f5135bdd61b84bb837e3d0a9136af8fb14b2c.zip
Move the symlink creation to do-install to appease
Mr. Pkg-Fallout-Builder It was in the plist but wasn't created until install time
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