# New ports collection makefile for:	py-qt4-qct
# Date created:				10 Apr 2007
# Whom:					Boris Samorodov <bsam@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	qct
PORTVERSION=	1.7
PORTREVISION=	4
CATEGORIES=	devel python
MASTER_SITES=	http://qct.sourceforge.net/ \
		ftp://ftp.ipt.ru/pub/download/${PORTNAME}/

MAINTAINER=	bsam@FreeBSD.org
COMMENT=	QCT GUI commit tool

RUN_DEPENDS=	${PYTHON_SITELIBDIR}/PyQt4/QtGui.so:${PORTSDIR}/x11-toolkits/py-qt4-gui

USE_PYTHON=	2.5+
USE_PYDISTUTILS=yes
WRKSRC=		${WRKDIR}/qct

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_MAN} ${WRKSRC}/doc/qct.1.txt ${DOCSDIR}/qct.1.txt
.endif

.include <bsd.port.mk>