b4f5d8011e
Python related changes: 1.1.8: July 5 2004: - bug fixes: undefined namespace message (William Brack), search engine (William), multiple namespace fixups (William), namespace fix for key evaluation (William), Python memory debug bindings,
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.7 2004/07/06 16:44:50 recht Exp $
|
|
|
|
DISTNAME= libxslt-1.1.8
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxslt/1.1/}
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
MAINTAINER= minskim@NetBSD.org
|
|
HOMEPAGE= http://xmlsoft.org/XSLT/
|
|
COMMENT= Python wrapper for libxslt
|
|
|
|
DEPENDS+= ${PYPKGPREFIX}-libxml2>=2.6.8:../../textproc/py-libxml2
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/python
|
|
PYDISTUTILSPKG= YES
|
|
PYBINMODULE= YES
|
|
USE_BUILDLINK3= YES
|
|
NO_CONFIGURE= YES
|
|
|
|
MAKE_ENV+= PYLIBXSLTVERSION=${PKGVERSION}
|
|
|
|
SUBST_CLASSES+= setup
|
|
SUBST_MESSAGE.setup= "Fixing hardcoded paths."
|
|
SUBST_STAGE.setup= pre-build
|
|
SUBST_FILES.setup= setup.py
|
|
SUBST_SED.setup= -e "s,@LIBICONVDIR@,${BUILDLINK_PREFIX.iconv},g" \
|
|
-e "s,@LIBXML2DIR@,${BUILDLINK_PREFIX.libxml2},g" \
|
|
-e "s,@LIBXSLTDIR@,${BUILDLINK_PREFIX.libxslt},g" \
|
|
|
|
BUILDLINK_DEPENDS.libxslt= libxslt>=${PKGVERSION}
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
|
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
post-extract:
|
|
${CP} ${FILESDIR}/setup.py ${WRKSRC}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|