Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Jun 2015 18:11:39 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r389235 - head/devel/android-tools-fastboot
Message-ID:  <201506111811.t5BIBd9o013349@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506111811.t5BIBd9o013349>