# New ports collection makefile for:    x11amp
# Date created:         13 Jul 1998
# Whom:                 Donald Burr <dburr@FreeBSD.org>
#
# $FreeBSD: ports/audio/x11amp/Makefile,v 1.22 2006/02/23 10:34:45 ade Exp $
#

PORTNAME=	x11amp
PORTVERSION=	0.9.b1.1
PORTREVISION=	2
CATEGORIES=	audio
MASTER_SITES=	ftp://ftp.cs.tu-berlin.de/pub/misc/x11amp/0.9/ \
		ftp://ftp.sci-nnov.ru/pub/FreeBSD/ports/distfiles/
DISTNAME=	${PORTNAME}-${PORTVERSION:S/.b/-beta/}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	X11-based MP3 player with nice graphical interface

USE_XLIB=	yes
USE_GNOME=	gtk12 esound
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}"
MAKE_ENV=	PTHREAD_LIBS="${PTHREAD_LIBS}"

.include <bsd.port.pre.mk>

post-extract:
	@${CP} ${FILESDIR}/main.xpm ${WRKSRC}/x11amp/defskin
	@${CHMOD} a+x ${WRKSRC}/ltconfig

.include <bsd.port.post.mk>
