1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/textproc/py-rxp/Makefile
2009-12-28 12:16:29 +00:00

45 lines
1023 B
Makefile

# Ports collection makefile for: py-rxp
# Date created: 10 May 2002
# Whom: Hye-Shik Chang <perky@fallin.lv>
#
# $FreeBSD$
#
PORTNAME= rxp
PORTVERSION= 0.9
CATEGORIES= textproc python
MASTER_SITES= http://www.reportlab.com/ftp/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= pyRXP-${PORTVERSION:S/./-/}
EXTRACT_SUFX= .tgz
MAINTAINER= perky@FreeBSD.org
COMMENT= Fast validating XML parser for Python
NO_WRKSUBDIR= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= pyRXP
PYDISTUTILS_PKGVERSION= 0.5
EXAMPLESDIR= ${PREFIX}/share/examples/py-rxp
DOCSDIR= ${PREFIX}/share/doc/py-rxp
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 900000
BROKEN= does not build
.endif
post-patch:
@${REINPLACE_CMD} -e 's/freebsd4/freebsd4", "freebsd5", "freebsd6", "freebsd7", "freebsd8/g' ${WRKSRC}/setup.py
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${EXAMPLESDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>