# Created by: Hye-Shik Chang # $FreeBSD: head/textproc/py-rxp/Makefile 405414 2016-01-07 11:09:31Z miwi $ PORTNAME= rxp PORTVERSION= 0.9 PORTREVISION= 2 CATEGORIES= textproc python MASTER_SITES= http://www.reportlab.com/ftp/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= pyRXP-${PORTVERSION:S/./-/} MAINTAINER= ports@FreeBSD.org COMMENT= Fast validating XML parser for Python OPTIONS_DEFINE= DOCS EXAMPLES NO_WRKSUBDIR= yes USES= python tar:tgz USE_PYTHON= distutils autoplist NO_ARCH= yes DOCSDIR= ${PREFIX}/share/doc/py-rxp EXAMPLESDIR= ${PREFIX}/share/examples/py-rxp PORTDOCS= * PORTEXAMPLES= * post-install: ${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pyRXP.so post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include