Looking to port weasyprint
D'Arcy Cain
darcy at druid.net
Mon May 20 12:24:02 UTC 2019
I tried creating this port butI am new to FreeBSD ports (I am a NetBSD
committer) and I can't seem to make this work. I can get the package
built but it has lots of errors. Here is my attempt. Can anyone help
and, once working, commit it?
# Created by: D'Arcy Cain <darcy at druid.net>
# $FreeBSD$
PORTNAME= weasyprint
PORTVERSION= 47
CATEGORIES= print python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= WeasyPrint-${PORTVERSION}
MAINTAINER= darcy at druid.net
COMMENT= Converts HTML/CSS documents to PDF
LICENSE= BSD3CLAUSE
USE_GNOME= pango
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}cssselect>=0.1:www/py-cssselect@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}html5lib>=0.999999999:www/py-html5lib@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pdfrw>=0.4:textproc/py-pdfrw@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pyphen>=0.8:textproc/py-pyphen@${PY_FLAVOR}
RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}tinycss>=0.4:textproc/py-tinycss@${PY_FLAVOR}
USES= python
USE_PYTHON= distutils autoplist
.include <bsd.port.mk>
--
D'Arcy J.M. Cain <darcy at druid.net> | Democracy is three wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 788 2246 (DoD#0082) (eNTP) | what's for dinner.
IM: darcy at Vex.Net, VoIP: sip:darcy at druid.net
More information about the freebsd-ports
mailing list