1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00
freebsd-ports/textproc/aspell/Makefile
Baptiste Daroussin d2365ade3e Extract the ispell wrapper out of aspell into a dedicated port
Cleanup up the aspell port
Propertly strip aspell libraries
Use short form of MASTER_SITES
2014-01-28 12:02:27 +00:00

49 lines
997 B
Makefile

# Created by: Josh Gilliam <josh@quick.net>
# $FreeBSD$
PORTNAME= aspell
PORTVERSION= 0.60.6.1
PORTREVISION= 4
CATEGORIES= textproc
MASTER_SITES= GNU/aspell
MAINTAINER= office@FreeBSD.org
COMMENT= Spelling checker with better suggestion logic than ispell
LICENSE= LGPL21
OPTIONS_DEFINE= NLS DOCS
OPTIONS_SUB= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-dict-dir=${DATADIR} \
--enable-docdir=${DOCSDIR} \
--enable-curses=ncursesw \
--enable-static
USES= gmake iconv perl5 shebangfix
USE_LDCONFIG= yes
SHEBANG_FILES= scripts/aspell-import
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>