1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/textproc/aspell/Makefile
2023-12-20 12:09:33 +01:00

49 lines
1006 B
Makefile

PORTNAME= aspell
PORTVERSION= 0.60.8.1
PORTEPOCH= 1
CATEGORIES= textproc
MASTER_SITES= GNU/aspell
MAINTAINER= office@FreeBSD.org
COMMENT= Spelling checker with better suggestion logic than ispell
WWW= http://aspell.net/
LICENSE= LGPL21
USES= cpe gmake iconv libtool ncurses perl5 shebangfix
OPTIONS_DEFINE= NLS DOCS
OPTIONS_SUB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-dict-dir=${DATADIR} \
--enable-docdir=${DOCSDIR} \
--enable-curses="${NCURSESLIBS}" \
--enable-static
USE_LDCONFIG= yes
SHEBANG_FILES= scripts/aspell-import
CPE_VENDOR= gnu
INSTALL_TARGET= install-strip
VERINST= ${PORTVERSION:R:R}
SUB_FILES= aspell.ver
PLIST_SUB= VER=${VERINST}
SUB_LIST= VERINST=${VERINST}
INFO= aspell-dev aspell
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.options.mk>
# Does not link without at least -O
.if !defined(CFLAGS) || ${CFLAGS:M-O*} == ""
CFLAGS+= -O
.endif
post-install:
${INSTALL_DATA} ${WRKDIR}/aspell.ver ${STAGEDIR}${PREFIX}/etc
.include <bsd.port.mk>