diff options
author | James E. Housley <jeh@FreeBSD.org> | 2001-03-23 00:54:36 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2001-03-23 00:54:36 +0000 |
commit | ad49b10fc677e6440b8c4ee6e63a69e0ca9c2668 (patch) | |
tree | 8ec0981eb157dc10007ac6e6bb9db1d20d8189a0 /textproc/py-4suite/Makefile | |
parent | - Update PyXML (textproc/py-xml) to 0.6.5 (diff) |
Add port: textproc/py-4suite
New port (textproc/py-4suite) of 4Suite, a collection of Python tools for
XML processing.
PR: 25939
Submitted by: Johann Visagie <johann@egenetics.com>
Diffstat (limited to 'textproc/py-4suite/Makefile')
-rw-r--r-- | textproc/py-4suite/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/textproc/py-4suite/Makefile b/textproc/py-4suite/Makefile new file mode 100644 index 000000000000..1b92acd65cdc --- /dev/null +++ b/textproc/py-4suite/Makefile @@ -0,0 +1,42 @@ +# New ports collection makefile for: py-4suite +# Date created: 16 March 2000 +# Whom: Johann Visagie <johann@egenetics.com> +# +# $FreeBSD$ +# + +PORTNAME= 4suite +PORTVERSION= 0.10.2 +CATEGORIES= textproc python +MASTER_SITES= ftp://ftp.4suite.org/pub/4Suite/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} +DISTNAME= 4Suite-${PORTVERSION} + +MAINTAINER= johann@egenetics.com + +BUILD_DEPENDS= ${PYDISTUTILS} +RUN_DEPENDS= ${PYXML} + +USE_PYTHON= yes +INSTALLS_SHLIB= yes + +.include <bsd.port.pre.mk> +.if ${PYTHON_VERSION} == "python1.5" +PLIST_SUB+= PACKAGE_DIR=xml PYTHON2_ONLY="@comment " +.else +PLIST_SUB+= PACKAGE_DIR=_xmlplus PYTHON2_ONLY="" +.endif + +post-patch: +.if defined(NOPORTDOCS) + @ ${PERL} -pi -e '/^data_files\.extend/ && s/^/#/' ${WRKSRC}/setup.py +.endif + +do-build: + @ cd ${WRKSRC} && ${PYTHON_CMD} setup.py build + +do-install: + @ cd ${WRKSRC} && ${PYTHON_CMD} setup.py install -c -O1 \ + --prefix=${PREFIX} + +.include <bsd.port.post.mk> |