From 1f56a272312db6d7c6434ed6fa98a0fac7832d1f Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Wed, 30 Oct 2013 14:48:37 +0000 Subject: [PATCH] - Support staging - Convert USE_GMAKE to USES --- multimedia/avinfo/Makefile | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/multimedia/avinfo/Makefile b/multimedia/avinfo/Makefile index 17de5880cad0..0ac15eba1890 100644 --- a/multimedia/avinfo/Makefile +++ b/multimedia/avinfo/Makefile @@ -11,18 +11,16 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}unix MAINTAINER= amdmi3@FreeBSD.org COMMENT= A utility for displaying AVI header information -USE_GMAKE= yes -USES= bison +USES= bison gmake WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} -PLIST_FILES= bin/avinfo +PLIST_FILES= bin/${PORTNAME} \ + man/man1/${PORTNAME}.1.gz PORTDOCS= * -MAN1= avinfo.1 -NO_STAGE= yes .include post-patch: @@ -32,12 +30,10 @@ post-patch: ${WRKSRC}/src/Makefile do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/avinfo ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/src/avinfo.1 ${MANPREFIX}/man/man1/ -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${INSTALL_MAN} ${WRKSRC}/src/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ + ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/CHANGELOG ${WRKSRC}/README \ - ${WRKSRC}/copying ${WRKSRC}/doc/* ${DOCSDIR}/ -.endif + ${WRKSRC}/copying ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}/ .include