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

PORTNAME=	k3b
PORTVERSION=	0.11.20
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

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.pre.mk>

.if ${OSVERSION} > 500000
PKGMESSAGE=	${PKGDIR}/pkg-message5
.endif

.include <bsd.port.post.mk>