freebsd-ports/textproc/py-rxp/Makefile
Martin Wilke 18cac7b456 - Convert to options helper
- Add NO_ARCH
2016-01-07 11:09:31 +00:00

38 lines
901 B
Makefile

# Created by: Hye-Shik Chang <perky@fallin.lv>
# $FreeBSD$
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 <bsd.port.mk>