aboutsummaryrefslogtreecommitdiffstats
path: root/comms/usbmuxd/Makefile
blob: 2ff4d22be9d3c5c9dfcfa22f379cfa0df6f74cef (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
42
# New ports collection makefile for:    usbmuxd
# Date created:             10 June 2010
# Whom:                 Alberto Villa <avilla@FreeBSD.org>
#
# $FreeBSD$

PORTNAME=   usbmuxd
PORTVERSION=    1.0.7
CATEGORIES= comms
MASTER_SITES=   http://marcansoft.com/uploads/${PORTNAME}/

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

LIB_DEPENDS=    plist.1:${PORTSDIR}/devel/libplist

USE_BZIP2=  yes
MAKE_JOBS_SAFE= yes
USE_CMAKE=  yes
USE_LDCONFIG=   yes

PORTDOCS=   AUTHORS README README.devel

.include <bsd.port.pre.mk>

.if ${OSVERSION} <= 800107 || ${OSVERSION} >= 900000 && ${OSVERSION} <= 900002
BROKEN=     requires libusb 1.0.3
.endif

pre-configure:
    ${REINPLACE_CMD} -e 's|$${LIB_SUFFIX}/pkgconfig|data/pkgconfig|' \
        ${WRKSRC}/CMakeLists.txt

post-install:
.ifndef(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>