aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2015-06-11 07:17:54 +0800
committerjbeich <jbeich@FreeBSD.org>2015-06-11 07:17:54 +0800
commit5acaf7e2a148541b7f3cdbf46f455c94f4db8184 (patch)
tree6583bb28ea09bb00869c1a206768d4d862f5b27f
parent11202adce064f86242b0efaad3eb1394ae03c1e4 (diff)
downloadfreebsd-ports-graphics-5acaf7e2a148541b7f3cdbf46f455c94f4db8184.tar.gz
freebsd-ports-graphics-5acaf7e2a148541b7f3cdbf46f455c94f4db8184.tar.zst
freebsd-ports-graphics-5acaf7e2a148541b7f3cdbf46f455c94f4db8184.zip
devel/android-tools-fastboot: add manpage from Debian
-rw-r--r--devel/android-tools-fastboot/Makefile11
-rw-r--r--devel/android-tools-fastboot/distinfo2
2 files changed, 12 insertions, 1 deletions
diff --git a/devel/android-tools-fastboot/Makefile b/devel/android-tools-fastboot/Makefile
index ee5dc6a0d78..e9ca5694b52 100644
--- a/devel/android-tools-fastboot/Makefile
+++ b/devel/android-tools-fastboot/Makefile
@@ -4,6 +4,10 @@ PORTNAME= android-tools-fastboot
DISTVERSIONPREFIX= ${GH_ACCOUNT}-
DISTVERSION= 4.0.4_r2.1
CATEGORIES= devel
+MASTER_SITES= https://anonscm.debian.org/cgit/android-tools/android-tools.git/plain/debian/:manpage
+DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
+ fastboot.1?id=706e754:manpage
+EXTRACT_ONLY= ${DISTFILES:N*\:manpage:C/:.*//}
MAINTAINER= jbeich@FreeBSD.org
COMMENT= Android Fastboot protocol CLI tool
@@ -19,6 +23,11 @@ USES= uidfix
WRKSRC_SUBDIR= fastboot
MAKEFILE= ${FILESDIR}/Makefile
MAKE_ENV= FILESDIR="${FILESDIR}" BINDIR="${PREFIX}/bin"
-PLIST_FILES= bin/fastboot
+PLIST_FILES= bin/fastboot \
+ man/man1/fastboot.1.gz
+
+post-install:
+ ${INSTALL_MAN} ${_DISTDIR}/${DISTFILES:M*\:manpage:C/:.*//} \
+ ${STAGEDIR}${MAN1PREFIX}/man/man1/fastboot.1
.include <bsd.port.mk>
diff --git a/devel/android-tools-fastboot/distinfo b/devel/android-tools-fastboot/distinfo
index d80cd52f317..bf4da58a723 100644
--- a/devel/android-tools-fastboot/distinfo
+++ b/devel/android-tools-fastboot/distinfo
@@ -1,2 +1,4 @@
SHA256 (android-platform_system_core-android-4.0.4_r2.1_GH0.tar.gz) = a60b54b73ef5f739d19bde75d7d8bb3045b990591e5c9cad4c30b68ac86019f7
SIZE (android-platform_system_core-android-4.0.4_r2.1_GH0.tar.gz) = 896079
+SHA256 (fastboot.1?id=706e754) = 2af01b064440952a82f1602691a0fecc030302722a71444946fb70d9c423d283
+SIZE (fastboot.1?id=706e754) = 5906