aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-06-25 04:00:31 +0800
committerjbeich <jbeich@FreeBSD.org>2017-06-25 04:00:31 +0800
commita3929fb22046de027d9cb83ef3f71293aa487de7 (patch)
treebfd2be555b62d9cafd2e4d1afc4bc71a01604cac
parent5f0f3dc371de1dce6e168612fe2a358698305270 (diff)
downloadfreebsd-ports-gnome-a3929fb22046de027d9cb83ef3f71293aa487de7.tar.gz
freebsd-ports-gnome-a3929fb22046de027d9cb83ef3f71293aa487de7.tar.zst
freebsd-ports-gnome-a3929fb22046de027d9cb83ef3f71293aa487de7.zip
sysutils/android-file-transfer: update to 3.2
Changes: https://github.com/whoozle/android-file-transfer-linux/releases/tag/v3.2
-rw-r--r--sysutils/android-file-transfer/Makefile11
-rw-r--r--sysutils/android-file-transfer/distinfo8
2 files changed, 9 insertions, 10 deletions
diff --git a/sysutils/android-file-transfer/Makefile b/sysutils/android-file-transfer/Makefile
index 52c0dbaecc24..73470bee8e70 100644
--- a/sysutils/android-file-transfer/Makefile
+++ b/sysutils/android-file-transfer/Makefile
@@ -2,13 +2,10 @@
PORTNAME= android-file-transfer
DISTVERSIONPREFIX= v
-DISTVERSION= 3.1
-PORTREVISION?= 1
+DISTVERSION= 3.2
+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
@@ -50,6 +47,10 @@ 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
diff --git a/sysutils/android-file-transfer/distinfo b/sysutils/android-file-transfer/distinfo
index 54fbd2c9c12c..31d18f1ec5cf 100644
--- a/sysutils/android-file-transfer/distinfo
+++ b/sysutils/android-file-transfer/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1488052834
-SHA256 (whoozle-android-file-transfer-linux-v3.1_GH0.tar.gz) = d6350e273fa18c3c6d9e0a65c620ec35f41ef7e926acdf423a454f597e4314ec
-SIZE (whoozle-android-file-transfer-linux-v3.1_GH0.tar.gz) = 546978
-SHA256 (7a1db96cd2e2.patch) = c3dd367c374c587421f43c78492987c9838300c48736edfc3819a3c5bcae2d87
-SIZE (7a1db96cd2e2.patch) = 1780
+TIMESTAMP = 1498212490
+SHA256 (whoozle-android-file-transfer-linux-v3.2_GH0.tar.gz) = 56d0ff8b5197a9089dd30533006fafb9a1b1c7a1e310a78d359ff00145107bcf
+SIZE (whoozle-android-file-transfer-linux-v3.2_GH0.tar.gz) = 548831