aboutsummaryrefslogtreecommitdiffstats
path: root/print/py-rtf/Makefile
blob: f6ffd8fbd45c42064b4172a7d79e7de4e1b08ced (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
29
# 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=   ${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
PYDISTUTILS_PKGNAME=    PyRTF

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

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

.include <bsd.port.mk>