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 <[email protected]>
# $FreeBSD$

PORTNAME=       weasyprint
PORTVERSION=    47
CATEGORIES=     print python
MASTER_SITES=   CHEESESHOP
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=       WeasyPrint-${PORTVERSION}

MAINTAINER=     [email protected]
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 <[email protected]>         |  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: [email protected], VoIP: sip:[email protected]
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[email protected]"

Reply via email to