diff options
Diffstat (limited to 'devel/py-itools/Makefile')
-rw-r--r-- | devel/py-itools/Makefile | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/devel/py-itools/Makefile b/devel/py-itools/Makefile new file mode 100644 index 000000000000..7c5be2cdfb73 --- /dev/null +++ b/devel/py-itools/Makefile @@ -0,0 +1,37 @@ +# New ports collection makefile for: py-itools +# Date created: 08 Feb,2009 +# Whom: Wen Heping <wenheping@gmail.com> +# +# $FreeBSD$ +# + +PORTNAME= itools +PORTVERSION= 0.50.3 +CATEGORIES= devel python +MASTER_SITES= http://download.hforge.org/itools/0.50/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= wenheping@gmail.com +COMMENT= A Python library Provides Wide Range Of Capabilities + +LIB_DEPENDS= glib:${PORTSDIR}/devel/glib20 + +OPTIONS= PIL "Add support for PIL" Off \ + REPORTLAB2 "Add support for RML" Off + +MAKE_ENV+= LDFLAGS="-L${LOCALBASE}/lib" +USE_PYTHON= yes +USE_PYDISTUTILS= yes + +.include <bsd.port.pre.mk> +.if defined(WITH_PIL) +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}imaging>0:${PORTSDIR}/graphics/py-imaging +.endif + +.if defined(WITH_REPORTLAB2) +BUILD_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}reportlab2>2.2:${PORTSDIR}/print/py-reportlab2 +RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}reportlab2>2.2:${PORTSDIR}/print/py-reportlab2 +.endif + +.include <bsd.port.post.mk> |