git: 1f9f9e0893a0 - main - multimedia/qmmp-qt6: rewrite installation of doxygen-generated docs
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Aug 2022 08:45:41 UTC
The branch main has been updated by fluffy: URL: https://cgit.FreeBSD.org/ports/commit/?id=1f9f9e0893a09fa0321d04722275581ea809e657 commit 1f9f9e0893a09fa0321d04722275581ea809e657 Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2022-08-31 08:43:56 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2022-08-31 08:43:56 +0000 multimedia/qmmp-qt6: rewrite installation of doxygen-generated docs --- multimedia/qmmp-qt6/Makefile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/multimedia/qmmp-qt6/Makefile b/multimedia/qmmp-qt6/Makefile index 2148e94edc07..b404603357d2 100644 --- a/multimedia/qmmp-qt6/Makefile +++ b/multimedia/qmmp-qt6/Makefile @@ -1,5 +1,6 @@ PORTNAME= qmmp PORTVERSION= 2.1.1 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= http://qmmp.ylsoftware.com/files/${PORTNAME}/${PORTVERSION:R}/ \ SF/qmmp-dev/${PORTNAME}/${PORTVERSION:R}/ @@ -316,15 +317,9 @@ post-install-DOCS-on: cd ${WRKSRC} && ${INSTALL_MAN} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} post-install-DOXYGEN-on: - @${MKDIR} ${STAGEDIR}${DOCSDIR}/html/search ; \ cd ${WRKSRC}/doc/html && \ - ${INSTALL_MAN} *.html *.png *.css ${STAGEDIR}${DOCSDIR}/html ; \ - cd ${WRKSRC}/doc/html/search && \ - ${INSTALL_MAN} *.html *.png *.css *.js ${STAGEDIR}${DOCSDIR}/html/search ; \ - ${RM} ${WRKDIR}/PLIST.doc ; \ - ${FIND} ${STAGEDIR}${DOCSDIR}/html -type f | \ - ${SED} 's|${STAGEDIR}${PREFIX}/||' \ - >> ${WRKDIR}/PLIST.doc ; \ - cd ${WRKDIR} ; ${SED} -i -e '/PLIST.doc/ r PLIST.doc' ${TMPPLIST} + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}/html + @${FIND} -P ${STAGEDIR}${DOCSDIR}/html -type f 2>/dev/null | \ + ${SED} -ne 's|^${STAGEDIR}${PREFIX}/||p' >> ${TMPPLIST} .include <bsd.port.mk>