aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2015-01-20 04:21:12 +0800
committermakc <makc@FreeBSD.org>2015-01-20 04:21:12 +0800
commit7d09aa4a4624d4f2e255dcb7af67c02b7ffe353c (patch)
tree6634ffcebe90ec4e4075cc17069b6acc1d1473b7 /biology
parent9907095616ea42c6c87fdf1f315f3270a68b2953 (diff)
downloadfreebsd-ports-graphics-7d09aa4a4624d4f2e255dcb7af67c02b7ffe353c.tar.gz
freebsd-ports-graphics-7d09aa4a4624d4f2e255dcb7af67c02b7ffe353c.tar.zst
freebsd-ports-graphics-7d09aa4a4624d4f2e255dcb7af67c02b7ffe353c.zip
biology/py-biopython:
- Convert to options framework Approved by: portmgr blanket
Diffstat (limited to 'biology')
-rw-r--r--biology/py-biopython/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/biology/py-biopython/Makefile b/biology/py-biopython/Makefile
index 8ee594faff6..01312ee26c6 100644
--- a/biology/py-biopython/Makefile
+++ b/biology/py-biopython/Makefile
@@ -17,8 +17,10 @@ RUN_DEPENDS= ${PYNUMPY}
USES= python:2
USE_PYTHON= distutils autoplist
-.if !defined(WITHOUT_REPORTLAB)
-RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}reportlab1>0:${PORTSDIR}/print/py-reportlab1
-.endif
+OPTIONS_DEFINE= REPORTLAB
+OPTIONS_DEFAULT= REPORTLAB
+
+REPORTLAB_DESC= PDF support in Bio.Graphics module
+REPORTLAB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}reportlab1>0:${PORTSDIR}/print/py-reportlab1
.include <bsd.port.mk>