freebsd-ports/multimedia/mpeg_encode/Makefile
Muhammad Moinur Rahman 343702ff22 multimedia/mpeg_encode: Sanitize MANPREFIX
Approved by:    portmgr (blanket)
2024-01-21 22:42:26 +01:00

26 lines
687 B
Makefile

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}${PREFIX}/share/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in users-guide.ps template.param
@${INSTALL_DATA} ${WRKSRC}/docs/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>