aboutsummaryrefslogtreecommitdiffstats
path: root/print/py-rtf/Makefile
blob: 77a3681eb557037bcb3ffe1f78cc762a352a7dc2 (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
26
27
28
# New ports collection makefile for:    PyRTF
# Date created:     09 May 2005
# Whom:         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_PKGNAME=    PyRTF

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

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

.include <bsd.port.mk>