blob: d29f0614b26d3a60c650877b5b505d3c53dba209 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# Created by: buganini@gmail.com
# $FreeBSD$
PORTNAME= sane
PORTVERSION= 2.0
PORTREVISION= 1
CATEGORIES= graphics python
MASTER_SITES= http://effbot.org/media/downloads/ \
http://www.pythonware.net/storage/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= Imaging-1.1.7
MAINTAINER= buganini@gmail.com
COMMENT= Python bindings for Sane
LIB_DEPENDS= libsane.so:graphics/sane-backends
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pillow>0:graphics/py-pillow@${PY_FLAVOR}
DIST_SUBDIR= python
USES= python:2.7
USE_PYTHON= distutils
WRKSRC= ${WRKDIR}/${DISTNAME}/Sane
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/setup.py
.include <bsd.port.mk>
|