2006-03-09 12:14:50 +01:00
|
|
|
# $NetBSD: Makefile,v 1.41 2006/03/09 11:14:50 ghen Exp $
|
2002-01-15 02:07:24 +01:00
|
|
|
#
|
|
|
|
|
2006-01-06 15:51:19 +01:00
|
|
|
DISTNAME= aspell-0.60.4
|
2006-02-06 00:08:03 +01:00
|
|
|
PKGREVISION= 1
|
2002-01-15 02:07:24 +01:00
|
|
|
CATEGORIES= textproc
|
2003-01-15 01:23:55 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU:=aspell/}
|
2002-12-25 04:47:36 +01:00
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= wiz@NetBSD.org
|
2003-01-15 01:23:55 +01:00
|
|
|
HOMEPAGE= http://aspell.net/
|
2003-07-19 12:53:26 +02:00
|
|
|
COMMENT= Spell checker with good multi-language support
|
2002-01-15 02:07:24 +01:00
|
|
|
|
2003-01-23 01:01:43 +01:00
|
|
|
CONFLICTS= libpspell-[0-9]*
|
|
|
|
|
2002-01-15 02:07:24 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2005-07-15 22:14:02 +02:00
|
|
|
USE_TOOLS+= gmake
|
2005-06-28 16:18:55 +02:00
|
|
|
# for bin/aspell-import
|
2005-07-15 22:14:02 +02:00
|
|
|
USE_TOOLS+= perl:run
|
2002-01-15 02:07:24 +01:00
|
|
|
USE_LIBTOOL= yes
|
2004-02-11 02:46:30 +01:00
|
|
|
USE_LANGUAGES= c c++
|
2002-01-15 02:07:24 +01:00
|
|
|
|
2004-12-24 03:55:53 +01:00
|
|
|
INFO_FILES= aspell-dev.info aspell.info
|
2004-12-19 01:19:18 +01:00
|
|
|
|
2002-01-15 02:07:24 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-doc-dir=${PREFIX}/share/doc/aspell
|
|
|
|
CONFIGURE_ARGS+= --enable-curses=ncurses
|
2004-12-24 03:55:53 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-pkgdatadir=${PREFIX}/share/aspell
|
|
|
|
CONFIGURE_ARGS+= --enable-dict-dir=${PREFIX}/lib/aspell
|
2002-01-15 02:07:24 +01:00
|
|
|
|
2006-01-29 23:02:45 +01:00
|
|
|
# Loadable filter currently don't work on NetBSD, see
|
|
|
|
# https://sourceforge.net/tracker/?func=detail&atid=100245&aid=1336865&group_id=245
|
|
|
|
# Disable dynamic loading of filters until it is fixed.
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.aspell
|
|
|
|
#PKG_SUPPORTED_OPTIONS= aspell-loadable-filters
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Maspell-loadable-filters)
|
|
|
|
CONFIGURE_ARGS+= --disable-compile-in-filters
|
|
|
|
PLIST_SUBST+= FILTER=""
|
|
|
|
.else
|
2005-09-11 18:29:58 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-compile-in-filters
|
2006-01-29 23:02:45 +01:00
|
|
|
PLIST_SUBST+= FILTER="@comment "
|
|
|
|
.endif
|
2005-09-11 18:29:58 +02:00
|
|
|
|
2003-07-13 16:06:08 +02:00
|
|
|
REPLACE_PERL= scripts/aspell-import
|
|
|
|
|
2004-12-24 03:55:53 +01:00
|
|
|
NOT_FOR_COMPILER= xlc
|
|
|
|
|
2004-07-25 09:42:02 +02:00
|
|
|
LIBS.SunOS+= -lm
|
|
|
|
|
2003-01-15 01:23:55 +01:00
|
|
|
# Create directory for dictionaries.
|
|
|
|
post-install:
|
2003-07-19 12:53:26 +02:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/aspell
|
2003-01-15 01:23:55 +01:00
|
|
|
|
2004-02-11 05:35:20 +01:00
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
2002-01-15 02:07:24 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|