# $FreeBSD$ PORTNAME= android-file-transfer DISTVERSIONPREFIX= v DISTVERSION= 3.1 PORTREVISION?= 0 CATEGORIES= sysutils PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ PATCHFILES= 7a1db96cd2e2.patch:-p1 MAINTAINER= jbeich@FreeBSD.org COMMENT= Android MTP client with minimalistic UI LICENSE= GPLv3+ USE_GITHUB= yes GH_ACCOUNT= whoozle GH_PROJECT= ${PORTNAME}-linux USES= cmake compiler:c++11-lib localbase:ldflags pkgconfig CMAKE_ARGS= -DUSB_BACKEND_LIBUSB=on -DBUILD_QT_UI=off OPTIONS_DEFAULT=CLI FUSE OPTIONS_MULTI= COMP OPTIONS_MULTI_COMP= CLI FUSE OPTIONS_RADIO= GUI OPTIONS_RADIO_GUI= QT4 QT5 OPTIONS_EXCLUDE:= ${OPTIONS_EXCLUDE} ${OPTIONS_RADIO_GUI} # XXX http://lists.dragonflybsd.org/pipermail/users/2016-September/313064.html OPTIONS_EXCLUDE_DragonFly= FUSE COMP_DESC= Components CLI_DESC= CLI (Command-Line Interface) support CLI_USES= readline CLI_PLIST_FILES=bin/aft-mtp-cli FUSE_USES= fuse FUSE_CMAKE_BOOL=BUILD_FUSE FUSE_PLIST_FILES=bin/aft-mtp-mount QT4_USE= QT4=qmake_build,moc_build,rcc_build,uic_build,corelib,gui QT4_CMAKE_ON= -DBUILD_QT_UI=on -DDESIRED_QT_VERSION=4 QT4_PLIST_FILES=${QT5_PLIST_FILES} QT5_USE= QT5=qmake_build,buildtools_build,core,gui,widgets QT5_CMAKE_ON= -DBUILD_QT_UI=on -DDESIRED_QT_VERSION=5 QT5_PLIST_FILES=bin/android-file-transfer \ share/applications/android-file-transfer.desktop \ share/icons/hicolor/128x128/apps/android-file-transfer.png post-patch-CLI-off: @${REINPLACE_CMD} '/subdirectory(cli)/d' ${WRKSRC}/CMakeLists.txt .include