From owner-svn-ports-head@FreeBSD.ORG Mon Oct 21 22:42:21 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4632D69D; Mon, 21 Oct 2013 22:42:21 +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 199B52C24; Mon, 21 Oct 2013 22:42:21 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9LMgKga008265; Mon, 21 Oct 2013 22:42:20 GMT (envelope-from wg@svn.freebsd.org) Received: (from wg@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9LMgKw5008264; Mon, 21 Oct 2013 22:42:20 GMT (envelope-from wg@svn.freebsd.org) Message-Id: <201310212242.r9LMgKw5008264@svn.freebsd.org> From: William Grzybowski Date: Mon, 21 Oct 2013 22:42:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331202 - head/multimedia/k9copy-kde4 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: Mon, 21 Oct 2013 22:42:21 -0000 Author: wg Date: Mon Oct 21 22:42:20 2013 New Revision: 331202 URL: http://svnweb.freebsd.org/changeset/ports/331202 Log: multimedia/k9copy-kde4: link against ffmpeg0 - Link against ffmpeg0 - Convert lib depends to new format Approved by: portmgr (bapt, implicit) Modified: head/multimedia/k9copy-kde4/Makefile Modified: head/multimedia/k9copy-kde4/Makefile ============================================================================== --- head/multimedia/k9copy-kde4/Makefile Mon Oct 21 22:40:35 2013 (r331201) +++ head/multimedia/k9copy-kde4/Makefile Mon Oct 21 22:42:20 2013 (r331202) @@ -3,7 +3,7 @@ PORTNAME= k9copy PORTVERSION= 2.3.4 -PORTREVISION= 9 +PORTREVISION= 10 CATEGORIES= multimedia kde MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-kde4/${PORTVERSION} DISTNAME= ${PORTNAME}-${PORTVERSION}-Source @@ -11,9 +11,9 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-Sou MAINTAINER= egoliveira@gmail.com COMMENT= DVD-9 to DVD-5 shrinking application for KDE -LIB_DEPENDS= xine:${PORTSDIR}/multimedia/libxine \ - mpeg2:${PORTSDIR}/multimedia/libmpeg2 \ - avcodec:${PORTSDIR}/multimedia/ffmpeg +LIB_DEPENDS= libxine.so:${PORTSDIR}/multimedia/libxine \ + libmpeg2.so:${PORTSDIR}/multimedia/libmpeg2 \ + libavcodec0.so:${PORTSDIR}/multimedia/ffmpeg0 USES= cmake gettext USE_KDE4= kdeprefix kdelibs automoc4 @@ -21,6 +21,10 @@ USE_QT4= moc_build qmake_build rcc_build LATEST_LINK= ${PORTNAME}-kde4 +CFLAGS= -I${LOCALBASE}/include/ffmpeg0 +CPPFLAGS= -I${LOCALBASE}/include/ffmpeg0 +CXXFLAGS= -I${LOCALBASE}/include/ffmpeg0 + OPTIONS_DEFINE= MENCODER MPLAYER DVDAUTHOR MENCODER_DESC= MEncoder support MPLAYER_DESC= MPlayer support @@ -41,4 +45,12 @@ RUN_DEPENDS+= mplayer:${PORTSDIR}/multim RUN_DEPENDS+= dvdauthor:${PORTSDIR}/multimedia/dvdauthor .endif +post-patch: + @${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},g' ${WRKSRC}/cmake/*.cmake + @${REINPLACE_CMD} \ + -e 's,swscale,swscale0,' \ + -e 's,avcodec,avcodec0,' \ + -e 's,avformat,avformat0,' \ + ${WRKSRC}/CMakeLists.txt + .include