1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/textproc/py-hunspell/Makefile
Jan Beich 91ea5c3247 textproc/hunspell: update to 1.7.0
- Drop const optimization as v2 API moved to nuspell

Changes:	https://github.com/hunspell/hunspell/releases/tag/v1.7.0
2019-01-18 21:14:41 +00:00

31 lines
673 B
Makefile

# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= hunspell
PORTVERSION= 0.5.5
PORTREVISION= 1
CATEGORIES= textproc devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= thierry@FreeBSD.org
COMMENT= Python module for the Hunspell spellchecker engine
LICENSE= LGPL3
LIB_DEPENDS= libhunspell-${HSPLVER}.so:textproc/hunspell
USES= python
USES+= localbase
USE_PYTHON= distutils
HSPLVER= 1.7
PLIST_FILES= %%PYTHON_SITELIBDIR%%/hunspell.so
pre-configure:
${REINPLACE_CMD} -e "s|/usr/include|${LOCALBASE}/include|" \
-e "s|= \['hunspell|= ['hunspell-${HSPLVER}|" \
${WRKSRC}/${PYSETUP}
.include <bsd.port.mk>