git: 9e4cd206cbd2 - main - textproc/aspell: Remove GNU_CONFIGURE_MANPREFIX

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 25 Jul 2024 04:20:30 UTC
The branch main has been updated by sunpoet:

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

commit 9e4cd206cbd20901c0647d44fcb76c6060e68dc2
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-07-25 04:18:38 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-07-25 04:18:38 +0000

    textproc/aspell: Remove GNU_CONFIGURE_MANPREFIX
    
    - Simplify Makefile
    - Cosmetic change
---
 textproc/aspell/Makefile            | 17 ++++++++---------
 textproc/aspell/files/aspell.ver.in |  2 +-
 2 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/textproc/aspell/Makefile b/textproc/aspell/Makefile
index a841ca9e8422..107b7f6c6429 100644
--- a/textproc/aspell/Makefile
+++ b/textproc/aspell/Makefile
@@ -12,21 +12,20 @@ WWW=		http://aspell.net/
 LICENSE=	LGPL21
 
 USES=		cpe gmake iconv libtool ncurses perl5 shebangfix
-GNU_CONFIGURE=	yes
-GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
-CONFIGURE_ARGS=	--enable-dict-dir=${DATADIR}	\
-		--enable-docdir=${DOCSDIR}	\
-		--enable-curses="${NCURSESLIBS}" \
+
+CONFIGURE_ARGS=	--enable-curses="${NCURSESLIBS}" \
+		--enable-dict-dir=${DATADIR} \
+		--enable-docdir=${DOCSDIR} \
 		--enable-static
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
 USE_LDCONFIG=	yes
 SHEBANG_FILES=	scripts/aspell-import
 CPE_VENDOR=	gnu
 
-INSTALL_TARGET=	install-strip
-VERINST=	${PORTVERSION:R:R}
 SUB_FILES=	aspell.ver
-PLIST_SUB=	VER=${VERINST}
-SUB_LIST=	VERINST=${VERINST}
+PLIST_SUB=	VER=${PORTVERSION:R:R}
+SUB_LIST=	VER=${PORTVERSION:R:R}
 INFO=		aspell aspell-dev
 
 OPTIONS_DEFINE=	NLS
diff --git a/textproc/aspell/files/aspell.ver.in b/textproc/aspell/files/aspell.ver.in
index 4de3caac64fb..0e44af6f2da0 100644
--- a/textproc/aspell/files/aspell.ver.in
+++ b/textproc/aspell/files/aspell.ver.in
@@ -1,2 +1,2 @@
 # Installed by textproc/aspell, please don't edit manually!
-VER=	%%VERINST%%
+VER=	%%VER%%