1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/misc/openhab2-addons/Makefile
Alexander Leidinger 8a73e13d08 Update to 2.5.4.
2020-04-20 11:58:07 +00:00

35 lines
919 B
Makefile

# Created by: Alexander Leidinger
# $FreeBSD$
PORTNAME= openhab2-addons
PORTVERSION= 2.5.4
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>