diff options
author | pi <pi@FreeBSD.org> | 2019-08-27 23:52:46 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2019-08-27 23:52:46 +0800 |
commit | dfe1572334b21cc042e78aa13b2769f318c542a8 (patch) | |
tree | bec17afdc53821291ddf577c2cecf9253be74e2d /comms | |
parent | 91a663a22b4f38001fb77d3e783be93d4e5094d5 (diff) | |
download | freebsd-ports-gnome-dfe1572334b21cc042e78aa13b2769f318c542a8.tar.gz freebsd-ports-gnome-dfe1572334b21cc042e78aa13b2769f318c542a8.tar.zst freebsd-ports-gnome-dfe1572334b21cc042e78aa13b2769f318c542a8.zip |
comms/openzwave-devel: improve port Makefile
PR: 239967
Submitted by: mat
Diffstat (limited to 'comms')
-rw-r--r-- | comms/openzwave-devel/Makefile | 18 |
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> |