Update to 1.1.3, and de-conditionalize the ispell bidness. Ispell is

included in the enchant source, and is built automatically.

PR:		ports/63250
Submitted by:	Tom McLaughlin <tmclaugh@sdf.lonestar.org>
This commit is contained in:
Adam Weinberger 2004-02-28 18:45:11 +00:00
parent 4568415fd4
commit 8110d5ec3d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102438
4 changed files with 8 additions and 33 deletions

View file

@ -6,8 +6,7 @@
#
PORTNAME= enchant
PORTVERSION= 1.1.2
PORTREVISION= 3
PORTVERSION= 1.1.3
CATEGORIES= textproc gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= abiword
@ -19,7 +18,7 @@ COMMENT= Dictionary/spellchecking framework
USE_GMAKE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
USE_GNOME= gnomehack gnomeprefix gnometarget glib20
USE_GNOME= gnomehack gnomeprefix gnometarget glib20 lthack
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@ -31,10 +30,6 @@ MAN1= enchant.1
WITH_ASPELL= yes
.endif
.if exists(${LOCALBASE}/bin/ispell)
WITH_ISPELL= yes
.endif
.if exists(${LOCALBASE}/bin/hspell)
WITH_HSPELL= yes
.endif
@ -46,13 +41,6 @@ PLIST_SUB+= ASPELL=""
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=""
@ -61,16 +49,12 @@ PLIST_SUB+= HSPELL="@comment "
.endif
pre-everything::
.if !defined(WITH_ASPELL) || !defined(WITH_ISPELL) || !defined(WITH_HSPELL)
.if !defined(WITH_ASPELL) || !defined(WITH_HSPELL)
@${ECHO_CMD} '===> The following options are available for this port:'
.if !defined(WITH_ASPELL)
@${ECHO_CMD} '===>'
@${ECHO_CMD} '===> Define WITH_ASPELL to enable aspell support'
.endif
.if !defined(WITH_ISPELL)
@${ECHO_CMD} '===>'
@${ECHO_CMD} '===> Define WITH_ISPELL to enable ispell support'
.endif
.if !defined(WITH_HSPELL)
@${ECHO_CMD} '===>'
@${ECHO_CMD} '===> Define WITH_HSPELL to enable hspell (Hebrew) support'

View file

@ -1 +1,2 @@
MD5 (gnome2/enchant-1.1.2.tar.gz) = 0d05bd7480382d4189b82111b727263d
MD5 (gnome2/enchant-1.1.3.tar.gz) = c95186755fe46b27a78d9a85fef2175c
SIZE (gnome2/enchant-1.1.3.tar.gz) = 303556

View file

@ -1,10 +0,0 @@
--- configure.orig Sat Jan 3 16:19:57 2004
+++ configure Sat Jan 3 16:20:35 2004
@@ -8164,6 +8164,7 @@
# This can be used to rebuild libtool when needed
LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
# Always use our own libtool.
LIBTOOL='$(SHELL) $(top_builddir)/libtool'

View file

@ -9,9 +9,9 @@ include/enchant/enchant.h
%%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_ispell.a
lib/enchant/libenchant_ispell.so
lib/enchant/libenchant_ispell.so.2
lib/enchant/libenchant_myspell.a
lib/enchant/libenchant_myspell.so
lib/enchant/libenchant_myspell.so.2