# Created by: Radek Kozlowski # $FreeBSD$ PORTNAME= pychm PORTVERSION= 0.8.4 PORTREVISION= 1 CATEGORIES= textproc python MASTER_SITES= SF/gnochm/${PORTNAME}/${PORTVERSION} MAINTAINER= cpm@fbsd.es COMMENT= Bindings for CHMLIB library LICENSE= GPLv2 # or later LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libchm.so:${PORTSDIR}/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