aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-30 14:48:37 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2013-10-30 14:48:37 +0000
commit1f56a272312db6d7c6434ed6fa98a0fac7832d1f (patch)
tree4772a8d30abb4f9865862f6f706539152b188190
parentf9bc60782e7e2f3102453614cb0fa39f0fbbe50c (diff)
downloadports-1f56a272312db6d7c6434ed6fa98a0fac7832d1f.tar.gz
ports-1f56a272312db6d7c6434ed6fa98a0fac7832d1f.zip
Notes
-rw-r--r--multimedia/avinfo/Makefile18
1 files 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 <bsd.port.options.mk>
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 <bsd.port.mk>