Add a missing file from the previous commit.
Thanks David!
This commit is contained in:
parent
5452acd7cd
commit
0e50bc7399
1 changed files with 50 additions and 0 deletions
50
multimedia/ffmpeg/Makefile.common
Normal file
50
multimedia/ffmpeg/Makefile.common
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
# $NetBSD: Makefile.common,v 1.1 2009/06/12 20:26:30 ahoka Exp $
|
||||||
|
|
||||||
|
DISTNAME= ffmpeg-${DISTVERSION:S/-//g}
|
||||||
|
CATEGORIES= multimedia
|
||||||
|
MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/misc/ahoka/dist/
|
||||||
|
EXTRACT_SUFX= .tar.bz2
|
||||||
|
|
||||||
|
DISTVERSION= 2009-06-11
|
||||||
|
PREV_PKGPATH= multimedia/ffmpeg-devel
|
||||||
|
WRKSRC= ${WRKDIR}/ffmpeg-export-${DISTVERSION}
|
||||||
|
PATCHDIR= ${.CURDIR}/../../multimedia/ffmpeg/patches
|
||||||
|
|
||||||
|
HAS_CONFIGURE= YES
|
||||||
|
USE_LIBTOOL= YES
|
||||||
|
USE_TOOLS+= gmake texi2html pod2man
|
||||||
|
|
||||||
|
BUILD_DEPENDS+= yasm>=0.7.2:../../devel/yasm
|
||||||
|
|
||||||
|
REPLACE_PERL+= doc/texi2pod.pl
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
|
PLIST_SRC+= ${PKGDIR}/PLIST
|
||||||
|
|
||||||
|
MAKE_ENV+= EXTRA_LIBS=${LIBGETOPT:Q}
|
||||||
|
# LOCALBASE=${LOCALBASE:Q}
|
||||||
|
|
||||||
|
# Let's not put garbage into /tmp
|
||||||
|
CONFIGURE_ENV+= TMPDIR=${WRKSRC:Q}/tmp
|
||||||
|
|
||||||
|
CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} \
|
||||||
|
--cc=${CC:Q} \
|
||||||
|
--prefix=${PREFIX:Q} \
|
||||||
|
--disable-debug \
|
||||||
|
--disable-stripping \
|
||||||
|
--enable-shared \
|
||||||
|
--enable-runtime-cpudetect \
|
||||||
|
--enable-pthreads \
|
||||||
|
--enable-gpl
|
||||||
|
|
||||||
|
pre-configure:
|
||||||
|
mkdir ${WRKSRC}/tmp
|
||||||
|
|
||||||
|
.include "../../mk/pthread.buildlink3.mk"
|
||||||
|
.include "../../devel/libgetopt/buildlink3.mk"
|
||||||
|
.include "../../mk/bsd.pkg.mk"
|
Loading…
Reference in a new issue