git: 198a775a4fa8 - main - devel/libs11n: Add LICENSE

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Sat, 19 Nov 2022 08:18:34 UTC
The branch main has been updated by sunpoet:

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

commit 198a775a4fa83dd7fddbdd405efb782c1b1d0cce
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-11-19 08:13:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-11-19 08:13:43 +0000

    devel/libs11n: Add LICENSE
    
    - Use DISTVERSIONSUFFIX instead of DISTNAME
    
    Reference:      http://s11n.net/license.php
---
 devel/libs11n/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/devel/libs11n/Makefile b/devel/libs11n/Makefile
index 78f38b338fc1..381454909c75 100644
--- a/devel/libs11n/Makefile
+++ b/devel/libs11n/Makefile
@@ -1,13 +1,15 @@
 PORTNAME=	libs11n
 PORTVERSION=	1.2.10
+DISTVERSIONSUFFIX=	-nobuildfiles
 PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	SF/s11n/s11n/${PORTVERSION}/
-DISTNAME=	${PORTNAME}-${PORTVERSION}-nobuildfiles
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	C++ library for easily serializing a wide variety of objects
-WWW=		http://s11n.net
+WWW=		http://s11n.net/
+
+LICENSE=	PD
 
 USES=		uidfix zip
 WRKSRC_SUBDIR=	src