freebsd-ports/textproc/py-hunspell/Makefile
Jan Beich 24bce6e056 textproc/hunspell: update to 1.6.0
- Restore DIST_SUBDIR from r305651
- Adjust license for "or later" clause
- Restore GPLv2+/LGPL21+ license files removed upstream as
  GPLv3+/LGPL3+ only affects Hunspell 2.0 (not currently built)
- Unbreak |make makepatch|

Changes:	https://github.com/hunspell/hunspell/releases/tag/v1.6.0
PR:		215714
Submitted by:	sunpoet (based on)
Exp-run by:	antoine
MFH:		2017Q1
Differential Revision:	https://reviews.freebsd.org/D8887
2017-01-07 14:43:11 +00:00

30 lines
674 B
Makefile

# Created by: Thierry Thomas <thierry@pompo.net>
# $FreeBSD$
PORTNAME= hunspell
PORTVERSION= 0.4.1
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.6
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>