summaryrefslogtreecommitdiffstats
path: root/multimedia/mpeg_encode/Makefile
blob: 791105d315d9982520d5e6aa59ac85ce1b01c222 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Created by: erich@FreeBSD.org
# $FreeBSD$

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 <bsd.port.mk>
OpenPOWER on IntegriCloud