1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/print/py-reportlab/Makefile
Hye-Shik Chang 1e549655d1 Update to 1.21.2
PR:		125135
Submitted by:	Wen heping <wenheping@gmail.com>
2008-08-14 04:43:58 +00:00

49 lines
1.3 KiB
Makefile

# New ports collection makefile for: reportlab
# Date created: 17 August 2000
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= reportlab
PORTVERSION= 1.21.2
CATEGORIES= print python
MASTER_SITES= http://www.reportlab.org/ftp/ \
ftp://ftp.reportlab.org/ \
http://people.freebsd.org/~erwin/distfiles/:accel \
http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/:accel
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES= ReportLab_${PORTVERSION:S/./_/g}.tgz \
rl_accel-3004.tgz:accel
MAINTAINER= perky@FreeBSD.org
COMMENT= Library to create PDF documents using the Python language
USE_PYTHON= 2.3+
USE_PYDISTUTILS= yes
PYDISTUTILS_PKGNAME= Reportlab
WRKSRC= ${WRKDIR}/reportlab_${PORTVERSION:S/./_/g}/reportlab
MAKE_ENV= PACKAGE_PATH="${REPORTLABDIR}"
REPORTLABDIR= ${PYTHONPREFIX_SITELIBDIR}/reportlab
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
DOCS= RML_UserGuide.pdf RML_UserGuide_1_0.pdf diagradoc.pdf graphguide.pdf \
graphics_reference.pdf reference.pdf userguide.pdf
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/rl_config.py
.include <bsd.port.pre.mk>
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for i in ${DOCS}
${CP} ${WRKSRC}/docs/${i} ${DOCSDIR}
.endfor
.endif
@${CAT} ${PKGMESSAGE}
.include <bsd.port.post.mk>