freebsd-ports/print/py-reportlab/Makefile
Martin Wilke 768dd7c392 - Set / Update Portscout flags
- Pass maintainership to submitter

PR:		166062 166105 166112 166113 166114
		166115 166141 166154 166155 166156
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
Feature safe:	yes
2012-03-17 05:21:05 +00:00

52 lines
1.4 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
PORTREVISION= 3
CATEGORIES= print python
MASTER_SITES= http://www.reportlab.com/ftp/ \
${MASTER_SITE_LOCAL:S/$/:accel/} \
http://www.cs.nctu.edu.tw/~lwhsu/ports/distfiles/:accel
MASTER_SITE_SUBDIR= erwin/:accel
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTFILES= reportlab-${PORTVERSION}.tar.gz \
rl_accel-3004.tgz:accel
MAINTAINER= 5u623l20@gmail.com
COMMENT= Library to create PDF documents using the Python language
PORTSCOUT= ignore:1 # Last version of 1.X branch
USE_PYTHON= 2.5+
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
@${REINPLACE_CMD} -e 's#with#with26#g' ${WRKSRC}/lib/PyFontify.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>