git: efe2b96542b3 - main - x11-wm/wmname: Add LICENSE and LICENSE_FILE

From: Zsolt Udvari <uzsolt_at_FreeBSD.org>
Date: Tue, 12 Nov 2024 18:39:50 UTC
The branch main has been updated by uzsolt:

URL: https://cgit.FreeBSD.org/ports/commit/?id=efe2b96542b3d0b8e625552d8ccc62c200f5ebb2

commit efe2b96542b3d0b8e625552d8ccc62c200f5ebb2
Author:     Chris Hutchinson <portmaster@bsdforge.com>
AuthorDate: 2024-11-12 18:37:40 +0000
Commit:     Zsolt Udvari <uzsolt@FreeBSD.org>
CommitDate: 2024-11-12 18:37:40 +0000

    x11-wm/wmname: Add LICENSE and LICENSE_FILE
    
    Switch to DISTVERSION.
    Pet portfmt.
    
    PR:             279115
    Approved by:    maintainer timeout (5+ months)
---
 x11-wm/wmname/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/x11-wm/wmname/Makefile b/x11-wm/wmname/Makefile
index 7276459422b1..108efaf0f767 100644
--- a/x11-wm/wmname/Makefile
+++ b/x11-wm/wmname/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	wmname
-PORTVERSION=	0.1
-PORTREVISION=	2
+DISTVERSION=	0.1
+PORTREVISION=	3
 CATEGORIES=	x11-wm
 MASTER_SITES=	http://dl.suckless.org/tools/
 
@@ -8,11 +8,14 @@ MAINTAINER=	nuncupatio@gmail.com
 COMMENT=	Prints/sets the window manager name property of the root window
 WWW=		https://tools.suckless.org/x/wmname
 
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
 USES=		xorg
 USE_XORG=	x11 xorgproto
 
-PLIST_FILES=	bin/wmname
 MAKE_ARGS=	PREFIX="${PREFIX}" CC="${CC}" \
 		X11LIB="${PREFIX}/lib" X11INC="${PREFIX}/include"
+PLIST_FILES=	bin/wmname
 
 .include <bsd.port.mk>