2000-08-22 13:45:41 +02:00
|
|
|
# New ports collection makefile for: reportlab
|
|
|
|
# Date created: 17 August 2000
|
|
|
|
# Whom: Thomas Gellekum <tg@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= reportlab
|
2003-03-03 08:15:10 +01:00
|
|
|
PORTVERSION= 1.17
|
2000-08-22 13:45:41 +02:00
|
|
|
CATEGORIES= print python
|
|
|
|
MASTER_SITES= ftp://ftp.reportlab.com/
|
2000-10-17 14:12:37 +02:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2002-01-10 12:24:57 +01:00
|
|
|
DISTNAME= ReportLab_${PORTVERSION:S/./_/}
|
|
|
|
EXTRACT_SUFX= .tgz
|
2000-08-22 13:45:41 +02:00
|
|
|
|
2002-06-25 09:50:58 +02:00
|
|
|
MAINTAINER= perky@FreeBSD.org
|
2003-02-25 07:25:35 +01:00
|
|
|
COMMENT= Library to create PDF documents using the Python language
|
2002-01-10 12:24:57 +01:00
|
|
|
|
2000-09-12 13:54:11 +02:00
|
|
|
USE_PYTHON= yes
|
2002-04-29 20:37:38 +02:00
|
|
|
USE_PYDISTUTILS= yes
|
2002-07-29 09:31:50 +02:00
|
|
|
USE_PYTHON_PREFIX= yes
|
|
|
|
USE_REINPLACE= yes
|
2003-03-03 08:15:10 +01:00
|
|
|
WRKSRC= ${WRKDIR}/reportlab
|
|
|
|
MAKE_ENV= PACKAGE_PATH="${REPORTLABDIR}"
|
2000-08-22 13:45:41 +02:00
|
|
|
|
2002-11-19 17:45:45 +01:00
|
|
|
REPORTLABDIR= ${PYTHONPREFIX_SITELIBDIR}/reportlab
|
2000-08-22 13:45:41 +02:00
|
|
|
DOCDIR= ${PREFIX}/share/doc/reportlab
|
|
|
|
|
2002-01-10 12:24:57 +01:00
|
|
|
post-patch:
|
2003-03-03 08:15:10 +01:00
|
|
|
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/rl_config.py
|
2002-05-11 10:23:24 +02:00
|
|
|
|
2002-04-29 20:37:38 +02:00
|
|
|
post-install:
|
2003-03-03 08:15:10 +01:00
|
|
|
# ${MKDIR} ${REPORTLABDIR}/fonts
|
|
|
|
#.for fontfile in LeERC___.AFM LeERC___.PFB
|
|
|
|
# (cd ${WRKSRC}/fonts; \
|
|
|
|
# ${INSTALL_DATA} ${fontfile} ${REPORTLABDIR}/fonts)
|
|
|
|
#.endfor
|
2000-08-22 13:45:41 +02:00
|
|
|
|
2002-01-10 12:24:57 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
2000-08-22 13:45:41 +02:00
|
|
|
@${MKDIR} ${DOCDIR}
|
2003-03-03 08:15:10 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.pdf ${DOCDIR}
|
2000-08-22 13:45:41 +02:00
|
|
|
.endif
|
|
|
|
|
2002-07-29 09:31:50 +02:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
|
2000-08-22 13:45:41 +02:00
|
|
|
.include <bsd.port.mk>
|