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)
Sun, Dec 14, 4:34 AM
Unknown Object (File)
Thu, Dec 11, 6:11 AM
Unknown Object (File)
Tue, Dec 9, 8:23 AM
Unknown Object (File)
Tue, Dec 9, 4:15 AM
Unknown Object (File)
Sat, Dec 6, 1:20 AM
Unknown Object (File)
Sat, Nov 29, 12:36 AM
Unknown Object (File)
Nov 20 2025, 5:34 AM
Unknown Object (File)
Nov 20 2025, 5:34 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.