1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

comms/openzwave-devel: Spell DOXYGEN_DESC correctly

While here
- Unbreak the DOXYGEN option and let it actually install something
- Drop unused PLIST_SUB
- Fix LOCALBASE/PREFIX confusion
This commit is contained in:
Tobias Kortkamp 2019-09-19 12:41:18 +00:00
parent 0d6f2996b5
commit 59ac6ab286
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=512336

View File

@ -3,6 +3,7 @@
PORTNAME= openzwave
PORTVERSION= 1.6.${VERSION_REV}
PORTREVISION= 1
CATEGORIES= comms
PKGNAMESUFFIX= -devel
@ -24,19 +25,18 @@ GH_PROJECT= open-zwave
GH_TAGNAME= 1e2d123c
MAKE_ARGS= VERSION_REV=${VERSION_REV} LIBDIR=${WRKSRC} docdir=${DOCSDIR}
OPTIONS_DEFINE= DOXYGEN
OPTIONS_DEFAULT=
OPTIONS_DEFINE= DOCS DOXYGEN
OPTIONS_SUB= yes
PLIST_SUB= PORTVERSION=${PORTVERSION}
DOXYGEN_DESCR= Build docs (requires doxygen + graphviz)
DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen dot:${PORTSDIR}/graphics/graphviz
DOXYGEN_PORTDOCS= api/* default.htm general/* images+css/*
DOXYGEN_DESC= Build docs (requires doxygen + graphviz)
DOXYGEN_IMPLIES= DOCS
DOXYGEN_BUILD_DEPENDS= dot:graphics/graphviz \
doxygen:devel/doxygen
DOXYGEN_PORTDOCS= api/* ChangeLog.old default.htm general/* images+css/*
post-install:
${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/libopenzwave.so.1.6
${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/bin/MinOZW
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libopenzwave.so.1.6
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/MinOZW
post-install-DOXYGEN-on:
${RM} ${STAGEDIR}${DOCSDIR}/Doxyfile.in