aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/k3b/Makefile
blob: aaab8aa4976a2902c5d2682055bde8079a291004 (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
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
132
133
134
135
# 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=   11
CATEGORIES= sysutils multimedia kde
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    A CD/DVD recording GUI for KDE

RUN_DEPENDS=    cdrdao:${PORTSDIR}/sysutils/cdrdao
LIB_DEPENDS=    tag:${PORTSDIR}/audio/taglib \
        samplerate:${PORTSDIR}/audio/libsamplerate

USE_BZIP2=  yes
USE_AUTOTOOLS=  libtool
CONFIGURE_ARGS= --with-k3bsetup=no \
            --without-resmgr \
            --without-hal \
            --without-musepack
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 \
        MUSICBRAINZ "Use audio/libmusicbrainz music meta database" Off \
        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} > 700000
PKGMESSAGE= ${PKGDIR}/pkg-message-7
.endif

.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_MUSICBRAINZ)
PLIST_SUB+= MUSICBRAINZ=""
LIB_DEPENDS+=   musicbrainz:${PORTSDIR}/audio/libmusicbrainz
.else
PLIST_SUB+= MUSICBRAINZ="@comment "
CONFIGURE_ARGS+=    --without-musicbrainz
.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>
/~lantw44/cgit/cgit.cgi/freebsd-ports-gnome/commit/benchmarks?h=gstreamer&id=0f102abf1cef704d5c6bf7bbf5494391577dd585'>Update phoronix-test-suite to 4.0.1mm2012-12-023-3/+4 * - Update to version 1.53sperber2012-12-012-17/+10 * Simplify PTHREAD_LIBS fix by removing useless patchmartymac2012-11-292-24/+1 * - Remove indefinite article from COMMENTak2012-11-282-14/+14 * 2012-11-26 benchmarks/gsbench: No more public distfilesbapt2012-11-2811-153/+0 * - Update to 1.97martymac2012-11-283-7/+33 * - Convert to new options frameworkjhale2012-11-141-17/+13 * - Update to use OPTIONSNGsumikawa2012-11-121-16/+15 * - Change my email address to gblach@FreeBSD.orggblach2012-11-041-6/+2 * Deprecate a bunch of ports that are either abandonware and/or for which no morebapt2012-10-262-0/+6 * grabeadler2012-10-221-6/+2 * - cleanup commentsdinoex2012-10-131-5/+0 * - Add LICENSEsunpoet2012-10-071-15/+15 * - Reassign to the heap due to mail bouncestabthorpe2012-09-301-6/+2 * - Mark BROKEN on FreeBSD 7.x: does not linkbeat2012-09-261-1/+7 * - Revert committabthorpe2012-09-251-2/+6 * - Reassign to the heap due to mail bouncestabthorpe2012-09-251-6/+2 * Upgrade to 2.6.0sumikawa2012-08-245-75/+15 * Update Phoronix Test Suite to 4.0.0mm2012-08-083-18/+26 * - Teach the Haskell Cabal ports to use the new options frameworkpgj2012-08-031-1/+1 * Add wrk - a HTTP benchmarking tool.osa2012-08-024-0/+41 * Fix typos in COMMENTcs2012-07-251-1/+1 * Fix typos in COMMENTcs2012-07-251-1/+1 * - Remove benchmarks/tsung from Atticjgh2012-07-215-0/+358 * - Update E17 ports:makc2012-06-275-0/+118 * - reset MAINTAINERdinoex2012-06-261-1/+1 * - Update to 4.3.2scheidell2012-06-245-65/+72 * - add couple of patches to fix build warningsrm2012-06-202-0/+31 * Switch to OptionsNgmartymac2012-06-151-1/+3 * - Convert all remaining instances of BUILD_DEPENDS=${RUN_DEPENDS} orswills2012-06-111-1/+1 * - Remove SITE_PERL from *_DEPENDSaz2012-06-041-2/+2 * - Update The Glorious Glasgow Haskell Compiler to version 7.4.1pgj2012-06-041-3/+4 * Fix the DOCS logicalbapt2012-06-031-1/+1 * Convert to new options frameworkbapt2012-06-013-22/+24 * - update png to 1.5.10dinoex2012-06-014-4/+4 * Update my email address.tj2012-06-011-1/+1 * - Reset maintainer:pav2012-05-311-1/+1 * Properly call freehostent()mm2012-05-262-7/+16 * - Fix build for 9 and abovemiwi2012-05-215-44/+44 * 1) Add OPTIONS support for:sumikawa2012-05-152-4/+73 * - Enhances detection of CPU countscheidell2012-04-154-13/+68 * Bump port revision of all the octave-forge ports,maho2012-04-111-1/+1 * Update to 3.8.0mm2012-03-274-53/+62 * Cpipe copies its standard input to its standard output while measuring the timewxs2012-03-024-0/+35 * Update to 3.6.1mm2012-02-262-3/+3 * Return maintainership back to poolmm2012-02-261-1/+1 * - Update to 0.6.0.1pgj2012-02-133-13/+8 * - Fix CATEGORIES when IPV6 option is offsunpoet2012-02-021-18/+16 * - Reassign to the heaptabthorpe2012-02-011-1/+1