| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: Makefile,v 1.7 2008/04/20 20:38:53 heinz Exp $ | | 1 | # $NetBSD: Makefile,v 1.8 2008/05/19 11:47:44 abs Exp $ |
2 | | | 2 | |
3 | DISTNAME= ffmpeg-${DISTVERSION} | | 3 | DISTNAME= ffmpeg-${DISTVERSION} |
4 | PKGNAME= ffmpeg-devel-${DISTVERSION:S/-//g} | | 4 | PKGNAME= ffmpeg-devel-${DISTVERSION:S/-//g} |
5 | CATEGORIES= multimedia | | 5 | CATEGORIES= multimedia |
6 | MASTER_SITES= ${MASTER_SITE_FREEBSD} | | 6 | MASTER_SITES= ${MASTER_SITE_FREEBSD} |
7 | EXTRACT_SUFX= .tar.bz2 | | 7 | EXTRACT_SUFX= .tar.bz2 |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= http://ffmpeg.mplayerhq.hu/ | | 10 | HOMEPAGE= http://ffmpeg.mplayerhq.hu/ |
11 | COMMENT= MPEG decoding, encoding and streaming software | | 11 | COMMENT= MPEG decoding, encoding and streaming software |
12 | | | 12 | |
13 | DISTVERSION= 2007-10-04 | | 13 | DISTVERSION= 2007-10-04 |
14 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
| @@ -19,26 +19,28 @@ USE_TOOLS+= gmake texi2html pod2man | | | @@ -19,26 +19,28 @@ USE_TOOLS+= gmake texi2html pod2man |
19 | | | 19 | |
20 | REPLACE_PERL+= doc/texi2pod.pl | | 20 | REPLACE_PERL+= doc/texi2pod.pl |
21 | | | 21 | |
22 | SUBST_CLASSES+= conf pc | | 22 | SUBST_CLASSES+= conf pc |
23 | SUBST_STAGE.conf= post-patch | | 23 | SUBST_STAGE.conf= post-patch |
24 | SUBST_FILES.conf= ffserver.c | | 24 | SUBST_FILES.conf= ffserver.c |
25 | SUBST_SED.conf= -e 's,/etc/ffserver.conf,${PKG_SYSCONFDIR}/ffserver.conf,g' | | 25 | SUBST_SED.conf= -e 's,/etc/ffserver.conf,${PKG_SYSCONFDIR}/ffserver.conf,g' |
26 | SUBST_MESSAGE.conf= Fixing configuration path. | | 26 | SUBST_MESSAGE.conf= Fixing configuration path. |
27 | SUBST_STAGE.pc= pre-install | | 27 | SUBST_STAGE.pc= pre-install |
28 | SUBST_FILES.pc= *.pc | | 28 | SUBST_FILES.pc= *.pc |
29 | SUBST_SED.pc= -e 's|-lx264||g' | | 29 | SUBST_SED.pc= -e 's|-lx264||g' |
30 | SUBST_MESSAGE.pc= Fixing hardcoded libs. | | 30 | SUBST_MESSAGE.pc= Fixing hardcoded libs. |
31 | | | 31 | |
| | | 32 | CONFLICTS+= ffmpeg-[0-9]* |
| | | 33 | |
32 | PLIST_SRC+= ${PKGDIR}/PLIST | | 34 | PLIST_SRC+= ${PKGDIR}/PLIST |
33 | | | 35 | |
34 | CONF_FILES+= ${PREFIX}/share/examples/ffmpeg/ffserver.conf \ | | 36 | CONF_FILES+= ${PREFIX}/share/examples/ffmpeg/ffserver.conf \ |
35 | ${PKG_SYSCONFDIR}/ffserver.conf | | 37 | ${PKG_SYSCONFDIR}/ffserver.conf |
36 | | | 38 | |
37 | MAKE_ENV+= EXTRA_LIBS=${LIBGETOPT:Q} \ | | 39 | MAKE_ENV+= EXTRA_LIBS=${LIBGETOPT:Q} \ |
38 | LOCALBASE=${LOCALBASE:Q} | | 40 | LOCALBASE=${LOCALBASE:Q} |
39 | | | 41 | |
40 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} \ | | 42 | CONFIGURE_ARGS+= --mandir=${PREFIX}/${PKGMANDIR} \ |
41 | --cc=${CC:Q} \ | | 43 | --cc=${CC:Q} \ |
42 | --prefix=${PREFIX:Q} \ | | 44 | --prefix=${PREFIX:Q} \ |
43 | --disable-vhook \ | | 45 | --disable-vhook \ |
44 | --disable-debug \ | | 46 | --disable-debug \ |