48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.19 2011/12/20 18:59:42 jasper Exp $
|
|
|
|
COMMENT= PDF-generating toolkit for Python
|
|
|
|
VERSION= 2.1
|
|
DISTNAME= ReportLab_${VERSION:S/./_/}
|
|
PKGNAME= py-reportlab-${VERSION}
|
|
REVISION = 7
|
|
EPOCH= 0
|
|
CATEGORIES= print graphics
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
|
|
rl_accel-0.61-daily-unix${EXTRACT_SUFX}:0
|
|
|
|
HOMEPAGE= http://www.reportlab.org/rl_toolkit.html
|
|
|
|
MAINTAINER= Aleksander Piotrowski <alek@openbsd.org>
|
|
|
|
# BSD, LGPLv2, MPL1.0, MIT
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= http://www.reportlab.org/ftp/
|
|
MASTER_SITES0= http://distfiles.bsdfrog.org/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MODULES= lang/python
|
|
|
|
RUN_DEPENDS= graphics/py-Imaging
|
|
|
|
WRKDIST= ${WRKDIR}/reportlab_${VERSION:S/./_/}
|
|
WRKSRC= ${WRKDIST}/reportlab
|
|
|
|
REGRESS_DEPENDS=${RUN_DEPENDS} \
|
|
print/py-reportlab/plugins/renderPM
|
|
|
|
post-extract:
|
|
@mv ${WRKDIR}/rl_accel-*/rl_accel ${WRKSRC}/rl_accel
|
|
|
|
do-regress: fake
|
|
@cd ${WRKSRC}/test && \
|
|
${MAKE_ENV} PYTHONPATH=${WRKDIST}:${WRKINST}${MODPY_SITEPKG} \
|
|
${MODPY_BIN} ./runAll.py
|
|
|
|
.include <bsd.port.mk>
|