2004-07-06 18:44:50 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2004/07/06 16:44:50 recht Exp $
|
2004-01-04 12:48:30 +01:00
|
|
|
|
2004-07-06 18:44:50 +02:00
|
|
|
DISTNAME= libxslt-1.1.8
|
2004-04-10 11:02:06 +02:00
|
|
|
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
|
2004-01-04 12:48:30 +01:00
|
|
|
CATEGORIES= textproc
|
2004-04-10 11:02:06 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxslt/1.1/}
|
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2004-01-04 12:48:30 +01:00
|
|
|
|
2004-02-12 17:19:58 +01:00
|
|
|
MAINTAINER= minskim@NetBSD.org
|
2004-01-04 12:48:30 +01:00
|
|
|
HOMEPAGE= http://xmlsoft.org/XSLT/
|
|
|
|
COMMENT= Python wrapper for libxslt
|
|
|
|
|
2004-04-10 11:02:06 +02:00
|
|
|
DEPENDS+= ${PYPKGPREFIX}-libxml2>=2.6.8:../../textproc/py-libxml2
|
2004-01-04 12:48:30 +01:00
|
|
|
|
2004-04-10 11:02:06 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/python
|
2004-01-04 12:48:30 +01:00
|
|
|
PYDISTUTILSPKG= YES
|
2004-04-10 11:02:06 +02:00
|
|
|
PYBINMODULE= YES
|
2004-02-12 17:19:58 +01:00
|
|
|
USE_BUILDLINK3= YES
|
2004-01-04 12:48:30 +01:00
|
|
|
NO_CONFIGURE= YES
|
|
|
|
|
2004-04-10 11:02:06 +02:00
|
|
|
MAKE_ENV+= PYLIBXSLTVERSION=${PKGVERSION}
|
2004-01-04 12:48:30 +01:00
|
|
|
|
|
|
|
SUBST_CLASSES+= setup
|
|
|
|
SUBST_MESSAGE.setup= "Fixing hardcoded paths."
|
2004-02-12 17:19:58 +01:00
|
|
|
SUBST_STAGE.setup= pre-build
|
2004-01-04 12:48:30 +01:00
|
|
|
SUBST_FILES.setup= setup.py
|
2004-04-10 11:02:06 +02:00
|
|
|
SUBST_SED.setup= -e "s,@LIBICONVDIR@,${BUILDLINK_PREFIX.iconv},g" \
|
|
|
|
-e "s,@LIBXML2DIR@,${BUILDLINK_PREFIX.libxml2},g" \
|
|
|
|
-e "s,@LIBXSLTDIR@,${BUILDLINK_PREFIX.libxslt},g" \
|
2004-01-04 12:48:30 +01:00
|
|
|
|
|
|
|
BUILDLINK_DEPENDS.libxslt= libxslt>=${PKGVERSION}
|
2004-02-12 17:19:58 +01:00
|
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
2004-01-04 12:48:30 +01:00
|
|
|
|
|
|
|
.include "../../lang/python/extension.mk"
|
2004-02-12 17:19:58 +01:00
|
|
|
.include "../../converters/libiconv/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
2004-04-10 11:02:06 +02:00
|
|
|
|
|
|
|
post-extract:
|
|
|
|
${CP} ${FILESDIR}/setup.py ${WRKSRC}
|
|
|
|
|
2004-01-04 12:48:30 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|