git: b8a009ebdc5d - main - textproc/enchant: fix MASTERSITES, add LICENSE

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Fri, 07 Jun 2024 17:58:26 UTC
The branch main has been updated by fernape:

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

commit b8a009ebdc5db0fc21792560c3c9797ce54b6a0a
Author:     Chris Hutchinson <portmaster@bsdforge.com>
AuthorDate: 2024-06-06 12:15:19 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2024-06-07 17:57:59 +0000

    textproc/enchant: fix MASTERSITES, add LICENSE
    
    Pet linters.
    
    PR:             277620
    Reported by:    portmaster@bsdforge.com
    Approved by:    (gnome@, maintainer timeout > 2 weeks)
---
 textproc/enchant/Makefile | 28 +++++++++++++++-------------
 1 file changed, 15 insertions(+), 13 deletions(-)

diff --git a/textproc/enchant/Makefile b/textproc/enchant/Makefile
index 9037bee78583..965717c577e1 100644
--- a/textproc/enchant/Makefile
+++ b/textproc/enchant/Makefile
@@ -1,48 +1,50 @@
 PORTNAME=	enchant
 PORTVERSION=	1.6.0
-PORTREVISION=	10
+PORTREVISION=	11
 CATEGORIES=	textproc gnome
-MASTER_SITES=	http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/
+MASTER_SITES=	http://www.nl.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/
 DIST_SUBDIR=	gnome2
 
 MAINTAINER=	gnome@FreeBSD.org
 COMMENT=	Dictionary/spellchecking framework
-WWW=		https://www.abisource.com/projects/enchant/
+WWW=		https://abiword.github.io/enchant/
+
+LICENSE=	LGPL21
+LICENSE_FILE=	${WRKSRC}/COPYING.LIB
 
-GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-USE_LDCONFIG=	yes
 USES=		gmake gnome libtool pathfix pkgconfig
-USE_GNOME=	glib20
 USE_CXXSTD=	c++11
+USE_GNOME=	glib20
+USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--disable-uspell \
 		--disable-voikko
+INSTALL_TARGET=	install-strip
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
 
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-INSTALL_TARGET=	install-strip
-
+OPTIONS_DEFAULT=HUNSPELL
 OPTIONS_MULTI=	SPELL
 OPTIONS_MULTI_SPELL=ASPELL HSPELL HUNSPELL ISPELL ZEMBEREK
-OPTIONS_DEFAULT=HUNSPELL
 OPTIONS_SUB=	yes
 HSPELL_DESC=	Spell checking via Hspell
 HUNSPELL_DESC=	Spell checking via Hunspell
 ZEMBEREK_DESC=	Spell checking via Zemberek
 
 ASPELL_LIB_DEPENDS=	libaspell.so:textproc/aspell
-ASPELL_CONFIGURE_ENABLE=	aspell
 ASPELL_CONFIGURE_ON=	--with-aspell-prefix=${LOCALBASE}
+ASPELL_CONFIGURE_ENABLE=	aspell
 
 HSPELL_BUILD_DEPENDS=	${LOCALBASE}/lib/libhspell.a:hebrew/hspell
-HSPELL_CONFIGURE_ENABLE=	hspell
 HSPELL_CONFIGURE_ON=	--with-hspell-prefix=${LOCALBASE}
+HSPELL_CONFIGURE_ENABLE=	hspell
 
 HUNSPELL_LIB_DEPENDS=	libhunspell-1.7.so:textproc/hunspell
-HUNSPELL_CONFIGURE_ENABLE=	myspell
 HUNSPELL_CONFIGURE_ON=	--with-system-myspell=yes \
 			--with-myspell-dir=${LOCALBASE}/share/hunspell
+HUNSPELL_CONFIGURE_ENABLE=	myspell
 
 ISPELL_RUN_DEPENDS=	ispell:textproc/aspell-ispell
 ISPELL_CONFIGURE_ENABLE=	ispell