aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/php5-ffmpeg/Makefile
blob: 89ebd48770378c102ac1c797d609b9cc60fbd4c1 (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
# New ports collection makefile for:    php4-ffmpeg
# Date created:     2006-10-19
# Whom:         Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   ffmpeg
PORTVERSION=    0.6.0
PORTREVISION=   2
CATEGORIES= graphics
MASTER_SITES=   SF/${PORTNAME}-php/${PORTNAME}-php/${PORTVERSION}
PKGNAMEPREFIX=  php5-
DISTNAME=   ${PORTNAME}-php-${PORTVERSION}
EXTRACT_SUFX=   .tbz2

MAINTAINER= acm@FreeBSD.org
COMMENT=    The ffmpeg shared extension for php

LIB_DEPENDS=    gd.4:${PORTSDIR}/graphics/gd \
        avutil.1:${PORTSDIR}/multimedia/ffmpeg

CFLAGS+=    -I${LOCALBASE}/include
DEFAULT_PHP_VER=5
IGNORE_WITH_PHP=4
USE_BZIP2=  yes
USE_PHP=    yes
USE_PHPIZE= yes
USE_PHPEXT= yes

CONFIGURE_ARGS+=    --with-ffmpeg=${LOCALBASE}/include

post-patch:
    @${REINPLACE_CMD} -e 's|==|=|g' ${WRKSRC}/config.m4

.include <bsd.port.mk>