# New ports collection makefile for:	xmms-real-random
# Date created:				03.10.2003
# Whom:					Ulrich Spoerlein <q@uni.de>
#
# $FreeBSD: ports/audio/xmms-real-random/Makefile,v 1.4 2004/03/25 08:27:17 vs Exp $
#

PORTNAME=	xmms-real-random
PORTVERSION=	0.3
CATEGORIES=	audio
MASTER_SITES=	http://kingleo.home.pages.at/development/stuff/
DISTNAME=	real_random-${PORTVERSION}

MAINTAINER=	q@uni.de
COMMENT=	REAL shuffle mode for xmms

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

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_REINPLACE=	yes
USE_LIBTOOL_VER=	13
INSTALLS_SHLIB=	yes
USE_X_PREFIX=	yes

CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=	CFLAGS='${CFLAGS}'

post-patch:
.for Makefile in Makefile.am Makefile.in
	@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/' ${WRKSRC}/${Makefile}
.endfor

.include <bsd.port.mk>
