aboutsummaryrefslogtreecommitdiffstats
path: root/audio/xfmpc/Makefile
blob: 099e6fc8384e72ebe2a8e258297c4816f165a55c (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
# Created by: Martin Wilke (miwi@FreeBSD.org)
# $FreeBSD$

PORTNAME=   xfmpc
PORTVERSION=    0.2.2
PORTREVISION=   6
CATEGORIES= audio xfce
MASTER_SITES=   ${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR=/src/apps/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR=    xfce4

MAINTAINER= xfce@FreeBSD.org
COMMENT=    Graphical MPD client focusing on low footprint

LICENSE=    GPLv2

BUILD_DEPENDS=  valac:${PORTSDIR}/lang/vala
LIB_DEPENDS=    libmpd.so:${PORTSDIR}/audio/libmpd

INSTALLS_ICONS= yes
USES=       tar:bzip2 gettext gmake xfce pkgconfig
GNU_CONFIGURE=  yes
USE_GNOME=  gtk20 intltool intlhack
USE_XFCE=   libmenu

post-extract:
    ${CP} ${FILESDIR}/config.vapi ${WRKSRC}/src

post-patch:
    ${FIND} ${WRKSRC} -type f -name 'Makefile.in' | \
        ${XARGS} ${REINPLACE_CMD} 's|@VALAC@|${LOCALBASE}/bin/valac|'

.include <bsd.port.mk>