aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2013-10-30 22:48:37 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2013-10-30 22:48:37 +0800
commit14bf1b171839b6375adcbf66ab63f6b5756b4a83 (patch)
tree4772a8d30abb4f9865862f6f706539152b188190 /multimedia
parenta111b93c01b7f434e394d912f1bc52b6abbb5031 (diff)
downloadfreebsd-ports-gnome-14bf1b171839b6375adcbf66ab63f6b5756b4a83.tar.gz
freebsd-ports-gnome-14bf1b171839b6375adcbf66ab63f6b5756b4a83.tar.zst
freebsd-ports-gnome-14bf1b171839b6375adcbf66ab63f6b5756b4a83.zip
- Support staging
- Convert USE_GMAKE to USES
Diffstat (limited to 'multimedia')
-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>