diff options
author | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-01-26 15:56:13 +0000 |
---|---|---|
committer | Andrew Pantyukhin <sat@FreeBSD.org> | 2007-01-26 15:56:13 +0000 |
commit | 731b0e3c8edb9ed66c2a2503d90a682c2e82c987 (patch) | |
tree | 4585b3b0994ee6961507988c69d42090a1bc8ac1 /multimedia/lives/Makefile | |
parent | cda1b874d2cd1c2c961664298d896cea20d08e23 (diff) | |
download | ports-731b0e3c8edb9ed66c2a2503d90a682c2e82c987.tar.gz ports-731b0e3c8edb9ed66c2a2503d90a682c2e82c987.zip |
Notes
Diffstat (limited to 'multimedia/lives/Makefile')
-rw-r--r-- | multimedia/lives/Makefile | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/multimedia/lives/Makefile b/multimedia/lives/Makefile new file mode 100644 index 000000000000..3ba3d76b41d7 --- /dev/null +++ b/multimedia/lives/Makefile @@ -0,0 +1,62 @@ +# New ports collection makefile for: lives +# Date created: 3 November 2006 +# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= lives +DISTVERSION= 0.9.8.2 +CATEGORIES= multimedia +MASTER_SITES= SF + +MAINTAINER= infofarmer@FreeBSD.org +COMMENT= Video editing system + +LIB_DEPENDS= Magick.10:${PORTSDIR}/graphics/ImageMagick \ + jpeg.9:${PORTSDIR}/graphics/jpeg \ + gdk_pixbuf.2:${PORTSDIR}/graphics/gdk-pixbuf \ + jack.0:${PORTSDIR}/audio/jack \ + visual-0.4.0:${PORTSDIR}/graphics/libvisual04 \ + theora.2:${PORTSDIR}/multimedia/libtheora \ + avcodec.1:${PORTSDIR}/multimedia/ffmpeg-devel \ + dv.4:${PORTSDIR}/multimedia/libdv \ + matroska.0:${PORTSDIR}/multimedia/libmatroska \ + x264.50:${PORTSDIR}/multimedia/x264 +BUILD_DEPENDS= ${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r +RUN_DEPENDS= mplayer:${PORTSDIR}/multimedia/mplayer \ + sox:${PORTSDIR}/audio/sox \ + transcode:${PORTSDIR}/multimedia/transcode \ + mjpegtools>=1.8.0:${PORTSDIR}/multimedia/mjpegtools \ + xmms:${PORTSDIR}/multimedia/xmms \ + mpg123:${PORTSDIR}/audio/mpg123 \ + ogg123:${PORTSDIR}/audio/vorbis-tools \ + cdda2wav:${PORTSDIR}/sysutils/cdrtools \ + gs:${PORTSDIR}/print/ghostscript-gnu \ + sswf:${PORTSDIR}/graphics/sswf \ + ${LOCALBASE}/include/frei0r.h:${PORTSDIR}/graphics/frei0r + +USE_BZIP2= yes +USE_PYTHON= yes +USE_PERL5= yes +USE_GNOME= gtk20 +USE_GETTEXT= yes +USE_SDL= yes +CPPFLAGS= -I${LOCALBASE}/include ${PTHREAD_CFLAGS} -g -fPIC +LDFLAGS= -L${LOCALBASE}/lib ${PTHREAD_LIBS} +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" +LC_MESSAGES_NAMES= lives + +post-patch: + @${REINPLACE_CMD} -e '/test.*==/s|==|=|g' -e '/LIBS/s|-ldl ||' ${WRKSRC}/configure + @${REINPLACE_CMD} -e '/LDFLAGS/s|-ldld||;s|-ldl||'\ + ${WRKSRC}/lives-plugins/weed-plugins/Makefile.in + @${REINPLACE_CMD} -e 's|-d alsa|-d oss|' ${WRKSRC}/src/main.c + @${REINPLACE_CMD} -e '/^SUBDIRS/s|weed-plugins||' ${WRKSRC}/lives-plugins/Makefile.in + @${REINPLACE_CMD} -e '/^docdir/s|=.*|=${DOCSDIR}|' ${WRKSRC}/Makefile.in + @${FIND} ${WRKSRC}/ -name Makefile.in |\ + ${XARGS} ${EGREP} -lm1 '(-O3|-fexpensive-optimizations)' |\ + ${XARGS} ${REINPLACE_CMD} -e 's|-O3||;s|-fexpensive-optimizations||' + +.include <bsd.port.mk> |