c825618795
Python bindings for libgphoto2. WWW: http://pypi.python.org/pypi/gphoto2/
28 lines
624 B
Makefile
28 lines
624 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= gphoto2
|
|
PORTVERSION= 1.2.0
|
|
CATEGORIES= graphics python
|
|
MASTER_SITES= CHEESESHOP
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= python-gphoto2
|
|
|
|
MAINTAINER= makc@FreeBSD.org
|
|
COMMENT= Python bindings for libgphoto2
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= libgphoto2.so:${PORTSDIR}/graphics/libgphoto2
|
|
|
|
USES= pkgconfig python
|
|
USE_PYTHON= autoplist concurrent distutils
|
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} \
|
|
-e 's|share/python-gphoto2/examples|${EXAMPLESDIR:S,${PREFIX}/,,}|' \
|
|
-e 's|share/python-gphoto2|${DOCSDIR:S,${PREFIX}/,,}|' \
|
|
${WRKSRC}/setup.py
|
|
|
|
.include <bsd.port.mk>
|