summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Duchateau <duchateau.olivier@gmail.com>2025-06-11 10:11:56 +0200
committerBaptiste Daroussin <bapt@FreeBSD.org>2025-06-11 12:07:05 +0200
commitfb09ca773d4bdf84c31c7cc43bc67f60bf45060a (patch)
tree13ddb1ba57d184c0ef44072bcbf647bb7c0b6568
parentsysutils/gnome-settings-daemon: update to 47.2 (diff)
textproc/enchant2: update to 2.8.2
PR: 286061
-rw-r--r--textproc/enchant2/Makefile12
-rw-r--r--textproc/enchant2/distinfo6
-rw-r--r--textproc/enchant2/pkg-plist4
3 files changed, 12 insertions, 10 deletions
diff --git a/textproc/enchant2/Makefile b/textproc/enchant2/Makefile
index b79fd9135340..8c07b6e66347 100644
--- a/textproc/enchant2/Makefile
+++ b/textproc/enchant2/Makefile
@@ -1,13 +1,12 @@
PORTNAME= enchant
-PORTVERSION= 2.2.15
-PORTREVISION= 6
+DISTVERSION= 2.8.2
CATEGORIES= textproc gnome
-MASTER_SITES= https://github.com/AbiWord/enchant/releases/download/v${PORTVERSION}/
+MASTER_SITES= https://github.com/rrthomas/${PORTNAME}/releases/download/v${DISTVERSION}/
PKGNAMESUFFIX= 2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Dictionary/spellchecking framework
-WWW= https://abiword.github.io/enchant/
+WWW= https://rrthomas.github.io/enchant/
LICENSE= LGPL21
LICENSE_FILE= ${WRKSRC}/COPYING.LIB
@@ -16,7 +15,6 @@ USES= compiler:c++11-lib gmake gnome libtool localbase pathfix \
pkgconfig
USE_GNOME= glib20
GNU_CONFIGURE= yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
USE_LDCONFIG= yes
CONFIGURE_ARGS= --without-applespell \
--without-voikko
@@ -59,4 +57,8 @@ post-patch:
@${REINPLACE_CMD} -e 's|MKDIRPROG-mkdir|MKDIRPROG-mkdir -p|g' \
${WRKSRC}/install-sh
+ @${REINPLACE_CMD} -e 's|groff -mandoc|mandoc -mdoc|' \
+ ${WRKSRC}/src/Makefile.in \
+ ${WRKSRC}/lib/Makefile.in
+
.include <bsd.port.mk>
diff --git a/textproc/enchant2/distinfo b/textproc/enchant2/distinfo
index 22734cf5f5a0..4116a4bbdd95 100644
--- a/textproc/enchant2/distinfo
+++ b/textproc/enchant2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1611495305
-SHA256 (enchant-2.2.15.tar.gz) = 3b0f2215578115f28e2a6aa549b35128600394304bd79d6f28b0d3b3d6f46c03
-SIZE (enchant-2.2.15.tar.gz) = 990693
+TIMESTAMP = 1733129070
+SHA256 (enchant-2.8.2.tar.gz) = 8f19535adb5577b83b00e02f330fe9b9eb40dd21f19e2899636fc4d3a7696375
+SIZE (enchant-2.8.2.tar.gz) = 1345097
diff --git a/textproc/enchant2/pkg-plist b/textproc/enchant2/pkg-plist
index 6b4be5d91b51..f974f0daa896 100644
--- a/textproc/enchant2/pkg-plist
+++ b/textproc/enchant2/pkg-plist
@@ -1,7 +1,6 @@
bin/enchant-2
bin/enchant-lsmod-2
include/enchant-2/enchant++.h
-include/enchant-2/enchant-provider.h
include/enchant-2/enchant.h
%%ASPELL%%lib/enchant-2/enchant_aspell.a
%%ASPELL%%lib/enchant-2/enchant_aspell.so
@@ -18,6 +17,7 @@ lib/libenchant-2.so
lib/libenchant-2.so.2
lib/libenchant-2.so.%%LIBVERSION%%
libdata/pkgconfig/enchant-2.pc
+share/enchant-2/enchant.ordering
share/man/man1/enchant-2.1.gz
share/man/man1/enchant-lsmod-2.1.gz
-%%DATADIR%%/enchant.ordering
+share/man/man5/enchant.5.gz