blob: c126d2628b4c2398cf9813805bc5e7becc101332 (
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
29
30
31
|
# $FreeBSD$
PORTREVISION= 0
CATEGORIES= comms python
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= avilla@FreeBSD.org
COMMENT= Python bindings for libimobiledevice
LIB_DEPENDS= imobiledevice:${PORTSDIR}/${MASTER_PORT}
BUILD_DEPENDS= cython:${PORTSDIR}/lang/cython \
${PYTHON_SITELIBDIR}/plist.so:${PORTSDIR}/devel/py-libplist
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/plist.so:${PORTSDIR}/devel/py-libplist
USE_PYTHON= yes
SLAVE_PORT= yes
MASTERDIR= ${.CURDIR:H:H}/comms/libimobiledevice
PLIST= ${.CURDIR}/pkg-plist
BUILD_WRKSRC= ${WRKSRC}/cython
INSTALL_WRKSRC= ${BUILD_WRKSRC}
PLIST_FILES= ${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/imobiledevice.a \
${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/imobiledevice.la \
${PYTHONPREFIX_SITELIBDIR:S,^${PREFIX}/,,}/imobiledevice.so
post-patch:
@${REINPLACE_CMD} -e 's,../src/libimobiledevice.la,${LOCALBASE}/lib/libimobiledevice.la,' \
${BUILD_WRKSRC}/Makefile.in
.include "${MASTERDIR}/Makefile"
|