1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

textproc/enchant: fix MASTERSITES, add LICENSE

Pet linters.

PR:		277620
Reported by:	portmaster@bsdforge.com
Approved by:	(gnome@, maintainer timeout > 2 weeks)
This commit is contained in:
Chris Hutchinson 2024-06-06 14:15:19 +02:00 committed by Fernando Apesteguía
parent f6c897e248
commit b8a009ebdc

View File

@ -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