svn commit: r389236 - in head/devel/android-tools-fastboot: . files
Jan Beich
jbeich at FreeBSD.org
Thu Jun 11 18:11:54 UTC 2015
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
More information about the svn-ports-all
mailing list