aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2019-08-27 15:52:46 +0000
committerKurt Jaeger <pi@FreeBSD.org>2019-08-27 15:52:46 +0000
commit6daa26c9cf5ac945a5ab79659899c1af839815ec (patch)
treebec17afdc53821291ddf577c2cecf9253be74e2d /comms
parentb51ee4380af708fc285f5bc6fb59eeaf430e4748 (diff)
downloadports-6daa26c9cf5ac945a5ab79659899c1af839815ec.tar.gz
ports-6daa26c9cf5ac945a5ab79659899c1af839815ec.zip
comms/openzwave-devel: improve port Makefile
PR: 239967 Submitted by: mat
Notes
Notes: svn path=/head/; revision=510017
Diffstat (limited to 'comms')
-rw-r--r--comms/openzwave-devel/Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/comms/openzwave-devel/Makefile b/comms/openzwave-devel/Makefile
index 87e1456694dd..581131525617 100644
--- a/comms/openzwave-devel/Makefile
+++ b/comms/openzwave-devel/Makefile
@@ -22,6 +22,7 @@ USE_GITHUB= yes
GH_ACCOUNT= OpenZWave
GH_PROJECT= open-zwave
GH_TAGNAME= 1e2d123c
+MAKE_ARGS= VERSION_REV=${VERSION_REV} LIBDIR=${WRKSRC} docdir=${DOCSDIR}
OPTIONS_DEFINE= DOXYGEN
OPTIONS_DEFAULT=
@@ -31,24 +32,13 @@ PLIST_SUB= PORTVERSION=${PORTVERSION}
DOXYGEN_DESCR= Build docs (requires doxygen + graphviz)
DOXYGEN_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen dot:${PORTSDIR}/graphics/graphviz
-
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MDOXYGEN}
-PORTDOCS=api/* default.htm general/* images+css/*
-.endif
+DOXYGEN_PORTDOCS= api/* default.htm general/* images+css/*
post-install:
${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/lib/libopenzwave.so.1.6
${STRIP_CMD} ${STAGEDIR}${LOCALBASE}/bin/MinOZW
-.if ! ${PORT_OPTIONS:MDOXYGEN}
-# If doxygen was installed in env, it was built anyway..
-# Or even if it isnt, some files are copied here.
- ${RM} -rf ${STAGEDIR}${DOCSDIR}
-.else
- ${RM} ${STAGEDIR}${DOCSDIR}/Doxyfile.in
-.endif
-MAKE_ARGS=VERSION_REV=${VERSION_REV} LIBDIR=${WRKSRC} docdir=${DOCSDIR}
+post-install-DOXYGEN-on:
+ ${RM} ${STAGEDIR}${DOCSDIR}/Doxyfile.in
.include <bsd.port.mk>