2020-08-31 20:06:29 +02:00
|
|
|
# $NetBSD: Makefile,v 1.76 2020/08/31 18:11:40 wiz Exp $
|
2002-01-15 02:07:24 +01:00
|
|
|
|
2019-10-19 12:43:28 +02:00
|
|
|
DISTNAME= aspell-0.60.8
|
2020-08-31 20:06:29 +02: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
|
|
|
|
2007-09-11 20:42:30 +02:00
|
|
|
MAINTAINER= pkgsrc-users@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
|
2010-02-19 21:16:40 +01:00
|
|
|
LICENSE= gnu-lgpl-v2.1
|
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
|
2007-09-08 23:57:57 +02:00
|
|
|
USE_FEATURES= snprintf vsnprintf
|
2005-07-15 22:14:02 +02:00
|
|
|
USE_TOOLS+= gmake
|
2019-10-19 12:43:28 +02:00
|
|
|
USE_TOOLS+= msgfmt msgmerge xgettext
|
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++
|
2010-10-27 09:17:24 +02:00
|
|
|
USE_NCURSES= yes
|
2006-11-24 17:31:48 +01:00
|
|
|
USE_PKGLOCALEDIR= yes
|
2007-01-06 23:07:42 +01:00
|
|
|
INFO_FILES= yes
|
2004-12-19 01:19:18 +01:00
|
|
|
|
2019-07-24 21:04:29 +02:00
|
|
|
CONFIGURE_ARGS+= --enable-curses=${CURSES_TYPE}
|
2004-12-24 03:55:53 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-pkgdatadir=${PREFIX}/share/aspell
|
|
|
|
CONFIGURE_ARGS+= --enable-dict-dir=${PREFIX}/lib/aspell
|
2019-10-19 12:43:28 +02:00
|
|
|
# https://github.com/GNUAspell/aspell/issues/336
|
|
|
|
CONFIGURE_ARGS+= --enable-compile-in-filters
|
2006-05-05 05:11:53 +02:00
|
|
|
CONFIGURE_ENV+= gt_cv_func_gnugettext1_libintl=yes
|
2002-01-15 02:07:24 +01:00
|
|
|
|
2007-09-06 23:51:52 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2019-07-24 21:04:29 +02:00
|
|
|
# aspell does not work with curses in NetBSD <= 8.0.
|
|
|
|
.if !empty(MACHINE_PLATFORM:MNetBSD-8.0*) || \
|
|
|
|
!empty(MACHINE_PLATFORM:MNetBSD-[0-7].*)
|
|
|
|
USE_CURSES= ncurses
|
|
|
|
.endif
|
|
|
|
|
2008-03-11 19:47:40 +01:00
|
|
|
.if !empty(MACHINE_PLATFORM:MIRIX-5*)
|
2007-09-08 23:57:57 +02:00
|
|
|
CPPFLAGS+= -DDECLARE_VSNPRINTF -DDECLARE_SNPRINTF
|
|
|
|
# IRIX 5 has an older implementation of signal()
|
|
|
|
CPPFLAGS+= -DHAVE_OLD_SIGNAL
|
|
|
|
.endif
|
|
|
|
|
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-05-05 05:11:53 +02:00
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
2019-07-24 21:04:29 +02:00
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
2002-01-15 02:07:24 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|