2012-09-24 23:23:51 +02:00
|
|
|
# Created by: Josh Gilliam <josh@quick.net>
|
1999-08-31 04:11:56 +02:00
|
|
|
# $FreeBSD$
|
1998-12-24 17:29:00 +01:00
|
|
|
|
2006-07-15 16:28:44 +02:00
|
|
|
PORTNAME= aspell
|
2011-07-04 22:24:28 +02:00
|
|
|
PORTVERSION= 0.60.6.1
|
2012-09-24 23:23:51 +02:00
|
|
|
PORTREVISION= 2
|
2006-07-15 16:28:44 +02:00
|
|
|
CATEGORIES= textproc
|
- Upgrade to 0.60;
- Add dictionaries for Azerbaijani, Belarusian, Bengali, Estonian,
Finnish, Hebrew, Hungarian, Kinyarwanda, Latin, Latvian, Lithuanian,
Macedonian, Mongolian, Nyanja, Quechua, Sardinian, Tagalog, Tamil,
Tetum, Upper Sorbian, Uzbek, Vietnamese, and Yiddish.
2004-08-29 00:49:49 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU}
|
2002-09-10 05:05:27 +02:00
|
|
|
MASTER_SITE_SUBDIR= aspell
|
1998-12-24 17:29:00 +01:00
|
|
|
|
2011-12-05 22:07:05 +01:00
|
|
|
MAINTAINER= office@FreeBSD.org
|
2006-07-15 16:28:44 +02:00
|
|
|
COMMENT= Spelling checker with better suggestion logic than ispell
|
1998-12-24 17:29:00 +01:00
|
|
|
|
2010-12-28 19:56:08 +01:00
|
|
|
LICENSE= LGPL21
|
|
|
|
|
2012-09-24 23:23:51 +02:00
|
|
|
OPTIONS_DEFINE= NLS DOCS ISPELL
|
|
|
|
|
|
|
|
ISPELL_DESC= Install the ispell wrapper
|
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
- Upgrade to 0.60;
- Add dictionaries for Azerbaijani, Belarusian, Bengali, Estonian,
Finnish, Hebrew, Hungarian, Kinyarwanda, Latin, Latvian, Lithuanian,
Macedonian, Mongolian, Nyanja, Quechua, Sardinian, Tagalog, Tamil,
Tetum, Upper Sorbian, Uzbek, Vietnamese, and Yiddish.
2004-08-29 00:49:49 +02:00
|
|
|
CONFIGURE_ARGS= --enable-dict-dir=${DATADIR} \
|
|
|
|
--enable-docdir=${DOCSDIR} \
|
2012-09-24 23:23:51 +02:00
|
|
|
--enable-curses=ncursesw \
|
2007-08-12 15:37:06 +02:00
|
|
|
--enable-static
|
2012-09-24 23:23:51 +02:00
|
|
|
|
- Upgrade to 0.60;
- Add dictionaries for Azerbaijani, Belarusian, Bengali, Estonian,
Finnish, Hebrew, Hungarian, Kinyarwanda, Latin, Latvian, Lithuanian,
Macedonian, Mongolian, Nyanja, Quechua, Sardinian, Tagalog, Tamil,
Tetum, Upper Sorbian, Uzbek, Vietnamese, and Yiddish.
2004-08-29 00:49:49 +02:00
|
|
|
USE_GMAKE= yes
|
2013-08-04 14:47:44 +02:00
|
|
|
USES= iconv perl5
|
|
|
|
USE_PERL5= build
|
2006-08-06 23:05:14 +02:00
|
|
|
USE_LDCONFIG= yes
|
2002-09-01 19:19:52 +02:00
|
|
|
|
- Upgrade to 0.60;
- Add dictionaries for Azerbaijani, Belarusian, Bengali, Estonian,
Finnish, Hebrew, Hungarian, Kinyarwanda, Latin, Latvian, Lithuanian,
Macedonian, Mongolian, Nyanja, Quechua, Sardinian, Tagalog, Tamil,
Tetum, Upper Sorbian, Uzbek, Vietnamese, and Yiddish.
2004-08-29 00:49:49 +02:00
|
|
|
MAKE_ARGS= NOPORTDOCS=${NOPORTDOCS}
|
2011-07-04 22:24:28 +02:00
|
|
|
VERINST= ${PORTVERSION:R:R}
|
2006-07-15 16:28:44 +02:00
|
|
|
SUB_FILES= aspell.ver
|
2004-11-20 15:23:08 +01:00
|
|
|
PLIST_SUB= VER=${VERINST}
|
2006-07-15 16:28:44 +02:00
|
|
|
SUB_LIST= VERINST=${VERINST}
|
|
|
|
|
2013-09-21 01:17:30 +02:00
|
|
|
NO_STAGE= yes
|
2012-09-24 23:23:51 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 20:10:30 +02:00
|
|
|
USES+= gettext
|
2012-09-24 23:23:51 +02:00
|
|
|
PLIST_SUB+= NLS=""
|
- Upgrade to 0.60;
- Add dictionaries for Azerbaijani, Belarusian, Bengali, Estonian,
Finnish, Hebrew, Hungarian, Kinyarwanda, Latin, Latvian, Lithuanian,
Macedonian, Mongolian, Nyanja, Quechua, Sardinian, Tagalog, Tamil,
Tetum, Upper Sorbian, Uzbek, Vietnamese, and Yiddish.
2004-08-29 00:49:49 +02:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
2012-09-24 23:23:51 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MISPELL}
|
|
|
|
CONFLICTS+= ispell* ??-ispell*
|
|
|
|
SCRIPTS= ispell spell
|
|
|
|
PLIST_SUB+= SCRIPTS=""
|
- Upgrade to 0.60;
- Add dictionaries for Azerbaijani, Belarusian, Bengali, Estonian,
Finnish, Hebrew, Hungarian, Kinyarwanda, Latin, Latvian, Lithuanian,
Macedonian, Mongolian, Nyanja, Quechua, Sardinian, Tagalog, Tamil,
Tetum, Upper Sorbian, Uzbek, Vietnamese, and Yiddish.
2004-08-29 00:49:49 +02:00
|
|
|
.else
|
2012-09-24 23:23:51 +02:00
|
|
|
PLIST_SUB+= SCRIPTS="@comment "
|
- Upgrade to 0.60;
- Add dictionaries for Azerbaijani, Belarusian, Bengali, Estonian,
Finnish, Hebrew, Hungarian, Kinyarwanda, Latin, Latvian, Lithuanian,
Macedonian, Mongolian, Nyanja, Quechua, Sardinian, Tagalog, Tamil,
Tetum, Upper Sorbian, Uzbek, Vietnamese, and Yiddish.
2004-08-29 00:49:49 +02:00
|
|
|
.endif
|
|
|
|
|
2012-09-24 23:23:51 +02:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2005-10-19 21:21:01 +02:00
|
|
|
MAN1= aspell-import.1 aspell.1 pspell-config.1 \
|
|
|
|
run-with-aspell.1 word-list-compress.1 prezip-bin.1
|
- Upgrade to 0.60;
- Add dictionaries for Azerbaijani, Belarusian, Bengali, Estonian,
Finnish, Hebrew, Hungarian, Kinyarwanda, Latin, Latvian, Lithuanian,
Macedonian, Mongolian, Nyanja, Quechua, Sardinian, Tagalog, Tamil,
Tetum, Upper Sorbian, Uzbek, Vietnamese, and Yiddish.
2004-08-29 00:49:49 +02:00
|
|
|
INFO= aspell-dev aspell
|
|
|
|
.endif
|
1998-12-24 17:29:00 +01:00
|
|
|
|
2003-11-17 04:39:53 +01:00
|
|
|
# Does not link without at least -O
|
|
|
|
.if !defined(CFLAGS) || ${CFLAGS:M-O*} == ""
|
- Upgrade to 0.60;
- Add dictionaries for Azerbaijani, Belarusian, Bengali, Estonian,
Finnish, Hebrew, Hungarian, Kinyarwanda, Latin, Latvian, Lithuanian,
Macedonian, Mongolian, Nyanja, Quechua, Sardinian, Tagalog, Tamil,
Tetum, Upper Sorbian, Uzbek, Vietnamese, and Yiddish.
2004-08-29 00:49:49 +02:00
|
|
|
CFLAGS+= -O
|
2003-11-17 04:39:53 +01:00
|
|
|
.endif
|
|
|
|
|
2006-07-15 16:28:44 +02:00
|
|
|
post-install: ${DICT_TARGET}
|
2012-09-24 23:23:51 +02:00
|
|
|
@${INSTALL_DATA} ${WRKDIR}/aspell.ver ${PREFIX}/etc
|
|
|
|
.if ${PORT_OPTIONS:MISPELL}
|
|
|
|
@${INSTALL_SCRIPT} ${SCRIPTS:S|^|${WRKSRC}/scripts/|} ${PREFIX}/bin
|
- Upgrade to 0.60;
- Add dictionaries for Azerbaijani, Belarusian, Bengali, Estonian,
Finnish, Hebrew, Hungarian, Kinyarwanda, Latin, Latvian, Lithuanian,
Macedonian, Mongolian, Nyanja, Quechua, Sardinian, Tagalog, Tamil,
Tetum, Upper Sorbian, Uzbek, Vietnamese, and Yiddish.
2004-08-29 00:49:49 +02:00
|
|
|
.endif
|
2006-12-20 07:28:16 +01:00
|
|
|
@${ECHO_CMD} "@dirrm share/aspell" >> ${TMPPLIST}
|
|
|
|
@${ECHO_CMD} "@dirrm lib/aspell-${VERINST}" >> ${TMPPLIST}
|
2006-07-15 16:28:44 +02:00
|
|
|
|
2012-09-24 23:23:51 +02:00
|
|
|
.include <bsd.port.mk>
|