1 # New ports collection makefile for: py-sane
2 # Date created: 5 August 2011
3 # Whom: buganini@gmail.com
5 # $FreeBSD: ports/graphics/py-sane/Makefile,v 1.2 2012/11/17 05:58:20 svnexp Exp $
10 CATEGORIES= graphics python
11 MASTER_SITES= http://effbot.org/media/downloads/ \
12 http://www.pythonware.net/storage/
13 PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
14 DISTNAME= Imaging-1.1.7
16 MAINTAINER= buganini@gmail.com
17 COMMENT= The Python binding for Sane
19 LIB_DEPENDS= sane.1:${PORTSDIR}/graphics/sane-backends
20 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imaging>=1.1.7:${PORTSDIR}/graphics/py-imaging
26 WRKSRC= ${WRKDIR}/${DISTNAME}/Sane
29 @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/setup.py
31 .include <bsd.port.mk>