svn commit: r389235 - head/devel/android-tools-fastboot

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


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

Log:
  devel/android-tools-fastboot: install protocol documentation

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:11:08 2015	(r389234)
+++ head/devel/android-tools-fastboot/Makefile	Thu Jun 11 18:11:39 2015	(r389235)
@@ -3,6 +3,7 @@
 PORTNAME=	android-tools-fastboot
 DISTVERSIONPREFIX=	android-
 DISTVERSION=	5.1.1_r4
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	https://anonscm.debian.org/cgit/android-tools/android-tools.git/plain/debian/:manpage
 DISTFILES=	fastboot.1?id=706e754:manpage
@@ -31,6 +32,9 @@ CFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 PLIST_FILES=	bin/fastboot \
 		man/man1/fastboot.1.gz
+PORTDOCS=	fastboot_protocol.txt
+
+OPTIONS_DEFINE=	DOCS
 
 post-extract:
 # Adjust paths relative to core
@@ -40,5 +44,7 @@ post-extract:
 post-install:
 	${INSTALL_MAN} ${_DISTDIR}/${DISTFILES:M*\:manpage:C/:.*//} \
 		${STAGEDIR}${MAN1PREFIX}/man/man1/fastboot.1
+	(cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} \
+		"${PORTDOCS}" ${STAGEDIR}${DOCSDIR})
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list