From owner-svn-ports-head@FreeBSD.ORG Wed Oct 9 02:41:00 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id EE117127; Wed, 9 Oct 2013 02:41:00 +0000 (UTC) (envelope-from wg@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id DC12F2311; Wed, 9 Oct 2013 02:41:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r992f0Z8048420; Wed, 9 Oct 2013 02:41:00 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r992f0PV048419; Wed, 9 Oct 2013 02:41:00 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201310090241.r992f0PV048419@svn.freebsd.org> From: William Grzybowski Date: Wed, 9 Oct 2013 02:41:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r329855 - head/graphics/php5-ffmpeg X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Oct 2013 02:41:01 -0000 Author: wg Date: Wed Oct 9 02:41:00 2013 New Revision: 329855 URL: http://svnweb.freebsd.org/changeset/ports/329855 Log: graphics/php5-ffmpeg: link using ffmpeg0 - Link using ffmpeg0 - Convert lib depends to new format Approved by: portmgr (bapt, implicit) Modified: head/graphics/php5-ffmpeg/Makefile Modified: head/graphics/php5-ffmpeg/Makefile ============================================================================== --- head/graphics/php5-ffmpeg/Makefile Wed Oct 9 02:14:33 2013 (r329854) +++ head/graphics/php5-ffmpeg/Makefile Wed Oct 9 02:41:00 2013 (r329855) @@ -3,7 +3,7 @@ PORTNAME= ffmpeg PORTVERSION= 0.6.0 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= graphics MASTER_SITES= SF/${PORTNAME}-php/${PORTNAME}-php/${PORTVERSION} PKGNAMEPREFIX= php5- @@ -13,19 +13,38 @@ EXTRACT_SUFX= .tbz2 MAINTAINER= acm@FreeBSD.org COMMENT= The ffmpeg shared extension for php -LIB_DEPENDS= gd:${PORTSDIR}/graphics/gd \ - avutil.1:${PORTSDIR}/multimedia/ffmpeg +LIB_DEPENDS= libgd.so:${PORTSDIR}/graphics/gd \ + libavutil0.so:${PORTSDIR}/multimedia/ffmpeg0 CFLAGS+= -I${LOCALBASE}/include +LDFLAGS+= -L${LOCALBASE}/lib/ffmpeg0 USE_BZIP2= yes USE_PHP= yes USE_PHPIZE= yes USE_PHPEXT= yes -CONFIGURE_ARGS+= --with-ffmpeg=${LOCALBASE}/include +CONFIGURE_ARGS+= --with-ffmpeg=${LOCALBASE}/include/ffmpeg0 NO_STAGE= yes post-patch: @${REINPLACE_CMD} -e 's|==|=|g' ${WRKSRC}/config.m4 + @${REINPLACE_CMD} \ + -e 's,,,g' \ + -e 's,,,g' \ + -e 's,,,g' \ + ${WRKSRC}/*.c \ + ${WRKSRC}/*.h + +pre-configure: + @${REINPLACE_CMD} \ + -e 's,lavcodec,lavcodec0,g' \ + -e 's,lavformat,lavformat0,g' \ + -e 's,lavutil,lavutil0,g' \ + -e 's,lswscale,lswscale0,g' \ + ${WRKSRC}/configure + +post-configure: + @${REINPLACE_CMD} -e 's,include/ffmpeg$$,include/ffmpeg0,g' \ + ${WRKSRC}/Makefile .include