2015-07-15 15:49:41 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2015/07/15 19:49:41 ajacoutot Exp $
|
2010-06-03 19:30:45 -04:00
|
|
|
|
2011-07-01 06:55:47 -04:00
|
|
|
COMMENT = management tool for Ubiquiti wireless devices
|
2010-06-03 19:30:45 -04:00
|
|
|
|
2011-09-19 05:17:54 -04:00
|
|
|
DISTNAME = aircontrol-1.4.2-beta
|
2011-07-01 06:55:47 -04:00
|
|
|
PKGNAME = ${DISTNAME:S/-beta/beta/}
|
2015-07-15 15:49:41 -04:00
|
|
|
REVISION = 0
|
2010-06-03 19:30:45 -04:00
|
|
|
|
2011-07-01 06:55:47 -04:00
|
|
|
CATEGORIES = net
|
2010-06-03 19:30:45 -04:00
|
|
|
|
2011-07-01 06:55:47 -04:00
|
|
|
HOMEPAGE = http://www.ubnt.com/aircontrol
|
2010-06-03 19:30:45 -04:00
|
|
|
|
2011-07-01 06:55:47 -04:00
|
|
|
PERMIT_PACKAGE_CDROM = proprietary license
|
|
|
|
PERMIT_PACKAGE_FTP = proprietary license
|
|
|
|
PERMIT_DISTFILES_FTP = proprietary license
|
2010-06-03 19:30:45 -04:00
|
|
|
|
2011-07-01 06:55:47 -04:00
|
|
|
MASTER_SITES = http://www.ubnt.com/downloads/aircontrol/
|
2010-06-03 19:30:45 -04:00
|
|
|
|
2011-07-01 06:55:47 -04:00
|
|
|
MODULES = java
|
|
|
|
MODJAVA_VER = 1.7
|
|
|
|
MODJAVA_JRERUN = Yes
|
2010-06-03 19:30:45 -04:00
|
|
|
|
2011-07-01 06:55:47 -04:00
|
|
|
RUN_DEPENDS = java/javaPathHelper
|
2010-06-03 19:30:45 -04:00
|
|
|
|
2013-07-05 03:44:59 -04:00
|
|
|
PREFIX = ${VARBASE}/aircontrol
|
2010-06-03 19:30:45 -04:00
|
|
|
|
2011-07-01 06:55:47 -04:00
|
|
|
NO_BUILD = Yes
|
2013-03-11 07:35:43 -04:00
|
|
|
NO_TEST = Yes
|
2010-06-03 19:30:45 -04:00
|
|
|
|
2011-07-01 06:55:47 -04:00
|
|
|
WRKDIST = ${WRKDIR}/aircontrol
|
2010-06-03 19:30:45 -04:00
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
cd ${WRKDIST}; \
|
|
|
|
perl -i -pe 's/\r$$//' README LICENSE \
|
|
|
|
conf/catalina.properties
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/work
|
|
|
|
cd ${WRKDIST}; pax -rw * ${PREFIX}
|
|
|
|
cd ${PREFIX}; \
|
|
|
|
chown -R ${SHAREOWN}:${SHAREGRP} .; \
|
|
|
|
chmod -R g+rwX work logs temp conf data; \
|
|
|
|
chmod -R +x bin/*sh; \
|
|
|
|
rm bin/*bat
|
|
|
|
mv ${PREFIX}/data ${PREFIX}/data.dist
|
|
|
|
mv ${PREFIX}/conf ${PREFIX}/conf.dist
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|