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