head	1.9;
access;
symbols
	pkgsrc-2013Q2:1.9.0.16
	pkgsrc-2013Q2-base:1.9
	pkgsrc-2012Q4:1.9.0.14
	pkgsrc-2012Q4-base:1.9
	pkgsrc-2011Q4:1.9.0.12
	pkgsrc-2011Q4-base:1.9
	pkgsrc-2011Q2:1.9.0.10
	pkgsrc-2011Q2-base:1.9
	pkgsrc-2009Q4:1.9.0.8
	pkgsrc-2009Q4-base:1.9
	pkgsrc-2008Q4:1.9.0.6
	pkgsrc-2008Q4-base:1.9
	pkgsrc-2008Q3:1.9.0.4
	pkgsrc-2008Q3-base:1.9
	cube-native-xorg:1.9.0.2
	cube-native-xorg-base:1.9
	pkgsrc-2008Q2:1.8.0.4
	pkgsrc-2008Q2-base:1.8
	cwrapper:1.8.0.2
	pkgsrc-2008Q1:1.6.0.2
	pkgsrc-2008Q1-base:1.6
	pkgsrc-2007Q4:1.3.0.16
	pkgsrc-2007Q4-base:1.3
	pkgsrc-2007Q3:1.3.0.14
	pkgsrc-2007Q3-base:1.3
	pkgsrc-2007Q2:1.3.0.12
	pkgsrc-2007Q2-base:1.3
	pkgsrc-2007Q1:1.3.0.10
	pkgsrc-2007Q1-base:1.3
	pkgsrc-2006Q4:1.3.0.8
	pkgsrc-2006Q4-base:1.3
	pkgsrc-2006Q3:1.3.0.6
	pkgsrc-2006Q3-base:1.3
	pkgsrc-2006Q2:1.3.0.4
	pkgsrc-2006Q2-base:1.3
	pkgsrc-2006Q1:1.3.0.2
	pkgsrc-2006Q1-base:1.3
	pkgsrc-base:1.1.1.2
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.9
date	2008.09.08.19.10.41;	author ahoka;	state dead;
branches;
next	1.8;

1.8
date	2008.05.19.11.47.44;	author abs;	state Exp;
branches;
next	1.7;

1.7
date	2008.04.20.20.38.53;	author heinz;	state Exp;
branches;
next	1.6;

1.6
date	2008.02.20.12.04.56;	author xtraeme;	state Exp;
branches;
next	1.5;

1.5
date	2008.02.20.10.15.30;	author xtraeme;	state Exp;
branches;
next	1.4;

1.4
date	2008.02.20.10.12.04;	author xtraeme;	state Exp;
branches;
next	1.3;

1.3
date	2006.02.16.10.27.25;	author abs;	state dead;
branches;
next	1.2;

1.2
date	2006.02.05.23.10.15;	author joerg;	state Exp;
branches;
next	1.1;

1.1
date	2006.01.24.04.00.37;	author xtraeme;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2006.01.24.04.00.37;	author xtraeme;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2008.02.20.10.08.41;	author xtraeme;	state Exp;
branches;
next	;


desc
@@


1.9
log
@This package was obsoleted by multimedia/ffmpeg.
@
text
@# $NetBSD: Makefile,v 1.8 2008/05/19 11:47:44 abs Exp $

DISTNAME=	ffmpeg-${DISTVERSION}
PKGNAME=	ffmpeg-devel-${DISTVERSION:S/-//g}
CATEGORIES=	multimedia
MASTER_SITES=	${MASTER_SITE_FREEBSD}
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	http://ffmpeg.mplayerhq.hu/
COMMENT=	MPEG decoding, encoding and streaming software

DISTVERSION=	2007-10-04
PKG_DESTDIR_SUPPORT=	user-destdir

HAS_CONFIGURE=	YES
USE_LIBTOOL=	YES
USE_TOOLS+=	gmake texi2html pod2man

REPLACE_PERL+=	doc/texi2pod.pl

SUBST_CLASSES+=		conf pc
SUBST_STAGE.conf=	post-patch
SUBST_FILES.conf=	ffserver.c
SUBST_SED.conf=		-e 's,/etc/ffserver.conf,${PKG_SYSCONFDIR}/ffserver.conf,g'
SUBST_MESSAGE.conf=	Fixing configuration path.
SUBST_STAGE.pc=		pre-install
SUBST_FILES.pc=		*.pc
SUBST_SED.pc=		-e 's|-lx264||g'
SUBST_MESSAGE.pc=	Fixing hardcoded libs.

CONFLICTS+=	ffmpeg-[0-9]*

PLIST_SRC+=	${PKGDIR}/PLIST

CONF_FILES+=	${PREFIX}/share/examples/ffmpeg/ffserver.conf \
		${PKG_SYSCONFDIR}/ffserver.conf

MAKE_ENV+=	EXTRA_LIBS=${LIBGETOPT:Q} \
		LOCALBASE=${LOCALBASE:Q}

CONFIGURE_ARGS+=	--mandir=${PREFIX}/${PKGMANDIR} \
			--cc=${CC:Q} \
			--prefix=${PREFIX:Q} \
			--disable-vhook \
			--disable-debug \
			--enable-pp \
			--enable-gpl \
			--enable-memalign-hack \
			--enable-pthreads \
			--enable-shared


INSTALLATION_DIRS=	lib share/examples/ffmpeg share/doc/ffmpeg

.include "options.mk"

post-install:
	${INSTALL_DATA} ${WRKSRC}/libavcodec/apiexample.c \
		${DESTDIR}${PREFIX}/share/doc/ffmpeg
	${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/doc/TODO \
		${DESTDIR}${PREFIX}/share/doc/ffmpeg
	${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/ffmpeg
	${INSTALL_DATA} ${WRKSRC}/doc/ffserver.conf \
		${DESTDIR}${PREFIX}/share/examples/ffmpeg

.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/libgetopt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.8
log
@add a CONFLICTS line for ffmpeg-[0-9]*
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2008/04/20 20:38:53 heinz Exp $
@


1.7
log
@The package supports installation to DESTDIR.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2008/02/20 12:04:56 xtraeme Exp $
d32 2
@


1.6
log
@Do not add -lx264 to the installed pkg-config files, as there is not
shared library and will cause problems in some packages that use
them to link.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2008/02/20 10:15:30 xtraeme Exp $
d14 1
a14 1
#PKG_DESTDIR_SUPPORT=	user-destdir
@


1.5
log
@Remove an obsolete CONFLICTS line.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2008/02/20 10:12:04 xtraeme Exp $
d22 1
a22 1
SUBST_CLASSES+=		conf
d27 4
@


1.4
log
@Import a recent snapshot of ffmpeg (2007-10-04) based on a snapshot
made by folks at FreeBSD/ports and packaged by Adam Hoka via pkgsrc-wip.

This will provide a newer ffmpeg for packages that need it.
@
text
@d1 1
a1 1
# $NetBSD$
a19 2
CONFLICTS+=	ffmpeg-devel-[0-9]*

@


1.3
log
@ffmpeg is now 0.4.9pre1
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2006/02/05 23:10:15 joerg Exp $
d3 2
a4 3
DISTNAME=	ffmpeg-0.4.9-pre1
PKGNAME=	ffmpeg-devel-0.4.9pre1
PKGREVISION=	1
d6 2
a7 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=ffmpeg/}
d9 2
a10 2
MAINTAINER=	zul@@NetBSD-fr.org
HOMEPAGE=	http://ffmpeg.sourceforge.net/
d13 3
a16 1
USE_TOOLS+=	gmake
d18 5
d24 5
a28 1
CONFLICTS+=	ffmpeg-[0-9]*
d30 1
a30 1
REPLACE_PERL=	doc/texi2pod.pl
d32 1
a32 1
CONF_FILES=	${PREFIX}/share/examples/ffmpeg/ffserver.conf \
a35 1
		FFSERVER_CONF=${PKG_SYSCONFDIR}/ffserver.conf \
d38 13
a50 4
CONFIGURE_ARGS=		--cc=${CC:Q} --prefix=${PREFIX:Q}
CONFIGURE_ARGS+=	--enable-pp --disable-vhook --disable-debug
CONFIGURE_ARGS+=	--enable-gpl
CONFIGURE_ARGS+=	--enable-ffplay
a54 3
	${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ffmpeg \
		${PREFIX}/share/doc/ffmpeg \
		${PREFIX}/include/ffmpeg/libpostproc
d56 1
a56 1
		${PREFIX}/share/doc/ffmpeg
d58 2
a59 2
		${PREFIX}/share/doc/ffmpeg
	${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${PREFIX}/share/doc/ffmpeg
d61 1
a61 7
		${PREFIX}/share/examples/ffmpeg
	# ffplay not installed
	if [ -f ${PREFIX}/man/man1/ffplay.1 ]; then \
	${RM} ${PREFIX}/man/man1/ffplay.1 ; \
	fi
	${INSTALL_DATA} ${WRKSRC}/libavcodec/libpostproc/postprocess.h \
		${PREFIX}/include/ffmpeg/libpostproc
d63 1
@


1.2
log
@Recursive revision bump / recommended bump for gettext ABI change.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2006/01/24 04:00:37 xtraeme Exp $
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2004/10/03 00:13:02 tv Exp $
d5 1
@


1.1.1.1
log
@Initial import of ffmpeg-devel-0.4.9pre1 from pkgsrc-wip, packaged
by zul at netbsd-fr dot org.

Development version of ffmpeg, required in some new packages or updates.
@
text
@@


1.1.1.2
log
@Import a recent snapshot of ffmpeg (2007-10-04) based on a snapshot
made by folks at FreeBSD/ports and packaged by Adam Hoka via pkgsrc-wip.

This will provide a newer ffmpeg for packages that need it.
@
text
@d1 1
a1 1
# $NetBSD$
d3 2
a4 2
DISTNAME=	ffmpeg-${DISTVERSION}
PKGNAME=	ffmpeg-devel-${DISTVERSION:S/-//g}
d6 1
a6 2
MASTER_SITES=	${MASTER_SITE_FREEBSD}
EXTRACT_SUFX=	.tar.bz2
d8 2
a9 2
MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	http://ffmpeg.mplayerhq.hu/
a11 3
DISTVERSION=	2007-10-04
#PKG_DESTDIR_SUPPORT=	user-destdir

d13 1
a14 5
USE_TOOLS+=	gmake texi2html pod2man

CONFLICTS+=	ffmpeg-devel-[0-9]*

REPLACE_PERL+=	doc/texi2pod.pl
d16 1
a16 5
SUBST_CLASSES+=		conf
SUBST_STAGE.conf=	post-patch
SUBST_FILES.conf=	ffserver.c
SUBST_SED.conf=		-e 's,/etc/ffserver.conf,${PKG_SYSCONFDIR}/ffserver.conf,g'
SUBST_MESSAGE.conf=	Fixing configuration path.
d18 1
a18 1
PLIST_SRC+=	${PKGDIR}/PLIST
d20 1
a20 1
CONF_FILES+=	${PREFIX}/share/examples/ffmpeg/ffserver.conf \
d24 1
d27 4
a30 13
CONFIGURE_ARGS+=	--mandir=${PREFIX}/${PKGMANDIR} \
			--cc=${CC:Q} \
			--prefix=${PREFIX:Q} \
			--disable-vhook \
			--disable-debug \
			--enable-pp \
			--enable-gpl \
			--enable-memalign-hack \
			--enable-pthreads \
			--enable-shared


INSTALLATION_DIRS=	lib share/examples/ffmpeg share/doc/ffmpeg
d35 3
d39 1
a39 1
		${DESTDIR}${PREFIX}/share/doc/ffmpeg
d41 2
a42 2
		${DESTDIR}${PREFIX}/share/doc/ffmpeg
	${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${DESTDIR}${PREFIX}/share/doc/ffmpeg
d44 7
a50 1
		${DESTDIR}${PREFIX}/share/examples/ffmpeg
a51 1
.include "../../mk/pthread.buildlink3.mk"
@

