75263aa206
PyRTF is a pure python module for the efficient generation of rich text format documents. It has good support for tables and tries to maintain compatibility with as many RTF readers as possible.
35 lines
784 B
Makefile
35 lines
784 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2005/05/04 20:43:12 xsa Exp $
|
|
|
|
COMMENT= "Rich Text Format document generation in Python"
|
|
|
|
DISTNAME= PyRTF-0.44
|
|
PKGNAME= ${DISTNAME:L:S/^py/py-/}
|
|
CATEGORIES= textproc
|
|
|
|
HOMEPAGE= http://pyrtf.sourceforge.net/
|
|
|
|
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
|
|
|
|
# GPL + LGPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyrtf/}
|
|
|
|
MODULES= lang/python
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py-rtf
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-rtf
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|