Page MenuHomeFreeBSD

Templates/Makefile: Modernize and extend
ClosedPublic

Authored by zirias on Oct 11 2023, 9:51 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 20, 5:34 AM
Unknown Object (File)
Thu, Nov 20, 5:34 AM
Unknown Object (File)
Thu, Nov 20, 5:33 AM
Unknown Object (File)
Thu, Nov 20, 3:46 AM
Unknown Object (File)
Tue, Nov 11, 3:35 PM
Unknown Object (File)
Oct 26 2025, 5:53 AM
Unknown Object (File)
Oct 21 2025, 10:59 PM
Unknown Object (File)
Oct 17 2025, 2:51 AM
Subscribers

Details

Summary

The template for a port Makefile can be used automatically by editors
like vim. It hasn't been updated since its introduction in 2014 though.

Modernize and extend it to meet current best practices:

  • Replace PORTVERSION with DISTVERSION, which is now the preferred variable to use.
  • Add the WWW variable which should be set for every port.
  • Add the LICENSE and LICENSE_FILE variables which should also be set whenever possible.

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 53922
Build 50812: arc lint + arc unit

Event Timeline

zirias created this revision.
This revision is now accepted and ready to land.Oct 11 2023, 9:55 AM
This revision was automatically updated to reflect the committed changes.