aboutsummaryrefslogtreecommitdiffstats
path: root/comms/usbmuxd
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2011-09-08 20:03:01 +0800
committeravilla <avilla@FreeBSD.org>2011-09-08 20:03:01 +0800
commit814b5d9187af6858a3bece48e862ea351e593203 (patch)
tree3374689628c4a2bde10fa46aac3511e142903ccd /comms/usbmuxd
parent39dc1783ae7379985bfa315b475b86749cad0457 (diff)
downloadfreebsd-ports-gnome-814b5d9187af6858a3bece48e862ea351e593203.tar.gz
freebsd-ports-gnome-814b5d9187af6858a3bece48e862ea351e593203.tar.zst
freebsd-ports-gnome-814b5d9187af6858a3bece48e862ea351e593203.zip
- Install Python scripts.
- Bump PORTREVISION.
Diffstat (limited to 'comms/usbmuxd')
-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%%