aboutsummaryrefslogtreecommitdiffstats
path: root/audio/wmauda/Makefile
blob: e58c6bd1d9c7b433dbf72ea3f8fc5959ab937c46 (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
# $FreeBSD$

PORTNAME=   wmauda
PORTVERSION=    0.9
PORTREVISION=   1
CATEGORIES= audio windowmaker
MASTER_SITES=   http://www.netswarm.net/misc/ \
        ${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles

MAINTAINER= garga@FreeBSD.org
COMMENT=    A port of wmxmms to GTK 2.x and Audacious

BUILD_DEPENDS=  audacious:${PORTSDIR}/multimedia/audacious
RUN_DEPENDS=    audacious:${PORTSDIR}/multimedia/audacious
LIB_DEPENDS=    mowgli:${PORTSDIR}/devel/libmowgli

USE_GMAKE=  yes
MAKE_JOBS_SAFE= yes
USE_GNOME=  gnomeprefix gtk20
CFLAGS+=    `pkg-config --cflags gtk+-2.0`
MAKE_ENV=   MANPAGE_DIR=${MAN1PREFIX}/man/man1 \
        LIBS="`pkg-config --libs gtk+-2.0`"

PLIST_FILES=    bin/wmauda \
        share/pixmaps/wmauda.xpm
MAN1=   wmauda.1

post-patch:
    @${REINPLACE_CMD} -E 's,^(MANPAGE_DIR.*):=,\1\?=,; \
                  s,^(LIBS.*):=,\1\+=,; \
                  s,audacious,& audclient,' \
        ${WRKSRC}/Makefile

.include <bsd.port.mk>