aboutsummaryrefslogtreecommitdiffstats
path: root/audio/evilbar/Makefile
blob: e563d9b62e372d9f3206bf1c51cc329a57f135bc (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
# New ports collection makefile for:    evilbar
# Date created:                         31 Januar 2003
# Whom:                                 Jens Arnfast <jens@arnfast.net>
#
# $FreeBSD$
#

PORTNAME=   evilbar
PORTVERSION=    1.2.1
CATEGORIES+=    audio sysutils x11-clocks
MASTER_SITES=   http://arnfast.net/projects/

MAINTAINER= jens@arnfast.net
COMMENT=    Minimalistic statusbar with XMMS control, APM status and clock

BROKEN=     "Does not link, will be removed after Feb 2"

GNU_CONFIGURE=  yes
USE_REINPLACE=  yes

MAN1=       evilbar.1 launch_evilbar.1

.if !defined(WITHOUT_XMMS)
BUILD_DEPENDS+= xmms:${PORTSDIR}/multimedia/xmms
RUN_DEPENDS+=   xmms:${PORTSDIR}/multimedia/xmms
.else
CONFIGURE_ARGS+=    --disable-xmms
.endif

CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}

.if defined(WITH_APM)
CONFIGURE_ARGS+=    --enable-apm
.endif

pre-everything::
.if !defined(WITHOUT_XMMS)
    @${ECHO_MSG}
    @${ECHO_MSG} "You can disable XMMS control by defining WITHOUT_XMMS."
.endif
.if !defined(WITH_APM)
    @${ECHO_MSG}
    @${ECHO_MSG} "You can enable APM status by defining WITH_APM."
.endif
    @${ECHO_MSG}

post-patch:
    @${REINPLACE_CMD} -e '/for as_dir in/s/:/$$PATH_SEPARATOR/g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>