Date: Thu, 11 Jun 2015 18:14:10 +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: r389239 - head/devel/android-tools-fastboot Message-ID: <201506111814.t5BIEABh014721@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Thu Jun 11 18:14:09 2015 New Revision: 389239 URL: https://svnweb.freebsd.org/changeset/ports/389239 Log: devel/android-tools-fastboot: add bash completion from Debian Modified: head/devel/android-tools-fastboot/Makefile (contents, props changed) head/devel/android-tools-fastboot/distinfo (contents, props changed) Modified: head/devel/android-tools-fastboot/Makefile ============================================================================== --- head/devel/android-tools-fastboot/Makefile Thu Jun 11 18:13:55 2015 (r389238) +++ head/devel/android-tools-fastboot/Makefile Thu Jun 11 18:14:09 2015 (r389239) @@ -5,9 +5,10 @@ DISTVERSIONPREFIX= android- DISTVERSION= 5.1.1_r4 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 -EXTRACT_ONLY= ${DISTFILES:N*\:manpage:C/:.*//} +MASTER_SITES= https://anonscm.debian.org/cgit/android-tools/android-tools.git/plain/debian/:bashcomp,manpage +DISTFILES= bash_completion.d/fastboot?id=2b8cfec:bashcomp \ + fastboot.1?id=706e754:manpage +EXTRACT_ONLY= ${DISTFILES:N*\:bashcomp:N*\:manpage:C/:.*//} MAINTAINER= jbeich@FreeBSD.org COMMENT= Android Fastboot protocol CLI tool @@ -32,11 +33,19 @@ MAKE_ENV= FILESDIR="${FILESDIR}" BINDIR= CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib PLIST_FILES= bin/fastboot \ + %%BASH%%etc/bash_completion.d/fastboot \ man/man1/fastboot.1.gz PORTDOCS= fastboot_protocol.txt SUB_FILES= pkg-message -OPTIONS_DEFINE= DOCS +OPTIONS_DEFINE= BASH DOCS +OPTIONS_SUB= yes + +.include <bsd.port.options.mk> + +.if ${PORT_OPTIONS:MBASH} +LICENSE+= MIT # debian/copyright +.endif post-extract: @${CP} ${_DISTDIR}/${DISTFILES:M*\:manpage:C/:.*//} \ @@ -46,6 +55,9 @@ post-extract: @${MV} ${WRKSRC_libselinux} ${WRKSRC}/libselinux post-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${PLIST_FILES:M%%BASH%%*:C/%%.*%%//:H} + ${INSTALL_DATA} ${_DISTDIR}/${DISTFILES:M*\:bashcomp:C/:.*//} \ + ${STAGEDIR}${PREFIX}/${PLIST_FILES:M%%BASH%%*:C/%%.*%%//} (cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} \ "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) Modified: head/devel/android-tools-fastboot/distinfo ============================================================================== --- head/devel/android-tools-fastboot/distinfo Thu Jun 11 18:13:55 2015 (r389238) +++ head/devel/android-tools-fastboot/distinfo Thu Jun 11 18:14:09 2015 (r389239) @@ -1,3 +1,5 @@ +SHA256 (bash_completion.d/fastboot?id=2b8cfec) = 12ef37bff8230e5e164e4ef5b9c1be1e5518cf066a04479f61e5ebf3761d4bc4 +SIZE (bash_completion.d/fastboot?id=2b8cfec) = 3051 SHA256 (fastboot.1?id=706e754) = 2af01b064440952a82f1602691a0fecc030302722a71444946fb70d9c423d283 SIZE (fastboot.1?id=706e754) = 5906 SHA256 (android-platform_system_core-android-5.1.1_r4_GH0.tar.gz) = 076421a742ef98158d5ea290b8aed007f2115521f1e39832d8be3560e990ea13
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506111814.t5BIEABh014721>