aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/mpeg2codec/Makefile
blob: 10c2482d397ad3110b7ed07d88023d014706d4e7 (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
29
30
31
32
33
# New ports collection makefile for:    mpeg2codec
# Date created:     November 25, 1996
# Whom:         "Philippe Charnier" <charnier@lirmm.fr>
#
# $FreeBSD$
#

PORTNAME=   mpeg2codec
PORTVERSION=    1.2
PORTREVISION=   3
CATEGORIES= multimedia
MASTER_SITES=   http://fresh.t-systems-sfr.com/unix/src/misc/ \
        http://ftp.uni-koeln.de/graph/ \
        http://gd.tuwien.ac.at/graphics/libs/alsolibs/
DISTFILES=  mpeg2vidcodec_v12.tar.gz

MAINTAINER= multimedia@FreeBSD.org
COMMENT=    An MPEG-2 Encoder and Decoder

USE_XORG=   xext
WRKSRC=     ${WRKDIR}/mpeg2
DATADIR=    share/mpeg2
CFLAGS+=-DVERIFY -DVERBOSE -DTRACE

do-install:
.for i in dec enc
    ${INSTALL_PROGRAM} ${WRKSRC}/src/mpeg2${i}/mpeg2${i}ode ${PREFIX}/bin
.endfor
    ${MKDIR} ${PREFIX}/${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/mpeg2enc.doc ${PREFIX}/${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/par/* ${PREFIX}/${DATADIR}

.include <bsd.port.mk>