# New ports collection makefile for:	xmms-crystality
# Date created:				Fri Aug 17 20:34:09 EDT 2001
# Whom:					Patrick Li <pat@databits.net>
#
# $FreeBSD: ports/audio/xmms-crystality/Makefile,v 1.6 2003/03/07 05:56:06 ade Exp $
#

PORTNAME=	crystality
PORTVERSION=	0.92
CATEGORIES=	audio
MASTER_SITES=	http://fanthom.math.put.poznan.pl/~gyver/crystality/
PKGNAMEPREFIX=	xmms-
DISTNAME=	${PORTNAME}-plugin-${PORTVERSION}

MAINTAINER=	pat@FreeBSD.org
COMMENT=	Realtime XMMS plugin for remastering mp3 sound

LIB_DEPENDS=	xmms.3:${PORTSDIR}/multimedia/xmms

USE_X_PREFIX=	yes
USE_GNOMENG=	yes
USE_GNOME=	imlib
INSTALLS_SHLIB=	yes
MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}" \
		PTHREAD_CFLAGS="${PTHREAD_CFLAGS}"

do-install:
	@${INSTALL_PROGRAM} ${WRKSRC}/crystality-stdio ${PREFIX}/bin
	@${INSTALL_PROGRAM} ${WRKSRC}/libcrystality.so \
		${PREFIX}/lib/xmms/Effect

.include <bsd.port.mk>
