pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/ham/gnuradio-doxygen



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Feb  3 13:07:35 UTC 2023

Modified Files:
        pkgsrc/ham/gnuradio-doxygen: Makefile
Removed Files:
        pkgsrc/ham/gnuradio-doxygen: PLIST

Log Message:
gnuradio-doxygen: fix TOOL_DEPENDS; auto-generate PLIST


To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 pkgsrc/ham/gnuradio-doxygen/Makefile
cvs rdiff -u -r1.35 -r0 pkgsrc/ham/gnuradio-doxygen/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/ham/gnuradio-doxygen/Makefile
diff -u pkgsrc/ham/gnuradio-doxygen/Makefile:1.65 pkgsrc/ham/gnuradio-doxygen/Makefile:1.66
--- pkgsrc/ham/gnuradio-doxygen/Makefile:1.65   Sun Jan 29 21:16:50 2023
+++ pkgsrc/ham/gnuradio-doxygen/Makefile        Fri Feb  3 13:07:35 2023
@@ -1,21 +1,32 @@
-# $NetBSD: Makefile,v 1.65 2023/01/29 21:16:50 ryoon Exp $
+# $NetBSD: Makefile,v 1.66 2023/02/03 13:07:35 adam Exp $
 
 PKGNAME=       gnuradio-doxygen-${VERSION}
-PKGREVISION=   1
+PKGREVISION=   2
 COMMENT=       Doxygen documentation of GNU Radio
 
 .include "../../ham/gnuradio-core/Makefile.common"
 .include "../../ham/gnuradio-core/Nocore.mk"
 
-BUILD_DEPENDS+=        doxygen>=1.9.5:../../devel/doxygen
-BUILD_DEPENDS+=        graphviz-[0-9]*:../../graphics/graphviz
-
-DEPENDS+=      web2c-[0-9]*:../../print/web2c
-# in case those packages are already installed by other requirement..
-DEPENDS+=      texlive-collection-latex-[0-9]*:../../meta-pkgs/texlive-collection-latex
-DEPENDS+=      tex-newunicodechar-[0-9]*:../../print/tex-newunicodechar
+TOOL_DEPENDS+= dvipsk-[0-9]*:../../print/dvipsk
+TOOL_DEPENDS+= doxygen>=1.9.5:../../devel/doxygen
+TOOL_DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz
+TOOL_DEPENDS+= tex-newunicodechar-[0-9]*:../../print/tex-newunicodechar
+TOOL_DEPENDS+= tex-xcolor-[0-9]*:../../print/tex-xcolor
+TOOL_DEPENDS+= texlive-collection-latex-[0-9]*:../../meta-pkgs/texlive-collection-latex
+TOOL_DEPENDS+= web2c-[0-9]*:../../print/web2c
 
 CMAKE_ARGS+=   -DENABLE_DEFAULT=OFF
 CMAKE_ARGS+=   -DENABLE_DOXYGEN=ON
 
+# Doxygen output is never reproducible.
+PLIST_SRC=     ${WRKDIR}/PLIST.STATIC
+
+post-install: doxygen-plist
+.PHONY: doxygen-plist
+doxygen-plist:
+       cd ${DESTDIR}${PREFIX} && \
+       ${FIND} share/doc/gnuradio-${PKGVERSION_NOREV}/html -type f -print > ${WRKDIR}/PLIST.STATIC
+       cd ${DESTDIR}${PREFIX} && \
+       ${FIND} share/doc/gnuradio-${PKGVERSION_NOREV}/xml -type f -print >> ${WRKDIR}/PLIST.STATIC
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index