blob: 05978b2874ede9a7ebb3888c105917b9b6edf1eb (
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= 3
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>
|