pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libnet libnet: add optional support for generati...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ef7ad6d14005
branches:  trunk
changeset: 456208:ef7ad6d14005
user:      khorben <khorben%pkgsrc.org@localhost>
date:      Wed Jul 21 22:35:25 2021 +0000

description:
libnet: add optional support for generating the documentation

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

diffstat:

 devel/libnet/Makefile   |   5 ++-
 devel/libnet/PLIST      |  56 ++++++++++++++++++++++++++++++++++++++++++++++++-
 devel/libnet/options.mk |  15 +++++++++++++
 3 files changed, 73 insertions(+), 3 deletions(-)

diffs (107 lines):

diff -r ce86461b5649 -r ef7ad6d14005 devel/libnet/Makefile
--- a/devel/libnet/Makefile     Wed Jul 21 22:25:54 2021 +0000
+++ b/devel/libnet/Makefile     Wed Jul 21 22:35:25 2021 +0000
@@ -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 @@
 USE_LIBTOOL=   yes
 GNU_CONFIGURE= yes
 
-CONFIGURE_ARGS+=--disable-doxygen-doc
+.include "../../mk/bsd.prefs.mk"
+.include "options.mk"
 
 .include "../../mk/bsd.pkg.mk"
diff -r ce86461b5649 -r ef7ad6d14005 devel/libnet/PLIST
--- a/devel/libnet/PLIST        Wed Jul 21 22:25:54 2021 +0000
+++ b/devel/libnet/PLIST        Wed Jul 21 22:35:25 2021 +0000
@@ -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-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
diff -r ce86461b5649 -r ef7ad6d14005 devel/libnet/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libnet/options.mk   Wed Jul 21 22:35:25 2021 +0000
@@ -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