1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/multimedia/k9copy-kde4/Makefile
William Grzybowski 763503582e multimedia/k9copy-kde4: link against ffmpeg0
- Link against ffmpeg0
- Convert lib depends to new format

Approved by:	portmgr (bapt, implicit)
2013-10-21 22:42:20 +00:00

57 lines
1.5 KiB
Makefile

# Created by: Alexander V. Ribchansky <triosoft@triosoft.com.ua>
# $FreeBSD$
PORTNAME= k9copy
PORTVERSION= 2.3.4
PORTREVISION= 10
CATEGORIES= multimedia kde
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-kde4/${PORTVERSION}
DISTNAME= ${PORTNAME}-${PORTVERSION}-Source
MAINTAINER= egoliveira@gmail.com
COMMENT= DVD-9 to DVD-5 shrinking application for KDE
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
USE_QT4= moc_build qmake_build rcc_build uic_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
DVDAUTHOR_DESC= DVD Author support
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMENCODER}
RUN_DEPENDS+= mencoder:${PORTSDIR}/multimedia/mencoder
.endif
.if ${PORT_OPTIONS:MMPLAYER}
RUN_DEPENDS+= mplayer:${PORTSDIR}/multimedia/mplayer
.endif
.if ${PORT_OPTIONS:MDVDAUTHOR}
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>