# Created by: Radek Kozlowski # $FreeBSD: head/textproc/pychm/Makefile 412349 2016-04-01 14:25:16Z mat $ 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+ 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