# New ports collection makefile for:	snett
# Date created:				06 Apr 2006
# Whom:					Alexander Botero-Lowry <alex@foxybanana.com>
#
# $FreeBSD: ports/audio/snett/Makefile,v 1.4 2006/09/13 03:21:34 alexbl Exp $

PORTNAME=	snett
PORTVERSION=	0.0.2
CATEGORIES=	audio ruby
MASTER_SITES=	ftp://ftp.code-monkey.de/pub/snett/

MAINTAINER=	alexbl@FreeBSD.org
COMMENT=	A simple XMMS2 client inspired by strange-quark

BUILD_DEPENDS=	${RUBY_SITEARCHLIBDIR}/xmmsclient.so:${PORTSDIR}/audio/ruby-xmms2 \
		${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \
		${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake
RUN_DEPENDS=	${BUILD_DEPENDS}

USE_RUBY=	yes
NO_BUILD=	yes

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=		Does not compile on FreeBSD 4.x
.endif

do-install:
	@cd ${WRKSRC} && ${LOCALBASE}/bin/rake PREFIX=${PREFIX}/ ${INSTALL_TARGET}

.include <bsd.port.post.mk>
