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
|
2014-07-04 22:28:31 +02:00
|
|
|
PORTREVISION= 5
|
2006-07-15 16:28:44 +02:00
|
|
|
CATEGORIES= textproc
|
2014-01-28 13:02:27 +01:00
|
|
|
MASTER_SITES= GNU/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
|
|
|
|
|
2014-01-28 13:02:27 +01:00
|
|
|
OPTIONS_DEFINE= NLS DOCS
|
2013-11-15 11:08:03 +01:00
|
|
|
OPTIONS_SUB= yes
|
2012-09-24 23:23:51 +02:00
|
|
|
|
2006-02-23 11:40:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2013-11-04 09:30:37 +01:00
|
|
|
CONFIGURE_ARGS= --enable-dict-dir=${DATADIR} \
|
|
|
|
--enable-docdir=${DOCSDIR} \
|
|
|
|
--enable-curses=ncursesw \
|
|
|
|
--enable-static
|
2012-09-24 23:23:51 +02:00
|
|
|
|
2014-07-04 22:28:31 +02:00
|
|
|
USES= gmake iconv libtool perl5 shebangfix
|
2013-11-04 09:30:37 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
SHEBANG_FILES= scripts/aspell-import
|
2002-09-01 19:19:52 +02:00
|
|
|
|
2014-01-28 13:02:27 +01:00
|
|
|
INSTALL_TARGET= install-strip
|
2013-11-04 09:30:37 +01:00
|
|
|
VERINST= ${PORTVERSION:R:R}
|
|
|
|
SUB_FILES= aspell.ver
|
|
|
|
PLIST_SUB= VER=${VERINST}
|
|
|
|
SUB_LIST= VERINST=${VERINST}
|
|
|
|
INFO= aspell-dev aspell
|
2006-07-15 16:28:44 +02:00
|
|
|
|
2013-11-15 11:08:03 +01:00
|
|
|
NLS_USES= gettext
|
2014-01-28 13:02:27 +01:00
|
|
|
NLS_CONFIGURE_ENABLE= nls
|
2013-11-04 09:30:37 +01:00
|
|
|
|
2013-11-15 11:08:03 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2012-09-24 23:23:51 +02: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
|
|
|
|
|
2014-01-28 13:02:27 +01:00
|
|
|
post-install:
|
2013-11-04 09:30:37 +01:00
|
|
|
@${INSTALL_DATA} ${WRKDIR}/aspell.ver ${STAGEDIR}${PREFIX}/etc
|
2006-07-15 16:28:44 +02:00
|
|
|
|
2012-09-24 23:23:51 +02:00
|
|
|
.include <bsd.port.mk>
|