aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorAlberto Villa <avilla@FreeBSD.org>2011-09-08 12:03:01 +0000
committerAlberto Villa <avilla@FreeBSD.org>2011-09-08 12:03:01 +0000
commit1b0bf9280f9b94766816ea11ff75cd91ee8e46d0 (patch)
tree69ce21f2bd333c28ec12d54d5aadf01328fa88d4 /comms
parent7aff2db7bc4d32f97e9f0ec494da3dff73a0bc08 (diff)
downloadports-1b0bf9280f9b94766816ea11ff75cd91ee8e46d0.tar.gz
ports-1b0bf9280f9b94766816ea11ff75cd91ee8e46d0.zip
Notes
Diffstat (limited to 'comms')
-rw-r--r--comms/usbmuxd/Makefile8
-rw-r--r--comms/usbmuxd/pkg-plist4
2 files changed, 11 insertions, 1 deletions
diff --git a/comms/usbmuxd/Makefile b/comms/usbmuxd/Makefile
index 2ff4d22be9d3..a2a607b59fe3 100644
--- a/comms/usbmuxd/Makefile
+++ b/comms/usbmuxd/Makefile
@@ -6,6 +6,7 @@
PORTNAME= usbmuxd
PORTVERSION= 1.0.7
+PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= http://marcansoft.com/uploads/${PORTNAME}/
@@ -14,9 +15,11 @@ COMMENT= A daemon for multiplexing connections over USB to an iPhone/iPod Touch
LIB_DEPENDS= plist.1:${PORTSDIR}/devel/libplist
+USE_PYTHON= yes
+PYTHON_NO_DEPENDS= yes
USE_BZIP2= yes
-MAKE_JOBS_SAFE= yes
USE_CMAKE= yes
+MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
PORTDOCS= AUTHORS README README.devel
@@ -32,6 +35,9 @@ pre-configure:
${WRKSRC}/CMakeLists.txt
post-install:
+ ${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/python-client/*.py \
+ ${PYTHON_SITELIBDIR}/${PORTNAME}/
.ifndef(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
diff --git a/comms/usbmuxd/pkg-plist b/comms/usbmuxd/pkg-plist
index 897e65234e0b..67fa67179041 100644
--- a/comms/usbmuxd/pkg-plist
+++ b/comms/usbmuxd/pkg-plist
@@ -4,5 +4,9 @@ include/usbmuxd.h
lib/libusbmuxd.so
lib/libusbmuxd.so.1
lib/libusbmuxd.so.1.0.7
+%%PYTHON_SITELIBDIR%%/usbmuxd/tcprelay.py
+%%PYTHON_SITELIBDIR%%/usbmuxd/usbmux.py
libdata/pkgconfig/libusbmuxd.pc
sbin/usbmuxd
+@dirrm %%PYTHON_SITELIBDIR%%/usbmuxd
+@dirrmtry %%PYTHON_SITELIBDIR%%