blob: 1c027831e478924dfe1d9d19f019bdc01923b798 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
PORTNAME= openhab-addons
PORTVERSION= 3.0.2
CATEGORIES= misc java
MASTER_SITES= https://openhab.jfrog.io/artifactory/libs-release-local/org/openhab/distro/openhab-addons/${PORTVERSION}/
DISTNAME= openhab-addons-${PORTVERSION}
EXTRACT_SUFX= .kar
MAINTAINER= netchild@FreeBSD.org
COMMENT= Addons for openhab
LICENSE= EPL
RUN_DEPENDS= ${LOCALBASE}/libexec/openhab/addons/README:misc/openhab
USERS= openhab
GROUPS= openhab
USES= zip
NO_WRKSUBDIR= yes
NO_BUILD= yes
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS="-v"
EXTRACT_AFTER_ARGS="${EXTRACT_WRKDIR}"
PLIST_FILES= libexec/openhab/addons/openhab-addons-${PORTVERSION}.kar
do-install:
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/openhab
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/openhab/addons
(cd ${WRKSRC} && ${INSTALL_DATA} ${DISTNAME}${EXTRACT_SUFX} ${STAGEDIR}${PREFIX}/libexec/openhab/addons/)
.include <bsd.port.mk>
|