mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
e03cfd1ee4
Free software library that interfaces with selected Z-Wave PC controllers, allowing anyone to create applications that manipulate and respond to devices on a Z-Wave network, without requiring in-depth knowledge of the Z-Wave protocol. WWW: http://www.openzwave.net/ PR: 206526 Submitted by: Johan Ström <johan stromnet se> (with changes)
42 lines
922 B
Makefile
42 lines
922 B
Makefile
# Created by: Johan Strom <johan@stromnet.se>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= openzwave
|
|
PORTVERSION= 1.4.3254
|
|
CATEGORIES= comms
|
|
|
|
MAINTAINER= johan@stromnet.se
|
|
COMMENT= Open-source interface to Z-Wave networks
|
|
|
|
LICENSE= LGPL20
|
|
LICENSE_FILE= ${WRKSRC}/license/license.txt
|
|
|
|
USES= gmake iconv pkgconfig
|
|
USE_GITHUB= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
GH_ACCOUNT= OpenZWave
|
|
GH_PROJECT= open-zwave
|
|
GH_TAGNAME= f339aa6
|
|
|
|
CFLAGS+= -Wno-error
|
|
MAKE_ARGS= VERSION_REV=${PORTVERSION:E} LIBDIR=${WRKSRC}
|
|
|
|
OPTIONS_DEFINE= DOCS DOXYGEN
|
|
OPTIONS_SUB= yes
|
|
|
|
DOXYGEN_BUILD_DEPENDS= doxygen:devel/doxygen
|
|
DOXYGEN_IMPLIES= DOCS
|
|
DOXYGEN_MAKE_ARGS= ENABLE_DOCS=1 docdir=${DOCSDIR}
|
|
DOXYGEN_PORTDOCS= *
|
|
|
|
post-install:
|
|
${MV} ${STAGEDIR}${ETCDIR} ${STAGEDIR}${DATADIR}
|
|
${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/libopenzwave.so.1.4
|
|
${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/bin/MinOZW
|
|
|
|
post-install-DOXYGEN-on:
|
|
${RM} ${STAGEDIR}${DOCSDIR}/Doxyfile.in
|
|
|
|
.include <bsd.port.mk>
|