aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/php5-ffmpeg/Makefile
blob: 3d94a156dd657359fd5da92362ce218537d0f434 (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
# 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=   7
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
USE_BZIP2=  yes
USE_PHP=    yes
USE_PHPIZE= yes
USE_PHPEXT= yes
DEFAULT_PHP_VER=54

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

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

.include <bsd.port.mk>