[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-4Suite

File: [cvs.NetBSD.org] / pkgsrc / textproc / py-4Suite / Makefile (download)

Revision 1.14, Fri Apr 26 13:14:16 2019 UTC (6 months, 2 weeks ago) by maya
Branch: MAIN
Changes since 1.13: +2 -2 lines

Omit mentions of python 34 and 35, after those were removed.

- Includes some whitespace changes, to be handled in a separate commit.

# $NetBSD: Makefile,v 1.14 2019/04/26 13:14:16 maya Exp $

VER=		1.0.2
DISTNAME=	4Suite-XML-${VER}
PKGNAME=	${PYPKGPREFIX}-4Suite-${VER}
CATEGORIES=	textproc
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=foursuite/}

MAINTAINER=	pettai@NetBSD.org
HOMEPAGE=	http://4suite.org/
COMMENT=	Open-source platform for XML and RDF processing
LICENSE=	apache-1.1

BUILD_DEPENDS+=	${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat

SUBST_CLASSES+=		python
SUBST_FILES.python=	build/scripts.*/4xml
SUBST_FILES.python+=	build/scripts.*/4xpath
SUBST_FILES.python+=	build/scripts.*/4xslt
SUBST_FILES.python+=	build/scripts.*/4xupdate
SUBST_FILES.python+=	test/Xml/XPath/Borrowed/*.py
SUBST_FILES.python+=	test/Xml/XPath/Core/*.py
SUBST_FILES.python+=	test/test.py
SUBST_STAGE.python=	post-build
SUBST_SED.python=	-e 's,\#![^ ]* python,\#! ${PYTHONBIN},'

#PYTHON_SELF_CONFLICT=	yes
PYTHON_VERSIONS_INCOMPATIBLE=	 36 37 # not yet ported as of 1.0.2

do-configure:
	cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
	${PYTHONBIN} setup.py config --prefix=${PREFIX}

.include "../../lang/python/distutils.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"