# Created by: Radek Kozlowski # $FreeBSD$ PORTNAME= pychm PORTVERSION= 0.8.4 PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= SF/gnochm/${PORTNAME}/${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Bindings for CHMLIB library LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libchm.so:misc/chmlib NO_BUILD= yes USES= python:2 USE_PYTHON= autoplist distutils .include PYDISTUTILS_INSTALLARGS:= ${PYDISTUTILS_INSTALLARGS} build_ext -I${LOCALBASE}/include -L${LOCALBASE}/lib post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/chm/*.so .include