# New ports collection makefile for:	khordpro
# Date created:				June 8, 2001
# Whom:					Seth Kingsley <sethk@meowfishies.com>
#
# $FreeBSD: ports/audio/khordpro/Makefile,v 1.1 2001/09/03 18:45:22 will Exp $
#

PORTNAME=	khordpro
PORTVERSION=	0.1
CATEGORIES=	audio kde
MASTER_SITES=	http://digilander.iol.it/merlim/khordpro/files/

MAINTAINER=	sethk@meowfishies.com

USE_GMAKE=	yes
GNU_CONFIGURE=	yes
USE_KDELIBS_VER=2
USE_AUTOCONF=	yes

post-patch:
	${PERL} -pi -e "s@-lqt @-lqt2 @g" ${WRKSRC}/khordpro/Makefile.am
	${PERL} -pi -e "s@/usr/bin@${LOCALBASE}/bin@g" ${WRKSRC}/khordpro/cpm_html.cpp

post-install:
	${INSTALL_SCRIPT} ${WRKSRC}/cpm.pl ${PREFIX}/bin/cpm

.include <bsd.port.mk>
