Date: Wed, 30 Nov 2022 04:31:38 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268070] Mk/bsd.port.mk: Generalize the 'make describe' command to allow custom commands run on individual ports Message-ID: <bug-268070-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268070 Bug ID: 268070 Summary: Mk/bsd.port.mk: Generalize the 'make describe' command to allow custom commands run on individual ports Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Ports Framework Assignee: portmgr@FreeBSD.org Reporter: yuri@freebsd.org CC: ports-bugs@FreeBSD.org Created attachment 238438 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D238438&action= =3Dedit patch Currently 'make describe' visits every port in the tree with a predefined command that prints a summary information about the port for INDEX. The attached patch generalizes 'make describe' to allow user-supplied comma= nd to execute in each port. When the variable DESCRIBE_COMMAND is defined 'make describe' would run this command instead of the fixed predefined command it currently runs. Purpose: It it needed to enable the PortsDB convertor that imports the ports tree into an SQLite database: https://github.com/yurivict/freebsd-portsdb Services like Repology and FreshPorts would be able to easily extract a more comprehensive information about ports from the PortsDB database. --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268070-7788>