# New ports collection makefile for:	gdcd
# Date created:				Sat 3 June 2000
# Whom:					will
#
# $FreeBSD: ports/audio/gdcd/Makefile,v 1.9 2001/11/29 22:19:04 lioux Exp $
#

PORTNAME=	gdcd
PORTVERSION=	0.2.1
CATEGORIES=	audio
MASTER_SITES=	http://gdcd.undergrid.net/source_archive/

MAINTAINER=	ports@FreeBSD.org

LIB_DEPENDS=	cdaudio.1:${PORTSDIR}/audio/libcdaudio

USE_X_PREFIX=	yes
USE_GNOME=	yes
USE_AUTOMAKE_VER=	15
AUTOMAKE_ARGS=	-a -i
CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
		LIBS="-L${LOCALBASE}/lib"

pre-configure:
	@cd ${WRKSRC}; ${ACLOCAL} -I ${X11BASE}/share/aclocal

pre-build:
	@${PERL} -pi -e "s/autoheader/${AUTOHEADER}/" \
		${BUILD_WRKSRC}/Makefile

.include <bsd.port.mk>
