aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-06-12 02:13:55 +0800
committerjbeich <jbeich@FreeBSD.org>2015-06-12 02:13:55 +0800
commitba6177f530cf07f7fe6a4da586e7d156e0a468fb (patch)
treeb0f7b8484c36f32ae1e03adb48d72995e541363c /devel
parent57ce5013c32ec6b6a86c74d9619b6f0b989fac31 (diff)
downloadfreebsd-ports-gnome-ba6177f530cf07f7fe6a4da586e7d156e0a468fb.tar.gz
freebsd-ports-gnome-ba6177f530cf07f7fe6a4da586e7d156e0a468fb.tar.zst
freebsd-ports-gnome-ba6177f530cf07f7fe6a4da586e7d156e0a468fb.zip
devel/android-tools-fastboot: warn about name conflict with fastboot(8)
Suggested by: Jan Henrik Sylvester <me@janh.de>
Diffstat (limited to 'devel')
-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