aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-rxp/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-10 17:32:43 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-10 17:32:43 +0000
commit624aab49f23257bdfd19dfdb965096e5ddae4246 (patch)
treeb8cbbe595d8e943c731f7f04bf2ab0f0b84597c2 /textproc/py-rxp/Makefile
parentac81a262774c4ababc752cc6b09337610e237602 (diff)
downloadports-624aab49f23257bdfd19dfdb965096e5ddae4246.tar.gz
ports-624aab49f23257bdfd19dfdb965096e5ddae4246.zip
Notes
Diffstat (limited to 'textproc/py-rxp/Makefile')
-rw-r--r--textproc/py-rxp/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/textproc/py-rxp/Makefile b/textproc/py-rxp/Makefile
new file mode 100644
index 000000000000..cde6feba8727
--- /dev/null
+++ b/textproc/py-rxp/Makefile
@@ -0,0 +1,35 @@
+# Ports collection makefile for: py-rxp
+# Date created: 10 May 2002
+# Whom: Hye-Shik Chang <perky@fallin.lv>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rxp
+PORTVERSION= 0.7
+CATEGORIES= textproc python
+MASTER_SITES= http://www.reportlab.com/ftp/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= pyRXP-${PORTVERSION:S/./-/}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= perky@fallin.lv
+
+NO_WRKSUBDIR= yes
+USE_PYTHON= yes
+USE_PYDISTUTILS= yes
+
+EXAMPLESDIR= ${PREFIX}/share/examples/py-rxp
+DOCSDIR= ${PREFIX}/share/doc/py-rxp
+
+post-patch:
+ @${PERL} -pi -e 's/freebsd4/freebsd4","freebsd5/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.mk>