diff options
author | lioux <lioux@FreeBSD.org> | 2001-09-26 03:27:11 +0800 |
---|---|---|
committer | lioux <lioux@FreeBSD.org> | 2001-09-26 03:27:11 +0800 |
commit | bedef0518eaaecbddbfb5283af1e184195d87960 (patch) | |
tree | ace14fd121f23c2b0a7426a3b8301cd65bb3b1c2 /multimedia/ffmpeg/Makefile | |
parent | becb7a78cd8bec16c074dd08ce18d68b5577412b (diff) | |
download | freebsd-ports-gnome-bedef0518eaaecbddbfb5283af1e184195d87960.tar.gz freebsd-ports-gnome-bedef0518eaaecbddbfb5283af1e184195d87960.tar.zst freebsd-ports-gnome-bedef0518eaaecbddbfb5283af1e184195d87960.zip |
o New port ffmpeg version 0.4.5: Hyper fast realtime audio/video
encoder/converter, streaming server
Thanks to: fenner, imp, Chris "Vulpyne" Austin <vulpyne@way2fast.com>
* for this patch -> #define INT64_C(x) x##LL
Diffstat (limited to 'multimedia/ffmpeg/Makefile')
-rw-r--r-- | multimedia/ffmpeg/Makefile | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile new file mode 100644 index 000000000000..9a44c2729b1b --- /dev/null +++ b/multimedia/ffmpeg/Makefile @@ -0,0 +1,59 @@ +# New ports collection makefile for: ffmpeg +# Date created: Tue Sep 25 15:52:09 BRT 2001 +# Whom: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= ffmpeg +PORTVERSION= 0.4.5 +CATEGORIES= graphics +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= lioux@FreeBSD.org + +LIB_DEPENDS= gnugetopt.1:${PORTSDIR}/devel/libgnugetopt + +WRKSRC= ${WRKDIR}/${PORTNAME} + +ONLY_FOR_ARCHS= i386 +HAS_CONFIGURE= yes +USE_GMAKE= yes +MAKE_ARGS= MAKE="${GMAKE}" LOCALBASE="${LOCALBASE}" +CONFIGURE_ARGS= --cc="${CC}" --prefix="${PREFIX}" \ + --disable-grab + +DOC_FILES= README +# under subdir doc +DOC_DOCFILES= FAQ README.dev README.tech \ + TODO bench.txt ffmpeg.txt \ + ffserver.txt + +.ifdef(WITHOUT_MMX) +CONFIGURE_ARGS+= --disable-mmx +.endif + +.ifndef(WITHOUT_MMX) +pre-everything:: + @${ECHO_MSG} "Define WITHOUT_MMX if your system does not support MMX" +.endif + +post-patch: + @${PERL} -pi -e "s!/etc/ffserver.conf!${PREFIX}/etc/ffserver.conf!g" \ + ${WRKSRC}/ffserver.c + +post-install: +.ifndef(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} +.for file in ${DOC_FILES} + @${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR} +.endfor +.for file in ${DOC_DOCFILES} + @${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR} +.endfor +.endif + @${INSTALL_DATA} ${WRKSRC}/doc/ffserver.conf \ + ${PREFIX}/etc/ffserver.conf.sample + +.include <bsd.port.mk> |