1fd066ebe5
With hat: python@
30 lines
746 B
Makefile
30 lines
746 B
Makefile
# Created by: Hye-Shik Chang <perky@fallin.lv>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= rxp
|
|
PORTVERSION= 0.9
|
|
PORTREVISION= 1
|
|
CATEGORIES= textproc python
|
|
MASTER_SITES= http://www.reportlab.com/ftp/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= pyRXP-${PORTVERSION:S/./-/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Fast validating XML parser for Python
|
|
|
|
NO_WRKSUBDIR= yes
|
|
USES= python
|
|
USE_PYTHON= distutils autoplist
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-rxp
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-rxp
|
|
PORTDOCS= *
|
|
PORTEXAMPLES= *
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|