From 6b4df495e55ba0b404df717b48235917709392fd Mon Sep 17 00:00:00 2001 From: William Grzybowski Date: Thu, 26 Jun 2014 14:09:06 +0000 Subject: [PATCH] print/py-pollyreports: support stage - Use options helper - Adjust LICENSE - Use auto plist Approved by: portmgr (stage blanket) --- print/py-pollyreports/Makefile | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/print/py-pollyreports/Makefile b/print/py-pollyreports/Makefile index dec90174f3d1..00a7ce5a5e05 100644 --- a/print/py-pollyreports/Makefile +++ b/print/py-pollyreports/Makefile @@ -10,24 +10,16 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= jjachuf@gmail.com COMMENT= Band-oriented PDF report generation from database query -LICENSE= BSD +LICENSE= BSD2CLAUSE USE_PYTHON= 2 USE_PYDISTUTILS=yes - -PLIST_FILES= %%PYTHON_SITELIBDIR%%/PollyReports.py \ - %%PYTHON_SITELIBDIR%%/PollyReports.pyc \ - %%PYTHON_SITELIBDIR%%/PollyReports.pyo +PYDISTUTILS_AUTOPLIST= yes OPTIONSFILE= ${PORT_DBDIR}/${PORTNAME}/options OPTIONS_DEFINE= REPORTLAB + REPORTLAB_DESC= Install Reportlab2 - -NO_STAGE= yes -.include - -.if ${PORT_OPTIONS:MREPORTLAB} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}reportlab2>=2.1:${PORTSDIR}/print/py-reportlab2 -.endif +REPORTLAB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}reportlab2>=2.1:${PORTSDIR}/print/py-reportlab2 .include