mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
f6ece39f85
Update the LEGAL entry for net-mgmt/unifi3, missed during the MOVE Approved by: swills (mentor)
44 lines
928 B
Makefile
44 lines
928 B
Makefile
# Created by: Mark Felder <feld@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= unifi3
|
|
PORTVERSION= 3.1.9
|
|
CATEGORIES= net-mgmt java
|
|
MASTER_SITES= http://dl.ubnt.com/unifi/${PORTVERSION}/
|
|
DISTNAME= UniFi.unix
|
|
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
|
|
|
|
MAINTAINER= feld@FreeBSD.org
|
|
COMMENT= UniFi Wireless Controller
|
|
|
|
RUN_DEPENDS= mongodb>0:${PORTSDIR}/databases/mongodb
|
|
|
|
SUB_LIST+= USERS=${USERS} GROUPS=${GROUPS} JAVASHAREDIR=${JAVASHAREDIR}
|
|
|
|
USE_ZIP= yes
|
|
USE_JAVA= yes
|
|
JAVA_VERSION= 1.6+
|
|
JAVA_OS= native
|
|
JAVA_VENDOR= openjdk bsdjava
|
|
JAVA_RUN= yes
|
|
|
|
NO_BUILD= yes
|
|
|
|
USE_RC_SUBR= unifi
|
|
|
|
USERS= unifi
|
|
GROUPS= unifi
|
|
|
|
PLIST_SUB+= USERS="${USERS}"
|
|
PLIST_SUB+= GROUPS="${GROUPS}"
|
|
WRKSRC= ${WRKDIR}/UniFi
|
|
|
|
RESTRICTED= Redistribution of bundled firmware images is not permitted
|
|
CONFLICTS= unifi2-*
|
|
|
|
do-install:
|
|
${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/unifi
|
|
(cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${JAVASHAREDIR}/unifi/)
|
|
|
|
.include <bsd.port.mk>
|