opnsense-ports/textproc/py-hunspell/Makefile
Franco Fichtner bd10d0aaac */*: sync with upstream
Taken from: HardenedBSD
2018-08-10 10:11:12 +02:00

29 lines
657 B
Makefile

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