freebsd-ports/multimedia/k9copy-kde4/Makefile
Thomas Zander b50a4186ce Chase ffmpeg 3.3 update (ABI changes)
PR:		218658
Submitted by:	riggs
2017-04-25 08:20:30 +00:00

41 lines
1.1 KiB
Makefile

# Created by: Alexander V. Ribchansky <triosoft@triosoft.com.ua>
# $FreeBSD$
PORTNAME= k9copy
PORTVERSION= 2.3.4
PORTREVISION= 15
CATEGORIES= multimedia kde
MASTER_SITES= LOCAL/rakuco
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
MAINTAINER= egoliveira@gmail.com
COMMENT= DVD-9 to DVD-5 shrinking application for KDE
LICENSE= GPLv2
LIB_DEPENDS= libxine.so:multimedia/libxine \
libmpeg2.so:multimedia/libmpeg2 \
libavcodec0.so:multimedia/ffmpeg0
USES= cmake gettext kde:4
USE_KDE= kdelibs automoc4
USE_QT4= moc_build qmake_build rcc_build uic_build
OPTIONS_DEFINE= MENCODER MPLAYER DVDAUTHOR
MENCODER_DESC= MEncoder support
MPLAYER_DESC= MPlayer support
DVDAUTHOR_DESC= DVD Author support
MENCODER_RUN_DEPENDS= mencoder:multimedia/mencoder
MPLAYER_RUN_DEPENDS= mplayer:multimedia/mplayer
DVDAUTHOR_RUN_DEPENDS= dvdauthor:multimedia/dvdauthor
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>