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)
Fri, Jan 30, 4:46 PM
Unknown Object (File)
Mon, Jan 19, 2:17 PM
Unknown Object (File)
Dec 14 2025, 4:34 AM
Unknown Object (File)
Dec 11 2025, 6:11 AM
Unknown Object (File)
Dec 9 2025, 8:23 AM
Unknown Object (File)
Dec 9 2025, 4:15 AM
Unknown Object (File)
Dec 6 2025, 1:20 AM
Unknown Object (File)
Nov 29 2025, 12:36 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.