aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/gstreamer-ffmpeg/Makefile
blob: c3813a0e96a28be1958b38c2e0e5b01c92e88a96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# New ports collection makefile for:    gstreamer ffmpeg
# Date created:     Thu Feb 26 20:10:39 CET 2004
# Whom:         Koop Mast <kwm@rainbow-runner.nl>
#
# $FreeBSD$
#    $MCom: ports/multimedia/gstreamer-ffmpeg/Makefile,v 1.14 2006/07/20 13:40:27 ahze Exp $
#

PORTNAME=   gstreamer
PORTVERSION=    0.10.2
PORTREVISION=   1
CATEGORIES= multimedia
MASTER_SITES=   http://gstreamer.freedesktop.org/src/gst-ffmpeg/
PKGNAMESUFFIX=  -ffmpeg
DISTNAME=   gst-ffmpeg-${PORTVERSION}

MAINTAINER= multimedia@FreeBSD.org
COMMENT=    GStreamer plug-in for manipulating MPEG video streams

CFLAGS:=    ${CFLAGS} -O2
USE_XLIB=   yes
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_LDCONFIG=   yes
USE_GNOME=  gnometarget
USE_GSTREAMER=  yes
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  PKG_CONFIG=${PKG_CONFIG} \
        CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
        CFLAGS="${CFLAGS} -fno-force-addr" \
        LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
PLIST_SUB=  \
        VERSION="${GST_VERSION}"
WITHOUT_CPU_CFLAGS= yes

PKG_CONFIG?="${LOCALBASE}/bin/pkg-config"
GST_VERSION=${PORTVERSION:C/..$//}

.include <bsd.port.pre.mk>

post-patch:
    @${REINPLACE_CMD} -e \
        's|make|${GMAKE}|' \
        ${WRKSRC}/gst-libs/ext/Makefile.in

.include <bsd.port.post.mk>