From nobody Wed Oct 11 09:58:07 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S57W36hkVz4xBWN; Wed, 11 Oct 2023 09:58:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S57W35C87z4J8y; Wed, 11 Oct 2023 09:58:07 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697018287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jj2V4cr18+PTpqD3dp8YRjQqUmZcxNyKtYgftPJSvZY=; b=nw/Zr0T15SviGFFfhdqAee4civLM8Uhaj6dGHGEoNsCoRcxsgP3IO6g5I/hwBKiN+Li1m9 HCxni1F7M6Tntgmavz9d3IVv6HfXqCHoKfu3V+4x0Y9h12VHr0I6yWgQcG46NjqQ/6/Eq8 o5XDkDtLJohqS1DGB+Yu7uHKloaFNGVfOlsAOwXE0PxX/h5F5DnJfb2o9U+ayKGi8/pfes 4kTzurFB1iO4mqRxXz9k1DCv+IMBrx3qgxK8s5ZkJrtIutUtdTBLp20Xgmi2/g9GQ8qqls Y4/fvT0R6msBZOyzhcCiJXUJ8BxmaCORQ7tQNcqWeDYOWSTtiFOCAO+NYdx09Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1697018287; a=rsa-sha256; cv=none; b=IBAdxDWWJ4lV/ThDVnSWfIr4cKkCZMuE7tz6KVl9nQlE46/EU78AZ6xMLHHrpbjsI2C6/P DE3+ZYbI7TEChWQn+Zu9144JYYqBPUi4fqFeYc+jcP7FXeTSzXwRBLX4GnQnAYF9L+hA0F kvQ31TfJOE1sXAZygM/9q0pj6nB0gYGctq5yqFtbZ2tYBUHHNmq9r+mklR97RD9J48RXAW tOYL43qBf2DGvdTLL13TSuzlFamdlr2reER/6/fDrMhip9yN8CZ8HzPgD+n8CcQ20TQLD+ VzccSCtoLrcpjW7mxCBGC/N0anxAwXphi5s2OwyUTIQlU87XWuTsQ8gp1Elh0Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1697018287; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jj2V4cr18+PTpqD3dp8YRjQqUmZcxNyKtYgftPJSvZY=; b=GIU8iETlIhRJzo6G93tTAEmDNSVxaeP+x4/CMJ1Fro1GuK9tvRVGYyWPKjamz8CWDjKUxN kt5/TlX/bDNlf63LSlcpkoWXERd512yvFOv0SmjfnjmALwQvA/DTzOAgimEWe6zPjbqGdN wAC3xtSicl3X9F/yjxvjgaJEZwkhjPSUZtGt7v7BzOn2VMoOJ9JGeFnRNoYeu4CUdCJmYV vdYsv2sNuRdAYcoloVLppJ6O2pum9U0yzQZUEynEvVMCBxNP3lIrXC4zoyyVmLAzyZ2/Kq xAkRvMorY2+W2F3VcQ1yvTsi+XwbqVo2av5mu9tDahXTott6/UTVsSsljcWX+A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S57W347yPz2Xj; Wed, 11 Oct 2023 09:58:07 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 39B9w7jp036583; Wed, 11 Oct 2023 09:58:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 39B9w7Dw036580; Wed, 11 Oct 2023 09:58:07 GMT (envelope-from git) Date: Wed, 11 Oct 2023 09:58:07 GMT Message-Id: <202310110958.39B9w7Dw036580@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Felix Palmen Subject: git: 0a170fe305d6 - main - Templates/Makefile: Modernize and extend List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zirias X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 0a170fe305d6eecd040244933023740d937fdaa2 Auto-Submitted: auto-generated The branch main has been updated by zirias: URL: https://cgit.FreeBSD.org/ports/commit/?id=0a170fe305d6eecd040244933023740d937fdaa2 commit 0a170fe305d6eecd040244933023740d937fdaa2 Author: Felix Palmen AuthorDate: 2023-10-11 09:45:40 +0000 Commit: Felix Palmen 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