summaryrefslogtreecommitdiffstats
path: root/multimedia/gaim-xmms-remote/Makefile
blob: b032f122d2d400ccb188dfecebfdfd85af2392da (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
# New ports collection makefile for:    gaim-xmms-remote
# Date created:     2004-08-31
# Whom:         daniel@xbox-irc.net
#
# $FreeBSD$
#

PORTNAME=   gaim-xmms-remote
PORTVERSION=    1.8
PORTREVISION=   11
CATEGORIES= multimedia net
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= guifications

MAINTAINER= danielshafer@gmail.com
COMMENT=    Plugin to display current XMMS song in Gaim

BUILD_DEPENDS=  ${LOCALBASE}/include/gaim/config.h:${PORTSDIR}/net-im/gaim
RUN_DEPENDS=    gaim:${PORTSDIR}/net-im/gaim
LIB_DEPENDS=    xmms.4:${PORTSDIR}/multimedia/xmms

USE_XLIB=   yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix gnomehack gtk20
GNU_CONFIGURE=  yes

post-patch:
    @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} \
        -e 's#\([@(]\)GAIM_LIBDIR\([@)]\)#\1libdir\2#' \
        -e 's#\([@(]\)GAIM_DATADIR\([@)]\)#\1datadir\2#'
    @${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure

.include <bsd.port.mk>