blob: 41dc21b3aefcd5baa4e7070c51963a44e90fee87 (
plain)
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
33
34
35
36
|
PORTNAME= openhab-addons
PORTVERSION= 4.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
WWW= https://www.openhab.org/
LICENSE= EPL
RUN_DEPENDS= ${LOCALBASE}/libexec/openhab/addons/README:misc/openhab
USES= cpe zip
USERS= openhab
GROUPS= openhab
NO_WRKSUBDIR= yes
NO_BUILD= yes
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS="-v"
EXTRACT_AFTER_ARGS="${EXTRACT_WRKDIR}"
CPE_PRODUCT= openhab
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>
|