aboutsummaryrefslogtreecommitdiff
path: root/textproc/enchant
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/enchant')
-rw-r--r--textproc/enchant/Makefile13
-rw-r--r--textproc/enchant/pkg-plist15
2 files changed, 19 insertions, 9 deletions
diff --git a/textproc/enchant/Makefile b/textproc/enchant/Makefile
index 66b42df5d9d9..acf7351c213e 100644
--- a/textproc/enchant/Makefile
+++ b/textproc/enchant/Makefile
@@ -7,7 +7,7 @@
PORTNAME= enchant
PORTVERSION= 1.1.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= abiword
@@ -16,8 +16,6 @@ DIST_SUBDIR= gnome2
MAINTAINER= gnome@FreeBSD.org
COMMENT= Dictionary/spellchecking framework
-LIB_DEPENDS= aspell.15:${PORTSDIR}/textproc/aspell
-
USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
@@ -43,14 +41,23 @@ WITH_HSPELL= yes
.if defined(WITH_ASPELL)
LIB_DEPENDS+= pspell.15:${PORTSDIR}/textproc/aspell
+PLIST_SUB+= ASPELL=""
+.else
+PLIST_SUB+= ASPELL="@comment "
.endif
.if defined(WITH_ISPELL)
BUILD_DEPENDS+= ispell:${PORTSDIR}/textproc/ispell
+PLIST_SUB+= ISPELL=""
+.else
+PLIST_SUB+= ISPELL="@comment "
.endif
.if defined(WITH_HSPELL)
BUILD_DEPENDS+= hspell:${PORTSDIR}/hebrew/hspell
+PLIST_SUB+= HSPELL=""
+.else
+PLIST_SUB+= HSPELL="@comment "
.endif
pre-everything::
diff --git a/textproc/enchant/pkg-plist b/textproc/enchant/pkg-plist
index 518f34dd89b9..388332f012c8 100644
--- a/textproc/enchant/pkg-plist
+++ b/textproc/enchant/pkg-plist
@@ -3,12 +3,15 @@ bin/enchant-lsmod
include/enchant/enchant++.h
include/enchant/enchant-provider.h
include/enchant/enchant.h
-lib/enchant/libenchant_aspell.a
-lib/enchant/libenchant_aspell.so
-lib/enchant/libenchant_aspell.so.2
-lib/enchant/libenchant_ispell.a
-lib/enchant/libenchant_ispell.so
-lib/enchant/libenchant_ispell.so.2
+%%ASPELL%%lib/enchant/libenchant_aspell.a
+%%ASPELL%%lib/enchant/libenchant_aspell.so
+%%ASPELL%%lib/enchant/libenchant_aspell.so.2
+%%HSPELL%%lib/enchant/libenchant_hspell.a
+%%HSPELL%%lib/enchant/libenchant_hspell.so
+%%HSPELL%%lib/enchant/libenchant_hspell.so.2
+%%ISPELL%%lib/enchant/libenchant_ispell.a
+%%ISPELL%%lib/enchant/libenchant_ispell.so
+%%ISPELL%%lib/enchant/libenchant_ispell.so.2
lib/enchant/libenchant_myspell.a
lib/enchant/libenchant_myspell.so
lib/enchant/libenchant_myspell.so.2