aboutsummaryrefslogtreecommitdiffstats
path: root/misc/tellico/Makefile
blob: 76f477af82e8b143283381fceafc002ecd14e8be (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
# New ports collection makefile for:    bookcase
# Date created:             11 May 2003
# Whom:                 Kirill Ponomarew <ponomarew@oberon.net>
#
# $FreeBSD$
#

PORTNAME=   tellico
PORTVERSION=    1.3.6
CATEGORIES= misc kde
MASTER_SITES=   http://tellico-project.org/files/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Collection manager for KDE

LICENSE=    GPLv2

LIB_DEPENDS=    tag:${PORTSDIR}/audio/taglib \
        poppler-qt:${PORTSDIR}/graphics/poppler-qt \
        yaz.4:${PORTSDIR}/net/yaz \
        exempi:${PORTSDIR}/textproc/exempi

BROKEN=     leaves file behind on deinstall

USE_KDELIBS_VER=3
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool
USE_PYTHON= yes
USE_GETTEXT=    yes
INSTALLS_ICONS= yes

CONFIGURE_ARGS+=    --disable-cdtext

OPTIONS=    CDDB "CDDB support" on \
        KCAL "KOrganizer support" on \
        AMAZON "Amazon search support" on \
        IMDB "IMDb search support" on

.include <bsd.port.pre.mk>

.if defined(WITHOUT_CDDB)
CONFIGURE_ARGS+=--disable-libkcddb
.else
LIB_DEPENDS+=   kcddb:${PORTSDIR}/multimedia/kdemultimedia3
.endif

.if defined(WITHOUT_KCAL)
CONFIGURE_ARGS+=--disable-libkcal
.else
LIB_DEPENDS+=   kcal.2:${PORTSDIR}/deskutils/kdepim3
.endif

.if defined(WITHOUT_AMAZON)
CONFIGURE_ARGS+=--disable-amazon
.endif

.if defined(WITHOUT_IMDB)
CONFIGURE_ARGS+=--disable-imdb
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.post.mk>