diff options
author | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2007-04-23 17:11:49 +0000 |
---|---|---|
committer | Jose Alonso Cardenas Marquez <acm@FreeBSD.org> | 2007-04-23 17:11:49 +0000 |
commit | 60485d0904b92079c1ca6eb2f06a2204212d5d65 (patch) | |
tree | 848b1e3fe01b9550d7b7c83d785a3c35be613d85 /graphics | |
parent | Update PostgreSQL to 7.3.19, 7.4.17, 8.0.13, 8.1.9 and 8.2.4 respectively: (diff) |
- Add FFMPEG_DEVEL option
PR: 111919
Submitted by: Sunpoet Po-Chuan Hsieh <sunpoet__at sunpoet.net>
Reviewed by: me
Notes
Notes:
svn path=/head/; revision=190744
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/php4-ffmpeg/Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/graphics/php4-ffmpeg/Makefile b/graphics/php4-ffmpeg/Makefile index edb0ffa0d38e..83a40d02e1a1 100644 --- a/graphics/php4-ffmpeg/Makefile +++ b/graphics/php4-ffmpeg/Makefile @@ -18,8 +18,7 @@ EXTRACT_SUFX= .tbz2 MAINTAINER= acm@FreeBSD.org COMMENT= The ffmpeg shared extension for php -LIB_DEPENDS= avcodec.1:${PORTSDIR}/multimedia/ffmpeg \ - gd.4:${PORTSDIR}/graphics/gd +LIB_DEPENDS= gd.4:${PORTSDIR}/graphics/gd USE_BZIP2= yes USE_PHP= yes @@ -29,4 +28,14 @@ IGNORE_WITH_PHP?=5 DEFAULT_PHP_VER?=4 CFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include -.include <bsd.port.mk> +OPTIONS= FFMPEG_DEVEL "Use ffmpeg development version" off + +.include <bsd.port.pre.mk> + +.if !defined(WITH_FFMPEG_DEVEL) +LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg +.else +LIB_DEPENDS+= avutil.1:${PORTSDIR}/multimedia/ffmpeg-devel +.endif + +.include <bsd.port.post.mk> |