aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/superkaramba/Makefile
blob: cf9b4b2cba38c6516595118d344b04b27749f14f (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
# New ports collection makefile for:    superkaramba
# Date created:         Sat Nov  8 20:23:31 CET 2003
# Whom:             Markus Brueffer <brueffer@phoenix-systems.de>
#
# $FreeBSD$

PORTNAME=       superkaramba
PORTVERSION=        0.37
CATEGORIES=     deskutils kde
MASTER_SITES=       ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= netdragon

MAINTAINER=     markus@FreeBSD.org
COMMENT=        KDE tool that allows interactive eye-candy on the desktop

CONFLICTS=      kdeutils-3.5.[0-9]*

WRKSRC=         ${WRKDIR}/${PORTNAME}
USE_KDEBASE_VER=    3
USE_AUTOTOOLS=      libtool:15
USE_GMAKE=      yes
USE_GNOME=      glib12 gtk12
USE_PYTHON=     yes
INSTALLS_SHLIB=     yes
USE_REINPLACE=      yes

CONFIGURE_ARGS+=    --with-pythondir=${PYTHON_INCLUDEDIR}

OPTIONS=    XMMS "XMMS support" off \
        XMBMON "Mainboard monitor support" on

.include <bsd.port.pre.mk>

.if defined(WITH_XMMS)
LIB_DEPENDS+=   xmms.4:${PORTSDIR}/multimedia/xmms
.endif

.if defined(WITH_XMBMON)
RUN_DEPENDS+=   mbmon:${PORTSDIR}/sysutils/mbmon
.endif

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

.include <bsd.port.post.mk>