1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/graphics/py-sane/Makefile
Steve Wills 193c6c2ef3 - Stage
- Fix LIB_DEPENDS
- Pet portlint

PR:		ports/188954
Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
Approved by:	Buganini <buganini@gmail.com> (maintainer)
2014-04-26 20:49:41 +00:00

28 lines
669 B
Makefile

# Created by: buganini@gmail.com
# $FreeBSD$
PORTNAME= sane
PORTVERSION= 2.0
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:${PORTSDIR}/graphics/sane-backends
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}imaging>=1.1.7:${PORTSDIR}/graphics/py-imaging
DIST_SUBDIR= python
USE_PYTHON= yes
USE_PYDISTUTILS= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/Sane
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/setup.py
.include <bsd.port.mk>