aboutsummaryrefslogtreecommitdiff
path: root/textproc/py-rxp
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-11-18 22:39:44 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-11-18 22:39:44 +0000
commit6ba3719384a7db80697a144963b66abff3430ccd (patch)
treecd9d6c5744dcb2cd2da56300aecce4d64434497a /textproc/py-rxp
parent64ba4d4c63522300162b24a9969111a65cc48c59 (diff)
downloadports-6ba3719384a7db80697a144963b66abff3430ccd.tar.gz
ports-6ba3719384a7db80697a144963b66abff3430ccd.zip
Notes
Diffstat (limited to 'textproc/py-rxp')
-rw-r--r--textproc/py-rxp/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/textproc/py-rxp/Makefile b/textproc/py-rxp/Makefile
index 99a1582a5344..206b3c7a8115 100644
--- a/textproc/py-rxp/Makefile
+++ b/textproc/py-rxp/Makefile
@@ -24,6 +24,12 @@ USE_REINPLACE= yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-rxp
DOCSDIR= ${PREFIX}/share/doc/py-rxp
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 600000
+BROKEN= "Does not build on FreeBSD >= 6.x"
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's/freebsd4/freebsd4","freebsd5/g' ${WRKSRC}/setup.py
@@ -34,4 +40,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>