From bedef0518eaaecbddbfb5283af1e184195d87960 Mon Sep 17 00:00:00 2001 From: lioux Date: Tue, 25 Sep 2001 19:27:11 +0000 Subject: o New port ffmpeg version 0.4.5: Hyper fast realtime audio/video encoder/converter, streaming server Thanks to: fenner, imp, Chris "Vulpyne" Austin * for this patch -> #define INT64_C(x) x##LL --- multimedia/ffmpeg/Makefile | 59 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100644 multimedia/ffmpeg/Makefile (limited to 'multimedia/ffmpeg/Makefile') 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 +# +# $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 -- cgit