pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/libnet



Module Name:    pkgsrc
Committed By:   khorben
Date:           Wed Jul 21 22:35:25 UTC 2021

Modified Files:
        pkgsrc/devel/libnet: Makefile PLIST
Added Files:
        pkgsrc/devel/libnet: options.mk

Log Message:
libnet: add optional support for generating the documentation

No PKGREVISION bump, as the default remains the same (no documentation).


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/devel/libnet/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/devel/libnet/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/libnet/options.mk

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

Modified files:

Index: pkgsrc/devel/libnet/Makefile
diff -u pkgsrc/devel/libnet/Makefile:1.34 pkgsrc/devel/libnet/Makefile:1.35
--- pkgsrc/devel/libnet/Makefile:1.34   Wed Jul 21 22:25:54 2021
+++ pkgsrc/devel/libnet/Makefile        Wed Jul 21 22:35:25 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2021/07/21 22:25:54 khorben Exp $
+# $NetBSD: Makefile,v 1.35 2021/07/21 22:35:25 khorben Exp $
 
 DISTNAME=      libnet-1.2
 CATEGORIES=    devel net
@@ -13,6 +13,7 @@ LICENSE=      2-clause-bsd
 USE_LIBTOOL=   yes
 GNU_CONFIGURE= yes
 
-CONFIGURE_ARGS+=--disable-doxygen-doc
+.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
 
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/libnet/PLIST
diff -u pkgsrc/devel/libnet/PLIST:1.7 pkgsrc/devel/libnet/PLIST:1.8
--- pkgsrc/devel/libnet/PLIST:1.7       Tue Jan 26 11:20:17 2021
+++ pkgsrc/devel/libnet/PLIST   Wed Jul 21 22:35:25 2021
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.7 2021/01/26 11:20:17 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.8 2021/07/21 22:35:25 khorben Exp $
 bin/libnet-config
 include/libnet.h
 include/libnet/libnet-asn1.h
@@ -9,6 +9,60 @@ include/libnet/libnet-structures.h
 include/libnet/libnet-types.h
 lib/libnet.la
 lib/pkgconfig/libnet.pc
+${PLIST.doxygen}man/man3/libnet-config.3
+${PLIST.doxygen}man/man3/libnet-functions.3
+${PLIST.doxygen}man/man3/libnet-macros.3
+${PLIST.doxygen}man/man3/libnet.3
 share/doc/libnet/ChangeLog.md
 share/doc/libnet/LICENSE
+${PLIST.doxygen}share/doc/libnet/MIGRATION.md
+${PLIST.doxygen}share/doc/libnet/RAWSOCKET.md
 share/doc/libnet/README.md
+${PLIST.doxygen}share/doc/libnet/html/api-style.css
+${PLIST.doxygen}share/doc/libnet/html/bc_s.png
+${PLIST.doxygen}share/doc/libnet/html/bdwn.png
+${PLIST.doxygen}share/doc/libnet/html/closed.png
+${PLIST.doxygen}share/doc/libnet/html/dir_000000.html
+${PLIST.doxygen}share/doc/libnet/html/dir_000001.html
+${PLIST.doxygen}share/doc/libnet/html/doc.png
+${PLIST.doxygen}share/doc/libnet/html/doxygen.css
+${PLIST.doxygen}share/doc/libnet/html/doxygen.svg
+${PLIST.doxygen}share/doc/libnet/html/dynsections.js
+${PLIST.doxygen}share/doc/libnet/html/files.html
+${PLIST.doxygen}share/doc/libnet/html/folderclosed.png
+${PLIST.doxygen}share/doc/libnet/html/folderopen.png
+${PLIST.doxygen}share/doc/libnet/html/globals.html
+${PLIST.doxygen}share/doc/libnet/html/globals_defs.html
+${PLIST.doxygen}share/doc/libnet/html/globals_func.html
+${PLIST.doxygen}share/doc/libnet/html/graph_legend.html
+${PLIST.doxygen}share/doc/libnet/html/graph_legend.md5
+${PLIST.doxygen}share/doc/libnet/html/graph_legend.png
+${PLIST.doxygen}share/doc/libnet/html/index.html
+${PLIST.doxygen}share/doc/libnet/html/jquery.js
+${PLIST.doxygen}share/doc/libnet/html/libnet-functions_8h.html
+${PLIST.doxygen}share/doc/libnet/html/libnet-functions_8h__dep__incl.map
+${PLIST.doxygen}share/doc/libnet/html/libnet-functions_8h__dep__incl.md5
+${PLIST.doxygen}share/doc/libnet/html/libnet-functions_8h__dep__incl.png
+${PLIST.doxygen}share/doc/libnet/html/libnet-functions_8h_source.html
+${PLIST.doxygen}share/doc/libnet/html/libnet-macros_8h.html
+${PLIST.doxygen}share/doc/libnet/html/libnet-macros_8h__dep__incl.map
+${PLIST.doxygen}share/doc/libnet/html/libnet-macros_8h__dep__incl.md5
+${PLIST.doxygen}share/doc/libnet/html/libnet-macros_8h__dep__incl.png
+${PLIST.doxygen}share/doc/libnet/html/libnet-macros_8h_source.html
+${PLIST.doxygen}share/doc/libnet/html/libnet_8h.html
+${PLIST.doxygen}share/doc/libnet/html/libnet_8h__incl.map
+${PLIST.doxygen}share/doc/libnet/html/libnet_8h__incl.md5
+${PLIST.doxygen}share/doc/libnet/html/libnet_8h__incl.png
+${PLIST.doxygen}share/doc/libnet/html/libnet_8h_source.html
+${PLIST.doxygen}share/doc/libnet/html/nav_f.png
+${PLIST.doxygen}share/doc/libnet/html/nav_g.png
+${PLIST.doxygen}share/doc/libnet/html/nav_h.png
+${PLIST.doxygen}share/doc/libnet/html/open.png
+${PLIST.doxygen}share/doc/libnet/html/splitbar.png
+${PLIST.doxygen}share/doc/libnet/html/sync_off.png
+${PLIST.doxygen}share/doc/libnet/html/sync_on.png
+${PLIST.doxygen}share/doc/libnet/html/tab_a.png
+${PLIST.doxygen}share/doc/libnet/html/tab_b.png
+${PLIST.doxygen}share/doc/libnet/html/tab_h.png
+${PLIST.doxygen}share/doc/libnet/html/tab_s.png
+${PLIST.doxygen}share/doc/libnet/html/tabs.css

Added files:

Index: pkgsrc/devel/libnet/options.mk
diff -u /dev/null pkgsrc/devel/libnet/options.mk:1.1
--- /dev/null   Wed Jul 21 22:35:25 2021
+++ pkgsrc/devel/libnet/options.mk      Wed Jul 21 22:35:25 2021
@@ -0,0 +1,15 @@
+# $NetBSD: options.mk,v 1.1 2021/07/21 22:35:25 khorben Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.libnet
+PKG_SUPPORTED_OPTIONS= doxygen
+
+PLIST_VARS+=           doxygen
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdoxygen)
+BUILD_DEPENDS+=                doxygen-[0-9]*:../../devel/doxygen
+PLIST.doxygen=         yes
+.else
+CONFIGURE_ARGS+=       --disable-doxygen-doc
+.endif



Home | Main Index | Thread Index | Old Index