aboutsummaryrefslogtreecommitdiffstats
path: root/comms/usbmuxd/Makefile
diff options
context:
space:
mode:
authoravilla <avilla@FreeBSD.org>2013-05-07 08:29:48 +0800
committeravilla <avilla@FreeBSD.org>2013-05-07 08:29:48 +0800
commitc440e4ebf341b68dbf133f0e8239aa253ccc15eb (patch)
tree5ea52d3d3cba5b88bf453118f83d4f7095ef6dad /comms/usbmuxd/Makefile
parent4f89c9345042abf54bb115729e2cf20faccaa1c4 (diff)
downloadfreebsd-ports-gnome-c440e4ebf341b68dbf133f0e8239aa253ccc15eb.tar.gz
freebsd-ports-gnome-c440e4ebf341b68dbf133f0e8239aa253ccc15eb.tar.zst
freebsd-ports-gnome-c440e4ebf341b68dbf133f0e8239aa253ccc15eb.zip
- Update to 1.0.8.
Diffstat (limited to 'comms/usbmuxd/Makefile')
-rw-r--r--comms/usbmuxd/Makefile27
1 files changed, 12 insertions, 15 deletions
diff --git a/comms/usbmuxd/Makefile b/comms/usbmuxd/Makefile
index 284071b2b5f1..12428ff61820 100644
--- a/comms/usbmuxd/Makefile
+++ b/comms/usbmuxd/Makefile
@@ -1,18 +1,17 @@
# $FreeBSD$
PORTNAME= usbmuxd
-PORTVERSION= 1.0.7
-PORTREVISION= 3
+PORTVERSION= 1.0.8
CATEGORIES= comms
MASTER_SITES= http://www.libimobiledevice.org/downloads/
MAINTAINER= avilla@FreeBSD.org
-COMMENT= Daemon for multiplexing connections over USB to an iPhone/iPod Touch
+COMMENT= Daemon for multiplexing connections over USB to iPhone/iPod Touch
LIB_DEPENDS= plist:${PORTSDIR}/devel/libplist
USE_BZIP2= yes
-USES= cmake
+USES= cmake pkgconfig
MAKE_JOBS_SAFE= yes
USE_LDCONFIG= yes
@@ -26,6 +25,7 @@ INOTIFY_DESC= Use inotify instead of polling (saves energy)
.if ${PORT_OPTIONS:MINOTIFY}
LIB_DEPENDS+= inotify:${PORTSDIR}/devel/libinotify
+CMAKE_ARGS+= -DWANT_INOTIFY:BOOL=TRUE
.else
CMAKE_ARGS+= -DWANT_INOTIFY:BOOL=FALSE
.endif
@@ -34,25 +34,22 @@ CMAKE_ARGS+= -DWANT_INOTIFY:BOOL=FALSE
IGNORE= requires libusb 1.0.3
.endif
-pre-configure:
- ${REINPLACE_CMD} -e 's,$${LIB_SUFFIX}/pkgconfig,data/pkgconfig,' \
+post-patch:
+ @${REINPLACE_CMD} -e 's,$${LIB_SUFFIX}/pkgconfig,data/pkgconfig,' \
${WRKSRC}/CMakeLists.txt
- ${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
+ @${REINPLACE_CMD} -e 's,/usr/local,${LOCALBASE},g' \
${WRKSRC}/Modules/FindInotify.cmake
pre-install:
- ${REINPLACE_CMD} -e '1 s,python,env python,' \
+ @${REINPLACE_CMD} -e '1 s,python,env python,' \
${WRKSRC}/python-client/*.py
post-install:
- ${MKDIR} ${DATADIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/python-client/*.py \
- ${DATADIR}/
+ @${MKDIR} ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/python-client/*.py ${DATADIR}
.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
-.for f in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
-.endfor
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
.endif
.include <bsd.port.mk>