aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/pidgin-rhythmbox/Makefile
blob: bf5a28eb1fb03cfcc6ed571046adf5b91cccdfd2 (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
# Created by: Yuri Pankov <yuri@darklight.org.ru>
# $FreeBSD$

PORTNAME=   pidgin-rhythmbox
PORTVERSION=    2.0
PORTREVISION=   6
CATEGORIES= net-im audio
MASTER_SITES=   http://jon.oberheide.org/pidgin-rhythmbox/downloads/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Plugin to update your status with info from Rhythmbox

BUILD_DEPENDS=  pidgin:${PORTSDIR}/net-im/pidgin
LIB_DEPENDS=    dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS=    pidgin:${PORTSDIR}/net-im/pidgin \
        rhythmbox:${PORTSDIR}/audio/rhythmbox

USES=       gmake pkgconfig
USE_GNOME=  gtk20
GNU_CONFIGURE=  yes

PLIST_FILES=    lib/pidgin/pidgin-rhythmbox.la \
        lib/pidgin/pidgin-rhythmbox.so

NO_STAGE=   yes
post-patch:
        @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \
            -e 's#\([@(]\)PIDGIN_INSTALL\([@)]\)#\1libdir\2/pidgin#' \
            -e 's#-g -g3 -O2##'

.include <bsd.port.mk>