35 lines
780 B
Makefile
35 lines
780 B
Makefile
# $OpenBSD: Makefile,v 1.5 2007/10/08 08:22:43 steven Exp $
|
|
|
|
COMMENT= Rich Text Format document generation in Python
|
|
|
|
DISTNAME= PyRTF-0.45
|
|
PKGNAME= ${DISTNAME:L:S/^py/py-/}p1
|
|
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>
|