freebsd-ports/graphics/mpeg_encode/Makefile
2002-01-15 13:26:30 +00:00

34 lines
787 B
Makefile

# New ports collection makefile for: mpeg_encode
# Date created:
# Whom: erich@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= mpeg_encode
PORTVERSION= 1.5b
CATEGORIES= graphics
MASTER_SITES= ftp://mm-ftp.CS.Berkeley.EDU/pub/multimedia/mpeg/encode/
DISTNAME= ${PKGNAME}-src
MAINTAINER= ports@FreeBSD.org
MAN1= mpeg_encode.1
WRKSRC= ${WRKDIR}/${PORTNAME}
post-patch:
@(${GREP} -R -l "malloc.h" ${WRKSRC}/* | \
${XARGS} ${PERL} -pi -e "s/malloc.h/stdlib.h/")
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/mpeg_encode ${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/docs/mpeg_encode.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for i in users-guide.ps template.param
@${INSTALL_DATA} ${WRKSRC}/docs/${i} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>