mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Enable the Aspell support is turn on by default now. AbiWord's spell checker
will not work unless this compiles with Aspell support. Reviewed by: marcus and adamw
This commit is contained in:
parent
26ab926b66
commit
4168351dde
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=111173
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= enchant
|
||||
PORTVERSION= 1.1.3
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= textproc gnome
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= abiword
|
||||
@ -25,23 +25,19 @@ CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
|
||||
MAN1= enchant.1
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if exists(${LOCALBASE}/lib/libpspell.so)
|
||||
WITH_ASPELL= yes
|
||||
.endif
|
||||
|
||||
.if exists(${LOCALBASE}/bin/hspell)
|
||||
WITH_HSPELL= yes
|
||||
.endif
|
||||
|
||||
.if defined(WITH_ASPELL)
|
||||
.ifndef(WITHOUT_ASPELL)
|
||||
LIB_DEPENDS+= pspell.15:${PORTSDIR}/textproc/aspell
|
||||
PLIST_SUB+= ASPELL=""
|
||||
.else
|
||||
PLIST_SUB+= ASPELL="@comment "
|
||||
.endif
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if exists(${LOCALBASE}/bin/hspell)
|
||||
WITH_HSPELL= yes
|
||||
.endif
|
||||
|
||||
.if defined(WITH_HSPELL)
|
||||
BUILD_DEPENDS+= hspell:${PORTSDIR}/hebrew/hspell
|
||||
PLIST_SUB+= HSPELL=""
|
||||
@ -50,11 +46,11 @@ PLIST_SUB+= HSPELL="@comment "
|
||||
.endif
|
||||
|
||||
pre-everything::
|
||||
.if !defined(WITH_ASPELL) || !defined(WITH_HSPELL)
|
||||
.if !defined(WITHOUT_ASPELL) || !defined(WITH_HSPELL)
|
||||
@${ECHO_CMD} '===> The following options are available for this port:'
|
||||
.if !defined(WITH_ASPELL)
|
||||
.if !defined(WITHOUT_ASPELL)
|
||||
@${ECHO_CMD} '===>'
|
||||
@${ECHO_CMD} '===> Define WITH_ASPELL to enable aspell support'
|
||||
@${ECHO_CMD} '===> Define WITHOUT_ASPELL to disable aspell support'
|
||||
.endif
|
||||
.if !defined(WITH_HSPELL)
|
||||
@${ECHO_CMD} '===>'
|
||||
|
Loading…
Reference in New Issue
Block a user