# New ports collection makefile for:	PyRTF
# Date created:		09 May 2005
# Whom:			Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD: ports/print/py-rtf/Makefile,v 1.1 2005/05/11 11:27:28 tg Exp $
#

PORTNAME=	rtf
PORTVERSION=	0.45
CATEGORIES=	print python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	pyrtf
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	PyRTF-${PORTVERSION}

MAINTAINER=	tg@FreeBSD.org
COMMENT=	Library to create RTF documents using the Python language

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes

EXAMPLESDIR=	${PREFIX}/share/examples/py-rtf

post-install:
	@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}

.include <bsd.port.mk>
