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)
Tue, Nov 11, 3:35 PM
Unknown Object (File)
Sun, Oct 26, 5:53 AM
Unknown Object (File)
Tue, Oct 21, 10:59 PM
Unknown Object (File)
Fri, Oct 17, 2:51 AM
Unknown Object (File)
Oct 9 2025, 12:36 AM
Unknown Object (File)
Sep 26 2025, 3:11 AM
Unknown Object (File)
Sep 25 2025, 4:22 PM
Unknown Object (File)
Sep 17 2025, 12:18 PM
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
Lint Not Applicable
Unit
Tests Not Applicable

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.