# Created by: erich@FreeBSD.org # $FreeBSD: head/multimedia/mpeg_encode/Makefile 340722 2014-01-22 17:00:46Z mat $ PORTNAME= mpeg_encode PORTVERSION= 1.5b CATEGORIES= multimedia MASTER_SITES= LOCAL/ahze DISTNAME= ${PKGNAME}-src MAINTAINER= multimedia@FreeBSD.org COMMENT= UCB's MPEG-I video stream encoder OPTIONS_DEFINE= DOCS WRKSRC= ${WRKDIR}/${PORTNAME} post-patch: @(${GREP} -R -l "malloc.h" ${WRKSRC}/* | \ ${XARGS} ${REINPLACE_CMD} -e "s/malloc.h/stdlib.h/") do-install: ${INSTALL_PROGRAM} ${WRKSRC}/mpeg_encode ${STAGEDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/docs/mpeg_encode.1 ${STAGEDIR}${MANPREFIX}/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in users-guide.ps template.param @${INSTALL_DATA} ${WRKSRC}/docs/${i} ${STAGEDIR}${DOCSDIR} .endfor .include