1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/comms/libimobiledevice/Makefile
Alberto Villa c6c79da969 - Update libplist to 1.11.
- Split libusbmuxd.so into comms/libusbmuxd and update to 1.0.9.
- Update libimobiledevice to 1.1.6.
- Update usbmuxd to Git snapshot (~1.0.9).
- Document usbmuxd upgrade process.

This marks an important refactoring effort for proper iOS 7 support.
It's packed with new features, tools, speed improvements, code
refactoring, crash fixes, memory leak fixes and much more.
2014-09-28 22:58:51 +00:00

50 lines
1.0 KiB
Makefile

# $FreeBSD$
PORTNAME= libimobiledevice
PORTVERSION= 1.1.6
PORTREVISION?= 0
CATEGORIES?= comms
MASTER_SITES= http://www.${PORTNAME}.org/downloads/
MAINTAINER?= avilla@FreeBSD.org
COMMENT?= Library to communicate with Apple iOS devices
LICENSE?= LGPL21
SLAVE_PORT?= no
USES+= libtool pathfix pkgconfig tar:bzip2
USE_OPENSSL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=openssl_CFLAGS="-I${OPENSSLINC}" \
openssl_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
.if ${SLAVE_PORT} == no
LIB_DEPENDS= libplist.so:${PORTSDIR}/devel/libplist \
libusbmuxd.so:${PORTSDIR}/comms/libusbmuxd
USE_GNOME= glib20
CONFIGURE_ARGS+=--without-cython
USE_CSTD= gnu89
USE_LDCONFIG= yes
PORTDOCS= AUTHORS NEWS README
OPTIONS_DEFINE= DOCS
post-patch:
@${REINPLACE_CMD} -e 's, *@ssl_requires@,,' \
${WRKSRC}/${PORTNAME}*.pc.in
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.endif # ${SLAVE_PORT} == no
.include <bsd.port.mk>