ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/multimedia/gstreamer-ffmpeg/Makefile
Revision: 12888
Committed: Sun Sep 9 00:46:12 2012 UTC (11 years, 7 months ago) by laffer1
File size: 1411 byte(s)
Log Message:
use pkgconfig

File Contents

# Content
1 # $MidnightBSD: mports/multimedia/gstreamer-ffmpeg/Makefile,v 1.9 2011/12/15 00:57:50 laffer1 Exp $
2
3 PORTNAME= gstreamer
4 PORTVERSION= 0.10.11
5 PORTREVISION= 3
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= gnomelibs
22 USE_PKGCONFIG= yes
23 USE_GSTREAMER= yes
24 GNU_CONFIGURE= yes
25 CONFIGURE_TARGET= ${ARCH}-portbld-freebsd7.0
26 CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
27 CFLAGS="${CFLAGS} -fno-force-addr" \
28 LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
29 PLIST_SUB= VERSION="${GST_VERSION}"
30 WITHOUT_CPU_CFLAGS= yes
31
32 GST_VERSION=${PORTVERSION:C/..$//}
33
34 .include <bsd.port.pre.mk>
35
36 post-patch:
37 ${CP} ${FILESDIR}/config.sub ${FILESDIR}/config.guess \
38 ${WRKSRC}
39 @${REINPLACE_CMD} -e \
40 's|make|${GMAKE}|' \
41 ${WRKSRC}/gst-libs/ext/Makefile.in
42 @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|g'\
43 ${WRKSRC}/gst-libs/ext/ffmpeg/doc/texi2pod.pl
44 @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
45 ${WRKSRC}/configure
46 @cd ${WRKSRC}/gst-libs/ext/ffmpeg/libavcodec && \
47 ${LN} -s x86 i386 && ${LN} -s x86 amd64
48
49 .include <bsd.port.post.mk>

Properties

Name Value
cvs2svn:cvs-rev 1.10