blob: d7669f05cc848c572f26611e559032c7b8d6b8bd (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# $NetBSD: Makefile,v 1.32 2007/01/07 09:14:01 rillig Exp $
DISTNAME= ffmpeg-0.4.9-pre1
PKGNAME= ffmpeg-0.4.9pre1
PKGREVISION= 2
CATEGORIES= multimedia
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ffmpeg/}
MAINTAINER= zul@NetBSD-fr.org
HOMEPAGE= http://ffmpeg.mplayerhq.hu/
COMMENT= MPEG decoding, encoding and streaming software
HAS_CONFIGURE= YES
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR}
USE_TOOLS+= gmake texi2html pod2man
USE_LIBTOOL= YES
CONFLICTS+= ffmpeg-devel-[0-9]*
REPLACE_PERL+= doc/texi2pod.pl
CONF_FILES= ${PREFIX}/share/examples/ffmpeg/ffserver.conf \
${PKG_SYSCONFDIR}/ffserver.conf
MAKE_ENV+= EXTRA_LIBS=${LIBGETOPT:Q} \
FFSERVER_CONF=${PKG_SYSCONFDIR}/ffserver.conf \
LOCALBASE=${LOCALBASE:Q}
CONFIGURE_ARGS+= --cc=${CC:Q} --prefix=${PREFIX:Q}
CONFIGURE_ARGS+= --enable-pp --disable-vhook --disable-debug
CONFIGURE_ARGS+= --enable-gpl
CONFIGURE_ARGS+= --enable-ffplay
.include "options.mk"
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ffmpeg \
${PREFIX}/share/doc/ffmpeg \
${PREFIX}/include/ffmpeg/libpostproc
${INSTALL_DATA} ${WRKSRC}/libavcodec/apiexample.c \
${PREFIX}/share/doc/ffmpeg
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/doc/TODO \
${PREFIX}/share/doc/ffmpeg
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${PREFIX}/share/doc/ffmpeg
${INSTALL_DATA} ${WRKSRC}/doc/ffserver.conf \
${PREFIX}/share/examples/ffmpeg
# ffplay not installed
if [ -f ${PREFIX}/${PKGMANDIR}/man1/ffplay.1 ]; then \
${RM} ${PREFIX}/${PKGMANDIR}/man1/ffplay.1 ; \
fi
${INSTALL_DATA} ${WRKSRC}/libavcodec/libpostproc/postprocess.h \
${PREFIX}/include/ffmpeg/libpostproc
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|