diff options
Diffstat (limited to 'print/py-pisa/Makefile')
-rw-r--r-- | print/py-pisa/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/print/py-pisa/Makefile b/print/py-pisa/Makefile index 2ad5be3d84b..5800dec2636 100644 --- a/print/py-pisa/Makefile +++ b/print/py-pisa/Makefile @@ -1,15 +1,14 @@ -# $NetBSD: Makefile,v 1.6 2010/02/10 15:30:27 joerg Exp $ -# +# $NetBSD: Makefile,v 1.7 2011/04/15 09:00:57 adam Exp $ -DISTNAME= pisa-3.0.32 +DISTNAME= pisa-3.0.33 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 CATEGORIES= textproc print www python MASTER_SITES= http://pypi.python.org/packages/source/p/pisa/ MAINTAINER= joerg@NetBSD.org HOMEPAGE= http://www.htmltopdf.org/ COMMENT= HTML2pdf converter +LICENSE= apache-2.0 PKG_DESTDIR_SUPPORT= user-destdir @@ -17,5 +16,12 @@ DEPENDS+= ${PYPKGPREFIX}-Pdf-[0-9]*:../../print/py-Pdf DEPENDS+= ${PYPKGPREFIX}-reportlab>=2.2:../../print/py-reportlab DEPENDS+= ${PYPKGPREFIX}-html5lib-[0-9]*:../../textproc/py-html5lib +# remove CRs: fixes patching on Darwin and stops pkglint from complaining +pre-patch: +.for f in css.py cssDOMElementInterface.py + ${TR} -d '\r' < ${WRKSRC}/sx/w3c/${f} > ${WRKSRC}/sx/w3c/${f}.new + ${MV} ${WRKSRC}/sx/w3c/${f}.new ${WRKSRC}/sx/w3c/${f} +.endfor + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" |