aboutsummaryrefslogtreecommitdiff
path: root/devel/android-tools-fastboot
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-06-11 18:13:55 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-06-11 18:13:55 +0000
commit84af0e4e41b23a712fb65ac5ba6a471acb4fc674 (patch)
treeb0f7b8484c36f32ae1e03adb48d72995e541363c /devel/android-tools-fastboot
parente19aeed42d20f8a5d56e81057c5ae9ef448cb52e (diff)
downloadports-84af0e4e41b23a712fb65ac5ba6a471acb4fc674.tar.gz
ports-84af0e4e41b23a712fb65ac5ba6a471acb4fc674.zip
devel/android-tools-fastboot: warn about name conflict with fastboot(8)
Suggested by: Jan Henrik Sylvester <me@janh.de>
Notes
Notes: svn path=/head/; revision=389238
Diffstat (limited to 'devel/android-tools-fastboot')
-rw-r--r--devel/android-tools-fastboot/Makefile3
-rw-r--r--devel/android-tools-fastboot/files/pkg-message.in7
2 files changed, 9 insertions, 1 deletions
diff --git a/devel/android-tools-fastboot/Makefile b/devel/android-tools-fastboot/Makefile
index 3253e332a555..61f0384fce9f 100644
--- a/devel/android-tools-fastboot/Makefile
+++ b/devel/android-tools-fastboot/Makefile
@@ -3,7 +3,7 @@
PORTNAME= android-tools-fastboot
DISTVERSIONPREFIX= android-
DISTVERSION= 5.1.1_r4
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= https://anonscm.debian.org/cgit/android-tools/android-tools.git/plain/debian/:manpage
DISTFILES= fastboot.1?id=706e754:manpage
@@ -34,6 +34,7 @@ LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/fastboot \
man/man1/fastboot.1.gz
PORTDOCS= fastboot_protocol.txt
+SUB_FILES= pkg-message
OPTIONS_DEFINE= DOCS
diff --git a/devel/android-tools-fastboot/files/pkg-message.in b/devel/android-tools-fastboot/files/pkg-message.in
new file mode 100644
index 000000000000..32713248181a
--- /dev/null
+++ b/devel/android-tools-fastboot/files/pkg-message.in
@@ -0,0 +1,7 @@
+The port installed fastboot(1) under %%PREFIX%%/bin. However, there's
+a different fastboot(8) under /sbin. To avoid accidentally invoking
+the wrong command make sure either to
+
+- adjust PATH environment variable to have fastboot(1) found first
+- create a shell alias with absolute path to fastboot(1)
+- create a symlink with different name in PATH e.g., under ~/bin