blob: 3eb22c6fb336063544de17a830e3ed9541a405c9 (
plain)
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
|
# New ports collection makefile for: k3b
# Date created: 2003/02/13
# Whom: Heiner <h.eichmann@gmx.de>
#
# $FreeBSD$
#
PORTNAME= k3b
PORTVERSION= 1.0.5
PORTREVISION= 16
CATEGORIES= sysutils multimedia kde
MASTER_SITES= SF
MAINTAINER= 5u623l20@gmail.com
COMMENT= A CD/DVD recording GUI for KDE
RUN_DEPENDS= cdrdao:${PORTSDIR}/sysutils/cdrdao
LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib \
samplerate:${PORTSDIR}/audio/libsamplerate
PORTSCOUT= ignore:1
USE_BZIP2= yes
USE_AUTOTOOLS= libtool
CONFIGURE_ARGS= --with-k3bsetup=no \
--without-resmgr \
--without-hal \
--without-musepack \
--without-musicbrainz
USE_GMAKE= yes
USE_CDRTOOLS= yes
USE_LDCONFIG= yes
USE_KDELIBS_VER= 3
OPTIONS= ALSA "Add audio/alsa-lib support" Off \
DVDPLUSRW "Add DVD+RW Tools (for DVD+/-R(W) burning)" On \
EMOVIX "Add eMovix (to burn bootable video CD)" Off \
FFMPEG "Add multimedia/ffmpeg decoder (for wma files)" Off \
FLAC "Add audio/flac decoder" On \
LAME "Add audio/lame encoder (for mp3 files)" On \
LIBDVDREAD "Use libdvdread (for video dvd ripping)" On \
NORMALIZE "Add Normalize (adjust audio to a std. level)" Off \
SOX "Add SoX (more audio encoding formats)" Off \
TRANSCODE "Add Transcode (for DVD ripping)" Off \
VCDIMAGER "Add VCDImager (for Video CD burning)" Off
pre-configure:
${RM} ${WRKSRC}/admin/cvs.sh
${TOUCH} ${WRKSRC}/admin/cvs.sh
post-install:
@${CAT} ${PKGMESSAGE}
@sleep 5
showinfo:
more ${PKGMESSAGE}
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 900044
EXTRA_PATCHES= ${FILESDIR}/extra-patch-libk3bdevice-k3bscsicommandbsd.cpp
.endif
PKGMESSAGE= ${PKGDIR}/pkg-message-7
.if defined(WITH_FLAC)
PLIST_SUB+= FLAC=""
LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac
.else
PLIST_SUB+= FLAC="@comment "
CONFIGURE_ARGS+= --without-flac
.endif
.if defined(WITH_LAME)
PLIST_SUB+= LAME=""
LIB_DEPENDS+= mp3lame:${PORTSDIR}/audio/lame
.else
PLIST_SUB+= LAME="@comment "
CONFIGURE_ARGS+= --without-lame
.endif
.if defined(WITH_FFMPEG)
PLIST_SUB+= FFMPEG=""
LIB_DEPENDS+= avcodec:${PORTSDIR}/multimedia/ffmpeg
.else
PLIST_SUB+= FFMPEG="@comment "
CONFIGURE_ARGS+= --without-ffmpeg
.endif
.if defined(WITH_LIBDVDREAD)
PLIST_SUB+= LIBDVDREAD=""
LIB_DEPENDS+= dvdread.4:${PORTSDIR}/multimedia/libdvdread
.else
PLIST_SUB+= LIBDVDREAD="@comment "
CONFIGURE_ARGS+= --without-libdvdread
.endif
.if !defined (WITHOUT_DVDPLUSRW)
RUN_DEPENDS+= dvd+rw-format:${PORTSDIR}/sysutils/dvd+rw-tools
.endif
.if defined (WITH_TRANSCODE)
RUN_DEPENDS+= transcode:${PORTSDIR}/multimedia/transcode
.endif
.if defined (WITH_EMOVIX)
RUN_DEPENDS+= mkmovixiso:${PORTSDIR}/multimedia/emovix
.endif
.if defined (WITH_NORMALIZE)
RUN_DEPENDS+= normalize:${PORTSDIR}/audio/normalize
.endif
.if defined (WITH_SOX)
RUN_DEPENDS+= sox:${PORTSDIR}/audio/sox
.endif
.if defined (WITH_VCDIMAGER)
RUN_DEPENDS+= vcdxrip:${PORTSDIR}/multimedia/vcdimager
.endif
.if defined (WITH_ALSA)
PLIST_SUB+= ALSA=""
LIB_DEPENDS+= asound.2:${PORTSDIR}/audio/alsa-lib
CONFIGURE_ARGS+= --with-alsa
.else
PLIST_SUB+= ALSA="@comment "
CONFIGURE_ARGS+= --without-alsa
.endif
.include <bsd.port.post.mk>
|