# New ports collection makefile for:	ksmoothdock
# Date created: 			24 May 2004
# Whom:					Arjan van Leeuwen <avleeuwen@piwebs.com>
#
# $FreeBSD: ports/deskutils/ksmoothdock/Makefile,v 1.25 2011/03/23 16:57:56 pawel Exp $
#

PORTNAME=	ksmoothdock
PORTVERSION=	4.5
PORTREVISION=	7
CATEGORIES=	deskutils kde
MASTER_SITES=	SF
DISTNAME=	${PORTNAME}-${PORTVERSION}_automake-1.9

MAINTAINER=	pawel@FreeBSD.org
COMMENT=	A dock program for KDE with smooth zooming

WRKSRC=		${WRKDIR}/${PORTNAME}

USE_KDELIBS_VER=3
USE_GMAKE=	yes
USE_AUTOTOOLS=	autoconf:env automake:env libtool
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes
USE_PERL5_BUILD=yes

pre-configure:
	@cd ${WRKSRC}/admin && ${RM} -f ltmain.sh && ${CP} -f ${LTMAIN} .
	@cd ${WRKSRC} && ${SETENV} ${AUTOTOOLS_ENV} ${GMAKE} -f admin/Makefile.common

.include <bsd.port.mk>
