diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-06-08 23:08:06 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-06-08 23:08:06 +0800 |
commit | bff9bf1be5652705cff654ae29074ee6f2be48f1 (patch) | |
tree | e0726a8f8fccb9200d6b4fa48533bac350f398e8 /textproc | |
parent | 58b4cab66e647d6571a402c321f06a8a19b65aee (diff) | |
download | marcuscom-ports-bff9bf1be5652705cff654ae29074ee6f2be48f1.tar marcuscom-ports-bff9bf1be5652705cff654ae29074ee6f2be48f1.tar.gz marcuscom-ports-bff9bf1be5652705cff654ae29074ee6f2be48f1.tar.bz2 marcuscom-ports-bff9bf1be5652705cff654ae29074ee6f2be48f1.tar.lz marcuscom-ports-bff9bf1be5652705cff654ae29074ee6f2be48f1.tar.xz marcuscom-ports-bff9bf1be5652705cff654ae29074ee6f2be48f1.tar.zst marcuscom-ports-bff9bf1be5652705cff654ae29074ee6f2be48f1.zip |
UPdate to 1.6.0.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@14231 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/enchant/Makefile | 78 | ||||
-rw-r--r-- | textproc/enchant/distinfo | 3 | ||||
-rw-r--r-- | textproc/enchant/pkg-descr | 16 | ||||
-rw-r--r-- | textproc/enchant/pkg-plist | 26 |
4 files changed, 123 insertions, 0 deletions
diff --git a/textproc/enchant/Makefile b/textproc/enchant/Makefile new file mode 100644 index 000000000..dac2e1939 --- /dev/null +++ b/textproc/enchant/Makefile @@ -0,0 +1,78 @@ +# New ports collection makefile for: enchant +# Date created: 03 January 2004 +# Whom: Adam Weinberger <adamw@FreeBSD.org> +# +# $FreeBSD$ +# $MCom$ +# + +PORTNAME= enchant +PORTVERSION= 1.6.0 +CATEGORIES= textproc gnome +MASTER_SITES= http://www.abisource.com/downloads/${PORTNAME}/${PORTVERSION}/ +DIST_SUBDIR= gnome2 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Dictionary/spellchecking framework + +USE_GMAKE= yes +USE_AUTOTOOLS= libtool:22 +USE_LDCONFIG= yes +USE_GNOME= gnomehack gnometarget glib20 ltverhack +CONFIGURE_ARGS= --disable-hspell \ + --disable-uspell +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +MAN1= enchant.1 + +OPTIONS= ASPELL "Enable aspell support" on \ + ZEMBEREK "Enable zemberek backend (requires DBUS)" off + + +.include <bsd.port.pre.mk> + +# Disable, it needs hspell 0.9 or above. +#.if exists(${LOCALBASE}/bin/hspell) +#WITH_HSPELL= yes +#.endif +# +#.if defined(WITH_HSPELL) +#BUILD_DEPENDS+= hspell:${PORTSDIR}/hebrew/hspell +#CONFIGURE_ARGS+=--enable-hspell +#PLIST_SUB+= HSPELL="" +#.else +#CONFIGURE_ARGS+=--disable-hspell +#PLIST_SUB+= HSPELL="@comment " +#.endif + +.ifndef(WITHOUT_ASPELL) +LIB_DEPENDS+= pspell.16:${PORTSDIR}/textproc/aspell +CONFIGURE_ARGS+=--enable-aspell \ + --with-aspell-prefix=${LOCALBASE} +PLIST_SUB+= ASPELL="" +.else +CONFIGURE_ARGS+=--disable-aspell +PLIST_SUB+= ASPELL="@comment " +.endif + +.if defined(WITH_ZEMBEREK) && !defined(WITHOUT_DBUS) +LIB_DEPENDS+= dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib +CONFIGURE_ARGS+= --enable-zemberek +PLIST_SUB+= ZEMBEREK="" +.else +PLIST_SUB+= ZEMBEREK="@comment " +CONFIGURE_ARGS+= --disable-zemberek +.endif + +post-patch: + @${REINPLACE_CMD} -e 's|MKDIRPROG-mkdir|MKDIRPROG-mkdir -p|g' \ + ${WRKSRC}/install-sh +.if ${OSVERSION} < 700042 + @${REINPLACE_CMD} -E -e "s|-Wunsafe-loop-optimizations ||g" \ + -e "s|-Wno-missing-field-initializers ||g" \ + -e "s|-Wno-attributes ||g" \ + ${WRKSRC}/configure +.endif + +.include <bsd.port.post.mk> diff --git a/textproc/enchant/distinfo b/textproc/enchant/distinfo new file mode 100644 index 000000000..52c0d5d1e --- /dev/null +++ b/textproc/enchant/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/enchant-1.6.0.tar.gz) = de11011aff801dc61042828041fb59c7 +SHA256 (gnome2/enchant-1.6.0.tar.gz) = 2fac9e7be7e9424b2c5570d8affe568db39f7572c10ed48d4e13cddf03f7097f +SIZE (gnome2/enchant-1.6.0.tar.gz) = 607018 diff --git a/textproc/enchant/pkg-descr b/textproc/enchant/pkg-descr new file mode 100644 index 000000000..04cf4afb5 --- /dev/null +++ b/textproc/enchant/pkg-descr @@ -0,0 +1,16 @@ +On the surface, Enchant appears to be a generic spell checking library. You +can request dictionaries from it, ask if a word is correctly spelled, get +corrections for a misspelled word, etc... + +Beneath the surface, Enchant is a whole lot more - and less - than that. +You'll see that Enchant isn't really a spell checking library at all. + +"What's that?" you ask. Well, Enchant doesn't try to do any of the work +itself. It's lazy, and requires backends to do most of its dirty work. Looking +closer, you'll see the Enchant is more-or-less a fancy wrapper around the +dlopen() system call. Enchant steps in to provide uniformity and conformity +on top of these libraries, and implement certain features that may be lacking +in any individual provider library. Everything should "just work" for any and +every definition of "just working." + +WWW: http://www.abisource.com/projects/enchant/ diff --git a/textproc/enchant/pkg-plist b/textproc/enchant/pkg-plist new file mode 100644 index 000000000..695e54ae2 --- /dev/null +++ b/textproc/enchant/pkg-plist @@ -0,0 +1,26 @@ +bin/enchant +bin/enchant-lsmod +include/enchant/enchant++.h +include/enchant/enchant-provider.h +include/enchant/enchant.h +%%ASPELL%%lib/enchant/libenchant_aspell.a +%%ASPELL%%lib/enchant/libenchant_aspell.la +%%ASPELL%%lib/enchant/libenchant_aspell.so +lib/enchant/libenchant_ispell.a +lib/enchant/libenchant_ispell.la +lib/enchant/libenchant_ispell.so +lib/enchant/libenchant_myspell.a +lib/enchant/libenchant_myspell.la +lib/enchant/libenchant_myspell.so +%%ZEMBEREK%%lib/enchant/libenchant_zemberek.a +%%ZEMBEREK%%lib/enchant/libenchant_zemberek.la +%%ZEMBEREK%%lib/enchant/libenchant_zemberek.so +lib/libenchant.a +lib/libenchant.la +lib/libenchant.so +lib/libenchant.so.1 +libdata/pkgconfig/enchant.pc +%%DATADIR%%/enchant.ordering +@dirrm %%DATADIR%% +@dirrm lib/enchant +@dirrm include/enchant |