aboutsummaryrefslogtreecommitdiffstats
path: root/print/py-rtf/Makefile
blob: 542c8df2c96d2095f046fa77e609bfb54a47f3ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Created by: Thomas Gellekum <tg@FreeBSD.org>
# $FreeBSD$

PORTNAME=   rtf
PORTVERSION=    0.45
CATEGORIES= print python
MASTER_SITES=   SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   PyRTF-${PORTVERSION}

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

USES=       python
USE_PYTHON= distutils autoplist

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

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

.include <bsd.port.mk>