# New ports collection makefile for: libimobiledevice # Date created: 10 June 2010 # Whom: Alberto Villa # # $FreeBSD$ PORTNAME= libimobiledevice PORTVERSION= 1.0.6 PORTREVISION= 2 CATEGORIES= comms MASTER_SITES= http://www.${PORTNAME}.org/downloads/ MAINTAINER= avilla@FreeBSD.org COMMENT= A library to communicate with Apple iPhone/iPod Touch devices LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING.LESSER LIB_DEPENDS= gnutls.47:${PORTSDIR}/security/gnutls \ tasn1.4:${PORTSDIR}/security/libtasn1 \ gcrypt.18:${PORTSDIR}/security/libgcrypt \ plist.1:${PORTSDIR}/devel/libplist \ usbmuxd.1:${PORTSDIR}/comms/usbmuxd USE_BZIP2= yes USE_GNOME= glib20 GNU_CONFIGURE= yes CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" MAKE_JOBS_SAFE= yes CFLAGS+= -I${LOCALBASE}/include USE_LDCONFIG= yes PORTDOCS= AUTHORS NEWS README MAN1= idevice_id.1 idevicebackup.1 ideviceenterrecovery.1 \ ideviceimagemounter.1 ideviceinfo.1 idevicepair.1 \ idevicescreenshot.1 idevicesyslog.1 #OPTIONS= PYTHON "Enable Python bindings (needs Swig)" off # #.include # #.ifdef(WITH_PYTHON) #BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 #USE_PYTHON= yes #PLIST_SUB+= PYTHON="" #.else CONFIGURE_ARGS+= --without-swig #PLIST_SUB+= PYTHON="@comment " #.endif pre-configure: ${REINPLACE_CMD} -e 's|$$(libdir)/pkgconfig|${PREFIX}/libdata/pkgconfig|g' \ ${WRKSRC}/Makefile.in post-install: .ifndef(NOPORTDOCS) ${MKDIR} ${DOCSDIR} .for f in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} .endfor .endif .include