openbsd-ports/textproc/py-rtf/Makefile
2011-06-08 18:09:58 +00:00

36 lines
790 B
Makefile

# $OpenBSD: Makefile,v 1.8 2011/06/08 18:09:58 jasper Exp $
COMMENT= Rich Text Format document generation in Python
DISTNAME= PyRTF-0.45
PKGNAME= ${DISTNAME:L:S/^py/py-/}
REVISION= 4
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/* ${EXAMPLESDIR}
.include <bsd.port.mk>