svn commit: r389238 - in head/devel/android-tools-fastboot: . files

Jan Beich jbeich at FreeBSD.org
Thu Jun 11 18:13:56 UTC 2015


Author: jbeich
Date: Thu Jun 11 18:13:55 2015
New Revision: 389238
URL: https://svnweb.freebsd.org/changeset/ports/389238

Log:
  devel/android-tools-fastboot: warn about name conflict with fastboot(8)
  
  Suggested by:	Jan Henrik Sylvester <me at janh.de>

Added:
  head/devel/android-tools-fastboot/files/pkg-message.in   (contents, props changed)
Modified:
  head/devel/android-tools-fastboot/Makefile   (contents, props changed)

Modified: head/devel/android-tools-fastboot/Makefile
==============================================================================
--- head/devel/android-tools-fastboot/Makefile	Thu Jun 11 18:12:08 2015	(r389237)
+++ head/devel/android-tools-fastboot/Makefile	Thu Jun 11 18:13:55 2015	(r389238)
@@ -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
 

Added: head/devel/android-tools-fastboot/files/pkg-message.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/android-tools-fastboot/files/pkg-message.in	Thu Jun 11 18:13:55 2015	(r389238)
@@ -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


More information about the svn-ports-all mailing list