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 <da...@druid.net>
# $FreeBSD$

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

MAINTAINER=     da...@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 <da...@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: da...@vex.net, VoIP: sip:da...@druid.net
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to