Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2019 08:23:57 -0400
From:      D'Arcy Cain <darcy@druid.net>
To:        freebsd-ports@freebsd.org
Subject:   Looking to port weasyprint
Message-ID:  <5d970249-2113-8e65-bd21-bf661c9653d3@druid.net>

next in thread | raw e-mail | index | archive | help
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@druid.net>
# $FreeBSD$

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

MAINTAINER=     darcy@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@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@Vex.Net, VoIP: sip:darcy@druid.net



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5d970249-2113-8e65-bd21-bf661c9653d3>