ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/mports/trunk/multimedia/gstreamer-ffmpeg/Makefile
Revision: 12137
Committed: Thu Dec 15 00:57:58 2011 UTC (12 years, 4 months ago) by laffer1
File size: 1468 byte(s)
Log Message:
drop gnometarget, it's dead

File Contents

# User Rev Content
1 laffer1 12137 # $MidnightBSD: mports/multimedia/gstreamer-ffmpeg/Makefile,v 1.8 2011/09/18 02:11:48 laffer1 Exp $
2 laffer1 3709
3     PORTNAME= gstreamer
4 laffer1 10615 PORTVERSION= 0.10.11
5 laffer1 11976 PORTREVISION= 2
6 laffer1 3709 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 crash 7969 LICENSE= gpl2
14 laffer1 9337
15 laffer1 11842 LIB_DEPENDS= orc-0.4.11:${PORTSDIR}/devel/orc
16 laffer1 10615
17     CFLAGS:= ${CFLAGS} -O2 -Wno-format
18 laffer1 3709 USE_BZIP2= yes
19     USE_GMAKE= yes
20     USE_LDCONFIG= yes
21 laffer1 12137 USE_GNOME= gnomelibs
22 laffer1 3709 USE_GSTREAMER= yes
23     GNU_CONFIGURE= yes
24 laffer1 11976 CONFIGURE_TARGET= ${ARCH}-portbld-freebsd7.0
25 laffer1 3709 CONFIGURE_ENV= PKG_CONFIG=${PKG_CONFIG} \
26     CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
27     CFLAGS="${CFLAGS} -fno-force-addr" \
28     LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
29     PLIST_SUB= \
30     VERSION="${GST_VERSION}"
31     WITHOUT_CPU_CFLAGS= yes
32    
33     PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
34     GST_VERSION=${PORTVERSION:C/..$//}
35    
36     .include <bsd.port.pre.mk>
37    
38     post-patch:
39 laffer1 10615 ${CP} ${FILESDIR}/config.sub ${FILESDIR}/config.guess \
40     ${WRKSRC}
41 laffer1 3709 @${REINPLACE_CMD} -e \
42     's|make|${GMAKE}|' \
43     ${WRKSRC}/gst-libs/ext/Makefile.in
44 laffer1 10615 @${REINPLACE_CMD} -e 's|/usr/bin|${LOCALBASE}/bin|g'\
45     ${WRKSRC}/gst-libs/ext/ffmpeg/doc/texi2pod.pl
46     @${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
47     ${WRKSRC}/configure
48     @cd ${WRKSRC}/gst-libs/ext/ffmpeg/libavcodec && \
49     ${LN} -s x86 i386 && ${LN} -s x86 amd64
50    
51 laffer1 3709 .include <bsd.port.post.mk>

Properties

Name Value
cvs2svn:cvs-rev 1.9