aboutsummaryrefslogtreecommitdiffstats
path: root/print/py-rtf/Makefile
blob: 4c493a114358d61ae81a72b247f9e035f9a65f84 (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
25
# 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

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_AUTOPLIST=  yes

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

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

.include <bsd.port.mk>