[Bug 268070] Mk/bsd.port.mk: Generalize the 'make describe' command to allow custom commands run on individual ports
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268070] Mk/bsd.port.mk: Generalize the 'make describe' command to allow custom commands run on individual ports"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268070] Mk/bsd.port.mk: Generalize the 'make describe' command to allow custom commands run on individual ports"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 268070] Mk/bsd.port.mk: Generalize the 'make describe' command to allow custom commands run on individual ports"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Nov 2022 04:31:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268070 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=238438&action=edit 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 command 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. -- You are receiving this mail because: You are on the CC list for the bug.