git: 0a170fe305d6 - main - Templates/Makefile: Modernize and extend
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 11 Oct 2023 09:58:07 UTC
The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=0a170fe305d6eecd040244933023740d937fdaa2 commit 0a170fe305d6eecd040244933023740d937fdaa2 Author: Felix Palmen <zirias@FreeBSD.org> AuthorDate: 2023-10-11 09:45:40 +0000 Commit: Felix Palmen <zirias@FreeBSD.org> CommitDate: 2023-10-11 09:56:37 +0000 Templates/Makefile: Modernize and extend 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. Approved by: bapt Differential Revision: https://reviews.freebsd.org/D42155 --- Templates/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Templates/Makefile b/Templates/Makefile index cfac256fc616..539dabea8a54 100644 --- a/Templates/Makefile +++ b/Templates/Makefile @@ -1,9 +1,13 @@ PORTNAME= -PORTVERSION= +DISTVERSION= CATEGORIES= MASTER_SITES= MAINTAINER= COMMENT= +WWW= + +LICENSE= +LICENSE_FILE= .include <bsd.port.mk>