2013-03-11 11:35:43 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2013/03/11 11:42:46 espie Exp $
|
2005-05-04 20:43:12 +00:00
|
|
|
|
2007-09-15 20:59:36 +00:00
|
|
|
COMMENT= Rich Text Format document generation in Python
|
2005-05-04 20:43:12 +00:00
|
|
|
|
2005-05-09 08:52:56 +00:00
|
|
|
DISTNAME= PyRTF-0.45
|
2010-08-30 21:47:15 +00:00
|
|
|
PKGNAME= ${DISTNAME:L:S/^py/py-/}
|
2012-04-02 13:06:42 +00:00
|
|
|
REVISION= 6
|
2005-05-04 20:43:12 +00:00
|
|
|
CATEGORIES= textproc
|
|
|
|
|
|
|
|
HOMEPAGE= http://pyrtf.sourceforge.net/
|
|
|
|
|
|
|
|
# GPL + LGPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyrtf/}
|
|
|
|
|
|
|
|
MODULES= lang/python
|
|
|
|
|
2013-03-11 11:35:43 +00:00
|
|
|
NO_TEST= Yes
|
2005-05-04 20:43:12 +00:00
|
|
|
|
|
|
|
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}
|
2005-05-09 08:52:56 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
2005-05-04 20:43:12 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|