aboutsummaryrefslogtreecommitdiffstats
path: root/comms/usbmuxd/Makefile
blob: d909df1881a1cbc5d82eac7b6d24b0ffd2429d06 (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
32
33
34
35
36
37
38
39
40
41
# $FreeBSD$

PORTNAME=   usbmuxd
DISTVERSION=    1.1.0
CATEGORIES= comms
MASTER_SITES=   http://www.libimobiledevice.org/downloads/

MAINTAINER= avilla@FreeBSD.org
COMMENT=    Daemon for multiplexing connections over USB to iPhone/iPod Touch

LICENSE=    GPLv2 GPLv3
LICENSE_COMB=   dual

LIB_DEPENDS=    libplist.so:${PORTSDIR}/devel/libplist \
        libimobiledevice.so:${PORTSDIR}/comms/libimobiledevice

USES=       autoreconf cpe libtool pathfix pkgconfig tar:bzip2
CPE_VENDOR= nikias_bassen
GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --without-systemd \
        libusb_CFLAGS="-I/usr/include" \
        libusb_LIBS="-lusb"

PLIST_FILES=    man/man1/${PORTNAME}.1.gz \
        sbin/${PORTNAME}

PORTDOCS=   AUTHORS NEWS README

OPTIONS_DEFINE= DOCS

post-patch:
# TODO: add devd(8) rule.
    @${REINPLACE_CMD} \
        -e '/*cygwin*/ s,),|dragonfly*|*bsd*),' \
        ${WRKSRC}/configure.ac

post-install:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>