git: 3ce42d02d420 - main - textproc/libnxml: fix MASTER_SITES and WWW [1] variables

From: Nicola Vitale <nivit_at_FreeBSD.org>
Date: Sun, 11 Sep 2022 16:05:46 UTC
The branch main has been updated by nivit:

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

commit 3ce42d02d4208fe1da62c0da8eca904541c6d2e7
Author:     Nicola Vitale <nivit@FreeBSD.org>
AuthorDate: 2022-09-11 16:02:57 +0000
Commit:     Nicola Vitale <nivit@FreeBSD.org>
CommitDate: 2022-09-11 16:05:21 +0000

    textproc/libnxml: fix MASTER_SITES and WWW [1] variables
    
    - add LICENSE
    - strip library installed
    
    Suggested by:   se (via private email)  [1]
---
 textproc/libnxml/Makefile | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/textproc/libnxml/Makefile b/textproc/libnxml/Makefile
index b02b826fb296..d96a1fc47665 100644
--- a/textproc/libnxml/Makefile
+++ b/textproc/libnxml/Makefile
@@ -2,20 +2,24 @@ PORTNAME=	libnxml
 PORTVERSION=	0.18.3
 PORTREVISION=	4
 CATEGORIES=	textproc devel
-MASTER_SITES=	http://www.autistici.org/bakunin/libnxml/ \
-		http://nivi.interfree.it/distfiles/${PORTNAME}/${PORTVERSION}/
+MASTER_SITES=	https://www.autistici.org/bakunin/libnxml/
 
 MAINTAINER=	nivit@FreeBSD.org
 COMMENT=	C library for writing XML 1.0/1.1 files or streams
-WWW=		http://www2.autistici.org/bakunin/libnxml/doc/
+WWW=		https://github.com/bakulf/libnxml
+
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libcurl.so:ftp/curl
 
 USES=		libtool pathfix
+USE_LDCONFIG=	yes
+
 GNU_CONFIGURE=	yes
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-USE_LDCONFIG=	yes
+INSTALL_TARGET=	install-strip
 
 .include <bsd.port.mk>