Date: Thu, 11 Jun 2015 18:11:54 +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: r389236 - in head/devel/android-tools-fastboot: . files Message-ID: <201506111811.t5BIBsEa014008@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Thu Jun 11 18:11:53 2015 New Revision: 389236 URL: https://svnweb.freebsd.org/changeset/ports/389236 Log: devel/android-tools-fastboot: integrate manpage in the build Modified: head/devel/android-tools-fastboot/Makefile (contents, props changed) head/devel/android-tools-fastboot/files/Makefile (contents, props changed) Modified: head/devel/android-tools-fastboot/Makefile ============================================================================== --- head/devel/android-tools-fastboot/Makefile Thu Jun 11 18:11:39 2015 (r389235) +++ head/devel/android-tools-fastboot/Makefile Thu Jun 11 18:11:53 2015 (r389236) @@ -27,6 +27,7 @@ BUILD_WRKSRC= ${WRKSRC}/fastboot INSTALL_WRKSRC= ${BUILD_WRKSRC} MAKEFILE= ${FILESDIR}/Makefile MAKE_ENV= FILESDIR="${FILESDIR}" BINDIR="${PREFIX}/bin" \ + MANDIR="${PREFIX}/man/man" \ LIBPCRE="${LOCALBASE}/lib/libpcre.a" CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib @@ -37,13 +38,13 @@ PORTDOCS= fastboot_protocol.txt OPTIONS_DEFINE= DOCS post-extract: + @${CP} ${_DISTDIR}/${DISTFILES:M*\:manpage:C/:.*//} \ + ${BUILD_WRKSRC}/${DISTFILES:M*\:manpage:C/\?.*//} # Adjust paths relative to core @(cd ${WRKSRC_extras} && ${COPYTREE_SHARE} . ${WRKSRC}) @${MV} ${WRKSRC_libselinux} ${WRKSRC}/libselinux post-install: - ${INSTALL_MAN} ${_DISTDIR}/${DISTFILES:M*\:manpage:C/:.*//} \ - ${STAGEDIR}${MAN1PREFIX}/man/man1/fastboot.1 (cd ${INSTALL_WRKSRC} && ${COPYTREE_SHARE} \ "${PORTDOCS}" ${STAGEDIR}${DOCSDIR}) Modified: head/devel/android-tools-fastboot/files/Makefile ============================================================================== --- head/devel/android-tools-fastboot/files/Makefile Thu Jun 11 18:11:39 2015 (r389235) +++ head/devel/android-tools-fastboot/files/Makefile Thu Jun 11 18:11:53 2015 (r389236) @@ -1,7 +1,6 @@ # $FreeBSD$ PROG= fastboot -NO_MAN= BINDIR?=/usr/bin SRCS+= bootimg.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506111811.t5BIBsEa014008>