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)
Wed, Apr 15, 2:11 AM
Unknown Object (File)
Tue, Apr 14, 3:07 AM
Unknown Object (File)
Fri, Apr 10, 8:52 PM
Unknown Object (File)
Sat, Apr 4, 12:38 PM
Unknown Object (File)
Fri, Apr 3, 10:13 PM
Unknown Object (File)
Sat, Mar 28, 9:45 PM
Unknown Object (File)
Wed, Mar 25, 6:58 PM
Unknown Object (File)
Mar 16 2026, 6:42 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.