blob: 799e40fb72e4fe0020975b225822d3e7ef2e0ea1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# New ports collection makefile for: reportlab
# Date created: 17 August 2000
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= reportlab
PORTVERSION= 1.20
CATEGORIES= print python
MASTER_SITES= http://216.92.220.143/ftp/ \
ftp://ftp.reportlab.com/ \
http://people.freebsd.org/~perky/distfiles/:accel
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES= ReportLab_${PORTVERSION:S/./_/}.tgz \
rl_accel-2544.tar.gz:accel
MAINTAINER= perky@FreeBSD.org
COMMENT= Library to create PDF documents using the Python language
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
USE_REINPLACE= yes
WRKSRC= ${WRKDIR}/reportlab_${PORTVERSION:S/./_/}/reportlab
MAKE_ENV= PACKAGE_PATH="${REPORTLABDIR}"
REPORTLABDIR= ${PYTHONPREFIX_SITELIBDIR}/reportlab
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/rl_config.py
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
|