freebsd-ports/textproc/aspell/Makefile
Baptiste Daroussin 7990f81066 Install texinfo files (GNU info) into ${PREFIX}/share/info
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.

Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.

Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them

Bump revision of all impacted ports

PR:		232907
exp-run by:	antoine
Differential Revision:	https://reviews.freebsd.org/D17816
2018-11-10 18:12:57 +00:00

52 lines
1.1 KiB
Makefile

# Created by: Josh Gilliam <josh@quick.net>
# $FreeBSD$
PORTNAME= aspell
PORTVERSION= 0.60.6.1
PORTREVISION= 8
CATEGORIES= textproc
MASTER_SITES= GNU/aspell
PATCH_SITES= https://github.com/GNUAspell/aspell/commit/
PATCHFILES= 8089fa02122f.patch:-p1
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= cpe gmake iconv libtool ncurses perl5 shebangfix
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>