openbsd-ports/textproc/py-rtf/Makefile

35 lines
777 B
Makefile

# $OpenBSD: Makefile,v 1.2 2005/05/09 08:52:56 xsa Exp $
COMMENT= "Rich Text Format document generation in Python"
DISTNAME= PyRTF-0.45
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/* ${EXAMPLESDIR}
.include <bsd.port.mk>