2011-02-28 06:13:23 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= libimobiledevice
|
2015-06-11 17:07:48 +02:00
|
|
|
PORTVERSION= 1.2.0
|
2014-09-29 00:58:51 +02:00
|
|
|
PORTREVISION?= 0
|
2013-05-07 02:35:40 +02:00
|
|
|
CATEGORIES?= comms
|
2011-02-28 06:13:23 +01:00
|
|
|
MASTER_SITES= http://www.${PORTNAME}.org/downloads/
|
|
|
|
|
2013-05-07 02:35:40 +02:00
|
|
|
MAINTAINER?= avilla@FreeBSD.org
|
|
|
|
COMMENT?= Library to communicate with Apple iOS devices
|
2011-02-28 06:13:23 +01:00
|
|
|
|
2013-05-07 02:35:40 +02:00
|
|
|
LICENSE?= LGPL21
|
2011-02-28 06:13:23 +01:00
|
|
|
|
2013-05-07 02:35:40 +02:00
|
|
|
SLAVE_PORT?= no
|
2011-02-28 06:13:23 +01:00
|
|
|
|
2015-05-12 01:53:28 +02:00
|
|
|
USES+= cpe libtool pathfix pkgconfig tar:bzip2
|
2014-08-10 21:50:23 +02:00
|
|
|
USE_OPENSSL= yes
|
2011-02-28 06:13:23 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2014-09-29 00:58:51 +02:00
|
|
|
CONFIGURE_ARGS+=openssl_CFLAGS="-I${OPENSSLINC}" \
|
2014-08-10 21:50:23 +02:00
|
|
|
openssl_LIBS="-L${OPENSSLLIB} -lssl -lcrypto"
|
2014-08-11 18:52:38 +02:00
|
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
INSTALL_TARGET= install-strip
|
2013-05-07 02:35:40 +02:00
|
|
|
|
2014-09-29 00:58:51 +02:00
|
|
|
.if ${SLAVE_PORT} == no
|
2013-05-07 02:35:40 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
LIB_DEPENDS= libplist.so:devel/libplist \
|
|
|
|
libusbmuxd.so:comms/libusbmuxd
|
2013-05-07 02:35:40 +02:00
|
|
|
|
|
|
|
USE_GNOME= glib20
|
|
|
|
CONFIGURE_ARGS+=--without-cython
|
|
|
|
USE_CSTD= gnu89
|
2011-02-28 06:13:23 +01:00
|
|
|
USE_LDCONFIG= yes
|
|
|
|
|
|
|
|
PORTDOCS= AUTHORS NEWS README
|
|
|
|
|
2013-10-31 04:59:57 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2013-05-07 02:35:40 +02:00
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's, *@ssl_requires@,,' \
|
2015-06-11 17:07:48 +02:00
|
|
|
${WRKSRC}/src/${PORTNAME}*.pc.in
|
2011-02-28 06:13:23 +01:00
|
|
|
|
|
|
|
post-install:
|
2013-10-31 04:59:57 +01:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
2011-02-28 06:13:23 +01:00
|
|
|
|
2014-09-29 00:58:51 +02:00
|
|
|
.endif # ${SLAVE_PORT} == no
|
2013-05-07 02:35:40 +02:00
|
|
|
|
2011-02-28 06:13:23 +01:00
|
|
|
.include <bsd.port.mk>
|