# New ports collection makefile for:    gxmms2
# Date created:				03 Mar 2006
# Whom:				  	Alexander Botero-Lowry <alex@foxybanana.com>
#
# $FreeBSD: ports/audio/gxmms2/Makefile,v 1.8 2006/09/28 03:46:58 alexbl Exp $
#

PORTNAME=	gxmms2
PORTVERSION=	0.6.4
CATEGORIES=	audio
MASTER_SITES=	http://wejp.k.vu/projects/xmms2/

MAINTAINER=	alexbl@FreeBSD.org
COMMENT=	A GTK2 based XMMS2 client, written in C

BUILD_DEPENDS=	${LOCALBASE}/lib/libxmmsclient.so:${PORTSDIR}/audio/xmms2

USE_GNOME=	gtk20

ALL_TARGET=	${PORTNAME}

PLIST_FILES=	bin/gxmms2 \
				%%DATADIR%%/gxmms2_mini.xpm
PLIST_DIRS=		%%DATADIR%%

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
#BROKEN=		does not build on FreeBSD 4.x
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
	${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/gxmms2src/gxmms2_mini.xpm ${DATADIR}

.include <bsd.port.post.mk>
