aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/k9copy-kde4/Makefile
blob: 8d1c7a593bfd2eebd40839fca50c675e227736c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# New ports collection makefile for:    k9copy
# Date created:             19 Dec 2005
# Whom:         Alexander V. Ribchansky <triosoft@triosoft.com.ua>
#
# $FreeBSD$

PORTNAME=   k9copy
PORTVERSION=    2.3.4
PORTREVISION=   7
CATEGORIES= multimedia kde
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}-kde4/${PORTVERSION}
DISTNAME=   ${PORTNAME}-${PORTVERSION}-Source

MAINTAINER= egoliveira@gmail.com
COMMENT=    A DVD-9 to DVD-5 shrinking application for KDE

BUILD_DEPENDS=  ${LOCALBASE}/share/xml/docbook/4.2/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml
LIB_DEPENDS=    xine:${PORTSDIR}/multimedia/libxine \
        mpeg2:${PORTSDIR}/multimedia/libmpeg2 \
        avcodec:${PORTSDIR}/multimedia/ffmpeg

USE_CMAKE=  yes
USE_KDE4=   kdeprefix kdelibs automoc4
USE_QT_VER= 4
QT_COMPONENTS=  moc_build qmake_build rcc_build uic_build
MAKE_JOBS_SAFE= yes

LATEST_LINK=    ${PORTNAME}-kde4

OPTIONS=    MENCODER    "Install MEncoder (requires MPlayer)"   Off \
        MPLAYER     "Install MPlayer"           Off \
        DVDAUTHOR   "Install DVD Author"            Off

.include <bsd.port.options.mk>

.if defined(WITH_MENCODER)
RUN_DEPENDS+=   mencoder:${PORTSDIR}/multimedia/mencoder
.endif

.if defined(WITH_MPLAYER)
RUN_DEPENDS+=   mplayer:${PORTSDIR}/multimedia/mplayer
.endif

.if defined(WITH_DVDAUTHOR)
RUN_DEPENDS+=   dvdauthor:${PORTSDIR}/multimedia/dvdauthor
.endif

.include <bsd.port.mk>