diff options
author | ahoka <ahoka> | 2009-06-12 20:26:30 +0000 |
---|---|---|
committer | ahoka <ahoka> | 2009-06-12 20:26:30 +0000 |
commit | 2237f7a69b3f945846f5a4fb202d19f7e16dd813 (patch) | |
tree | d3c5a3e71717cb88a10e56ff716de7ef9068407f /multimedia | |
parent | fba130e92386261f8255498e03e98484e9d43f1e (diff) | |
download | pkgsrc-2237f7a69b3f945846f5a4fb202d19f7e16dd813.tar.gz |
Add a missing file from the previous commit.
Thanks David!
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/ffmpeg/Makefile.common | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/multimedia/ffmpeg/Makefile.common b/multimedia/ffmpeg/Makefile.common new file mode 100644 index 00000000000..d7561545e03 --- /dev/null +++ b/multimedia/ffmpeg/Makefile.common @@ -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" |