(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from GCC 5.4 to GCC 6.4 under most circumstances. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang, c++14-lang, c++0x, c11, or gcc-c++11-lib. PR: 219275
57 lines
1.5 KiB
Makefile
57 lines
1.5 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= android-file-transfer
|
|
DISTVERSIONPREFIX= v
|
|
DISTVERSION= 3.2
|
|
PORTREVISION?= 2
|
|
CATEGORIES= sysutils
|
|
|
|
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:
|
|
@${REINPLACE_CMD} '/set.*AFT_VERSION/s/".*"/"${GH_TAGNAME}"/' \
|
|
${WRKSRC}/CMakeLists.txt
|
|
|
|
post-patch-CLI-off:
|
|
@${REINPLACE_CMD} '/subdirectory(cli)/d' ${WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.mk>
|