2002-05-10 17:32:43 +00:00
|
|
|
# Ports collection makefile for: py-rxp
|
|
|
|
# Date created: 10 May 2002
|
|
|
|
# Whom: Hye-Shik Chang <perky@fallin.lv>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= rxp
|
2002-11-19 16:39:16 +00:00
|
|
|
PORTVERSION= 0.9
|
2002-05-10 17:32:43 +00:00
|
|
|
CATEGORIES= textproc python
|
|
|
|
MASTER_SITES= http://www.reportlab.com/ftp/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= pyRXP-${PORTVERSION:S/./-/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2002-06-25 07:50:58 +00:00
|
|
|
MAINTAINER= perky@FreeBSD.org
|
2003-02-25 06:25:35 +00:00
|
|
|
COMMENT= Fast validating XML parser for Python
|
2002-05-10 17:32:43 +00:00
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
2007-07-30 09:42:28 +00:00
|
|
|
PYDISTUTILS_PKGNAME= pyRXP
|
|
|
|
PYDISTUTILS_PKGVERSION= 0.5
|
2002-05-10 17:32:43 +00:00
|
|
|
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-rxp
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-rxp
|
|
|
|
|
2004-11-18 22:39:44 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2002-05-10 17:32:43 +00:00
|
|
|
post-patch:
|
2007-12-20 15:18:53 +00:00
|
|
|
@${REINPLACE_CMD} -e 's/freebsd4/freebsd4", "freebsd5", "freebsd6", "freebsd7", "freebsd8/g' ${WRKSRC}/setup.py
|
2002-05-10 17:32:43 +00:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
post-install:
|
|
|
|
@${MKDIR} ${EXAMPLESDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/* ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
2004-11-18 22:39:44 +00:00
|
|
|
.include <bsd.port.post.mk>
|