ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/multimedia/gstreamer-ffmpeg/Makefile
Revision: 11842
Committed: Sun Sep 4 20:16:14 2011 UTC (12 years, 8 months ago) by laffer1
File size: 1567 byte(s)
Log Message:
bump orc

File Contents

# Content
1 # $MidnightBSD: mports/multimedia/gstreamer-ffmpeg/Makefile,v 1.6 2011/01/14 14:25:35 laffer1 Exp $
2
3 PORTNAME= gstreamer
4 PORTVERSION= 0.10.11
5 PORTREVISION= 1
6 CATEGORIES= multimedia
7 MASTER_SITES= http://gstreamer.freedesktop.org/src/gst-ffmpeg/
8 PKGNAMESUFFIX= -ffmpeg
9 DISTNAME= gst-ffmpeg-${PORTVERSION}
10
11 MAINTAINER= ports@MidnightBSD.org
12 COMMENT= GStreamer plug-in for manipulating MPEG video streams
13 LICENSE= gpl2
14
15 LIB_DEPENDS= orc-0.4.11:${PORTSDIR}/devel/orc
16
17 CFLAGS:= ${CFLAGS} -O2 -Wno-format
18 USE_BZIP2= yes
19 USE_GMAKE= yes
20 USE_LDCONFIG= yes
21 USE_GNOME= gnometarget gnomelibs
22 USE_GSTREAMER= yes
23 GNU_CONFIGURE= yes
24 CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd7.0 \
25 --host=${ARCH}-portbld-freebsd7.0 \
26 --target=${ARCH}-portbld-freebsd7.0
27 CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \
28 CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
29 CFLAGS="${CFLAGS} -fno-force-addr" \
30 LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
31 PLIST_SUB= \
32 VERSION="${GST_VERSION}"
33 WITHOUT_CPU_CFLAGS= yes
34
35 PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
36 GST_VERSION=${PORTVERSION:C/..$//}
37
38 .include <bsd.port.pre.mk>
39
40 post-patch:
41 ${CP} ${FILESDIR}/config.sub ${FILESDIR}/config.guess \
42 ${WRKSRC}
43 @${REINPLACE_CMD} -e \
44 's|make|${GMAKE}|' \
45 ${WRKSRC}/gst-libs/ext/Makefile.in
46 @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|g'\
47 ${WRKSRC}/gst-libs/ext/ffmpeg/doc/texi2pod.pl
48 @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
49 ${WRKSRC}/configure
50 @cd ${WRKSRC}/gst-libs/ext/ffmpeg/libavcodec && \
51 ${LN} -s x86 i386 && ${LN} -s x86 amd64
52
53 .include <bsd.port.post.mk>

Properties

Name Value
cvs2svn:cvs-rev 1.7