summaryrefslogtreecommitdiff
path: root/graphics/mpeg2codec/Makefile
blob: 4a3763834b685883a226e2c60b2b62f82976516a (plain) (blame)
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
# New ports collection makefile for:	mpeg2codec
# Version required:	1.2
# Date created:		November 25, 1996
# Whom:			"Philippe Charnier" <charnier@lirmm.fr>
#
# $Id: Makefile,v 1.3 1996/12/09 15:37:19 erich Exp $
#

DISTNAME=	mpeg2codec-1.2
CATEGORIES=	graphics
MASTER_SITES=	ftp://ftp.mpeg.org/pub/mpeg/mssg/
DISTFILES=	mpeg2vidcodec_v12.tar.gz

MAINTAINER=	charnier@lirmm.fr

USE_X_PREFIX=	yes
WRKSRC=		${WRKDIR}/mpeg2

do-install:
.for i in dec enc
	${INSTALL} ${COPY} ${STRIP} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
		${WRKSRC}/src/mpeg2${i}/mpeg2${i}ode ${PREFIX}/bin
.endfor
	${MKDIR} -p ${PREFIX}/share/mpeg2
	${CP} ${WRKSRC}/doc/mpeg2enc.doc ${PREFIX}/share/mpeg2
	${CP} ${WRKSRC}/par/* ${PREFIX}/share/mpeg2

.include <bsd.port.mk>