# Created by: Kevin Lo # $FreeBSD: head/converters/py-zfec/Makefile 412344 2016-04-01 13:29:15Z mat $ PORTNAME= zfec PORTVERSION= 1.4.24 PORTREVISION= 1 CATEGORIES= converters python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= kevlo@FreeBSD.org COMMENT= Fast erasure codec for Python LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING.GPL BUILD_DEPENDS= darcsver:devel/py-darcsver \ unsort:devel/py-pyutil RUN_DEPENDS:= ${BUILD_DEPENDS} USES= python USE_PYTHON= distutils autoplist DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|share/doc|${DOCSDIR}|g ; \ s#(doc_loc, data_fnames)##g' ${WRKSRC}/setup.py post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for DOC in COPYING.GPL COPYING.TGPPL.html README.rst TODO changelog ${INSTALL_DATA} ${WRKSRC}/${DOC} ${STAGEDIR}${DOCSDIR} .endfor .include