openbsd-ports/print/py-reportlab/reportlab/Makefile
ajacoutot 67af7f0bdd - update to version 2.1
- add conflict with barcode plugin as it's now included in py-reportlab
- rl_accel now comes in a separate tarball

maintainer timeout
2007-11-05 09:44:19 +00:00

47 lines
1.1 KiB
Makefile

# $OpenBSD: Makefile,v 1.9 2007/11/05 09:44:19 ajacoutot Exp $
COMMENT= PDF-generating toolkit for Python
VERSION= 2.1
DISTNAME= ReportLab_${VERSION:S/./_/}
PKGNAME= py-reportlab-${VERSION}
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 - LGPL
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://www.bsdfrog.org/OpenBSD/distfiles/
EXTRACT_SUFX= .tgz
MODULES= lang/python
RUN_DEPENDS= :py-Imaging-*:graphics/py-Imaging \
${MODPY_EXPAT_DEPENDS}
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>