Date: Mon, 21 Oct 2013 22:42:20 +0000 (UTC) From: William Grzybowski <wg@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331202 - head/multimedia/k9copy-kde4 Message-ID: <201310212242.r9LMgKw5008264@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310212242.r9LMgKw5008264>