2006-11-24 17:31:48 +01:00
|
|
|
# $NetBSD: Makefile,v 1.47 2006/11/24 16:31:48 rillig Exp $
|
2002-01-15 02:07:24 +01:00
|
|
|
#
|
|
|
|
|
2006-01-06 15:51:19 +01:00
|
|
|
DISTNAME= aspell-0.60.4
|
2006-05-05 05:11:53 +02:00
|
|
|
PKGREVISION= 2
|
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
|
|
|
|
2006-10-09 14:52:34 +02:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
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++
|
2006-11-24 17:31:48 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2006-04-01 01:56:28 +02:00
|
|
|
INFO_FILES= # PLIST
|
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
|
2006-05-05 05:11:53 +02:00
|
|
|
CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes
|
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
|
|
|
|
|
2006-10-01 10:52:01 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if !empty(LOWER_OPSYS:Mirix5*)
|
|
|
|
# needs vsnprintf() and snprintf()
|
|
|
|
. include "../../pkgtools/libnbcompat/buildlink3.mk"
|
|
|
|
CPPFLAGS+= -DDECLARE_VSNPRINTF -DDECLARE_SNPRINTF
|
|
|
|
# IRIX 5 has an older implementation of signal()
|
|
|
|
CPPFLAGS+= -DHAVE_OLD_SIGNAL
|
|
|
|
.endif
|
2006-05-05 05:11:53 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
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"
|