1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/misc/openhab2-addons/Makefile
Alexander Leidinger f3f4957440 Update to 2.5.11.
2020-12-14 08:31:08 +00:00

35 lines
920 B
Makefile

# Created by: Alexander Leidinger
# $FreeBSD$
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 <bsd.port.mk>