# Created by: Alexander Leidinger # $FreeBSD: head/misc/openhab2-addons/Makefile 558079 2020-12-14 08:31:08Z netchild $ PORTNAME= openhab2-addons PORTVERSION= 2.5.11 CATEGORIES= misc java MASTER_SITES= https://bintray.com/openhab/mvn/download_file?file_path=org%2Fopenhab%2Fdistro%2Fopenhab-addons%2F${PORTVERSION}/ DISTNAME= openhab-addons-${PORTVERSION} EXTRACT_SUFX= .kar MAINTAINER= netchild@FreeBSD.org COMMENT= Addons for openhab2 LICENSE= EPL RUN_DEPENDS= ${LOCALBASE}/libexec/openhab2/addons/README:misc/openhab2 USERS= openhab GROUPS= openhab NO_WRKSUBDIR= yes NO_BUILD= yes EXTRACT_CMD= ${CP} EXTRACT_BEFORE_ARGS="-v" EXTRACT_AFTER_ARGS="${EXTRACT_WRKDIR}" PLIST_FILES= libexec/openhab2/addons/openhab-addons-${PORTVERSION}.kar do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/openhab2 ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/openhab2/addons (cd ${WRKSRC} && ${INSTALL_DATA} ${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${PREFIX}/libexec/openhab2/addons/) .include