blob: 265ce076b0e2c37a0921c4d82bb4d36949086dbe (
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
37
38
39
40
41
42
43
44
|
# Created by: Johan Strom <johna@stromnet.se>
PORTNAME= openzwave
PORTVERSION= 1.6.${VERSION_REV}
PORTREVISION= 1
CATEGORIES= comms
PKGNAMESUFFIX= -devel
MAINTAINER= kiwi@oav.net
COMMENT= Open-source interface to Z-Wave networks
LICENSE= LGPL20
USES= compiler:c++11-lang gmake tar:bz2 iconv pkgconfig
# Manually update this when makefile is updated
# echo $(git describe --long --tags --dirty 2>/dev/null | sed s/^v//) | awk '{split($$0,a,"-"); print a[2]}'
VERSION_REV= 1061
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= OpenZWave
GH_PROJECT= open-zwave
GH_TAGNAME= 14f2ba74
MAKE_ARGS= VERSION_REV=${VERSION_REV} LIBDIR=${WRKSRC} docdir=${DOCSDIR} CXX=${CXX}
CONFLICTS_INSTALL= openzwave # bin/MinOZW
OPTIONS_DEFINE= DOXYGEN DOCS
OPTIONS_SUB= yes
DOXYGEN_DESC= Build docs (requires doxygen + graphviz)
DOXYGEN_BUILD_DEPENDS= dot:graphics/graphviz \
doxygen:devel/doxygen
DOXYGEN_PORTDOCS= *
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopenzwave.so.1.6
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/MinOZW
post-install-DOXYGEN-on:
${RM} ${STAGEDIR}${DOCSDIR}/Doxyfile.in
.include <bsd.port.mk>
|