aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Palmen <zirias@FreeBSD.org>2023-10-11 09:45:40 +0000
committerFelix Palmen <zirias@FreeBSD.org>2023-10-11 09:56:37 +0000
commit0a170fe305d6eecd040244933023740d937fdaa2 (patch)
tree574ff9177ffeb01c9966de192b9c0794e67c7616
parent50e4d5d7862f126dbbec2cff8de886e0e989cd92 (diff)
downloadports-0a170fe305d6eecd040244933023740d937fdaa2.tar.gz
ports-0a170fe305d6eecd040244933023740d937fdaa2.zip
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
-rw-r--r--Templates/Makefile6
1 files changed, 5 insertions, 1 deletions
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>