# New ports collection makefile for:	py-qt4-doc
# Date created:				2007-02-20
# Whom:					Danny Pansters <danny@ricin.com>
#
# $FreeBSD: ports/misc/py-qt4-doc/Makefile,v 1.2 2007/04/17 20:12:31 miwi Exp $

PORTNAME=	doc
PORTVERSION=	4.2
CATEGORIES=	misc devel python
MASTER_SITES=	http://www.riverbankcomputing.com/Downloads/PyQt4/GPL/ \
		http://freebsd.ricin.com/ports/distfiles/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}qt4-
DISTNAME=	PyQt-x11-gpl-${PORTVERSION}

MAINTAINER=	danny@ricin.com
COMMENT=	Python bindings for the Qt4 toolkit, documentation

NO_BUILD=	yes
USE_PYTHON=	yes

DOCSDIR=	${PREFIX}/share/doc/py-qt4

.include <bsd.port.pre.mk>

do-install:
	( cd ${WRKSRC} && \
		${MKDIR} -m 0755 ${DOCSDIR} && \
		${INSTALL_DATA} ChangeLog NEWS README THANKS ${DOCSDIR} && \
		${CP} -R doc/ ${DOCSDIR} )

.include <bsd.port.post.mk>
