Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Sep 2024 10:09:24 GMT
From:      Vasil Dimov <vd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f83fcbc0e3b8 - main - misc/ossp-uuid: update license info
Message-ID:  <202409101009.48AA9OR7084828@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by vd:

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

commit f83fcbc0e3b88be7c6b0d3d1bb5e838df746a391
Author:     Vasil Dimov <vd@FreeBSD.org>
AuthorDate: 2024-09-10 10:08:22 +0000
Commit:     Vasil Dimov <vd@FreeBSD.org>
CommitDate: 2024-09-10 10:08:22 +0000

    misc/ossp-uuid: update license info
    
    Suggested by: nabijaczleweli@nabijaczleweli.xyz
---
 misc/ossp-uuid/Makefile  | 10 ++++++++--
 misc/ossp-uuid/pkg-plist |  1 +
 2 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/misc/ossp-uuid/Makefile b/misc/ossp-uuid/Makefile
index 6eb1dbfbad53..3f0080bbccf2 100644
--- a/misc/ossp-uuid/Makefile
+++ b/misc/ossp-uuid/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	uuid
 PORTVERSION=	1.6.2
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	misc devel
 MASTER_SITES=	OSSP/lib/${PORTNAME}
 PKGNAMEPREFIX=	ossp-
@@ -9,12 +9,14 @@ MAINTAINER=	vd@FreeBSD.org
 COMMENT=	ISO-C API and CLI for generating Universally Unique Identifiers
 WWW=		http://www.ossp.org/pkg/lib/uuid/
 
-LICENSE=	MIT
+LICENSE=	UNKNOWN
+LICENSE_NAME=	unknown
 .if defined(SLAVEPORT) && ${SLAVEPORT}=="perl"
 LICENSE_FILE=	${WRKSRC}/../README
 .else
 LICENSE_FILE=	${WRKSRC}/README
 .endif
+LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
 GNU_CONFIGURE=	yes
 GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
@@ -34,4 +36,8 @@ pre-patch:
 	@${REINPLACE_CMD} 's/libuuid.la/libossp-uuid.la/ ; s/libuuid++.la/libossp-uuid++.la/' \
 		${WRKDIR}/${DISTNAME}/Makefile.in
 
+post-install:
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${LICENSE_FILE} ${STAGEDIR}${DOCSDIR}/
+
 .include <bsd.port.mk>
diff --git a/misc/ossp-uuid/pkg-plist b/misc/ossp-uuid/pkg-plist
index c8ca3e8b0810..d134890ddb2b 100644
--- a/misc/ossp-uuid/pkg-plist
+++ b/misc/ossp-uuid/pkg-plist
@@ -1,3 +1,4 @@
+%%DOCSDIR%%/README
 bin/uuid
 bin/uuid-config
 include/ossp/uuid.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409101009.48AA9OR7084828>