Tweak comms/openzwave-devel version 1.6.1061
[dports.git] / comms / libusbmuxd / Makefile
1 # $FreeBSD$
2
3 PORTNAME=       libusbmuxd
4 PORTVERSION=    1.0.10
5 CATEGORIES=     comms
6 MASTER_SITES=   http://www.libimobiledevice.org/downloads/
7
8 MAINTAINER=     ports@FreeBSD.org
9 COMMENT=        Communication interface library for usbmuxd
10
11 LICENSE=        LGPL21 LGPL3
12 LICENSE_COMB=   dual
13
14 LIB_DEPENDS=    libplist.so:devel/libplist
15
16 CONFLICTS_INSTALL=usbmuxd-1.0.[6-8]
17
18 USES=           libtool pathfix pkgconfig tar:bzip2
19 GNU_CONFIGURE=  yes
20 INSTALL_TARGET= install-strip
21 USE_LDCONFIG=   yes
22
23 PORTDOCS=       AUTHORS README
24
25 OPTIONS_DEFINE= DOCS INOTIFY
26
27 INOTIFY_DESC=   Use inotify instead of polling (saves energy)
28
29 INOTIFY_LIB_DEPENDS=    libinotify.so:devel/libinotify
30 # *_CONFIGURE_WITH can't be used as --with-inotify doesn't work.
31 INOTIFY_CONFIGURE_OFF=  --without-inotify
32 INOTIFY_CFLAGS=         -I${LOCALBASE}/include
33 INOTIFY_LDFLAGS=        -L${LOCALBASE}/lib -linotify
34
35 post-install:
36         @${MKDIR} ${STAGEDIR}${DOCSDIR}
37         ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
38
39 .include <bsd.port.mk>