print/py-pollyreports: support stage

- Use options helper
- Adjust LICENSE
- Use auto plist

Approved by:	portmgr (stage blanket)
This commit is contained in:
William Grzybowski 2014-06-26 14:09:06 +00:00
parent af7cc6136e
commit 6b4df495e5
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359354

View File

@ -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 <bsd.port.options.mk>
.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 <bsd.port.mk>