# New ports collection makefile for:	graphics/xmms-dspectogram
# Date created:			15 Jun 2005
# Whom:				Alejandro Pulver <alejandro@varnet.biz>
#
# $FreeBSD: ports/graphics/xmms-dspectogram/Makefile,v 1.3 2006/03/07 08:26:37 ade Exp $
#

PORTNAME=	dspectogram
PORTVERSION=	1.2.1
PORTREVISION=	1
CATEGORIES=	graphics
MASTER_SITES=	http://www.shell.linux.se/bm/f/
PKGNAMEPREFIX=	xmms-
DISTNAME=	${PORTNAME}-${PORTVERSION:S/^/v/}

MAINTAINER=	alejandro@varnet.biz
COMMENT=	Dual Spectogram visualization plugin for XMMS

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

USE_X_PREFIX=	yes
USE_REINPLACE=	yes
USE_GNOME=	gtk12

post-patch:
	@${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-m486||; s|-O2||; \
		s|-Wall|-Wall ${CFLAGS}|; \
		s|gtk-config|${GTK_CONFIG}|; \
		s|install lib|${INSTALL_PROGRAM} lib|; \
		s|install bg|${INSTALL_DATA} bg|' ${WRKSRC}/Makefile

.include <bsd.port.mk>
