aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/k3b/Makefile
blob: 2ea59b459adc140cc1b5c8ab53564b97a8f23311 (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
# New ports collection makefile for:    k3b
# Date created:                         2003/02/13
# Whom:                                 Heiner <h.eichmann@gmx.de>
#
# $FreeBSD$
#

PORTNAME=   k3b
PORTVERSION=    0.11.17
PORTREVISION=   1
CATEGORIES= sysutils multimedia kde
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

MAINTAINER= h.eichmann@gmx.de
COMMENT=    A CD/DVD recording GUI for KDE

EXTRA_PATCHES=  ${.CURDIR}/../../x11/kde3/files/extrapatch-configure

RUN_DEPENDS=    cdrecord:${PORTSDIR}/sysutils/cdrtools \
        cdrdao:${PORTSDIR}/sysutils/cdrdao
LIB_DEPENDS=    mad:${PORTSDIR}/audio/libmad \
        id3:${PORTSDIR}/audio/id3lib \
        vorbis:${PORTSDIR}/audio/libvorbis \
        FLAC:${PORTSDIR}/audio/flac

USE_BZIP2=  yes
GNU_CONFIGURE=  yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --with-k3bsetup=no
USE_GMAKE=  yes
USE_INC_LIBTOOL_VER=13
INSTALLS_SHLIB= yes
USE_KDELIBS_VER=    3
USE_REINPLACE=  yes

pre-configure:
    ${REINPLACE_CMD} "s,-O2 ,,g" ${WRKSRC}/configure
.for i in config.h.in Makefile.in
    ${TOUCH} ${WRKSRC}/${i}
.endfor

post-install:
    @${CAT} ${PKGMESSAGE}
    @sleep 5

showinfo:
    more ${PKGMESSAGE}

.include <bsd.port.mk>