Received: by mail.netbsd.org (Postfix, from userid 605) id 1B34584E8C; Wed, 21 Jul 2021 22:35:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 46D9B84E8A for ; Wed, 21 Jul 2021 22:35:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id vZACv9XV6slk for ; Wed, 21 Jul 2021 22:35:25 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 5172584D0D for ; Wed, 21 Jul 2021 22:35:25 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 453CFFA95; Wed, 21 Jul 2021 22:35:25 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1626906925108260" MIME-Version: 1.0 Date: Wed, 21 Jul 2021 22:35:25 +0000 From: "Pierre Pronchery" Subject: CVS commit: pkgsrc/devel/libnet To: pkgsrc-changes@NetBSD.org Reply-To: khorben@netbsd.org X-Mailer: log_accum Message-Id: <20210721223525.453CFFA95@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1626906925108260 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1626906925108260 Content-Disposition: inline Content-Length: 4818 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 --_----------=_1626906925108260--