Index: head/print/py-rtf/Makefile =================================================================== --- head/print/py-rtf/Makefile (revision 405418) +++ head/print/py-rtf/Makefile (revision 405419) @@ -1,24 +1,28 @@ # Created by: Thomas Gellekum # $FreeBSD$ PORTNAME= rtf PORTVERSION= 0.45 CATEGORIES= print python MASTER_SITES= SF/py${PORTNAME}/py${PORTNAME}/${PORTVERSION} PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} DISTNAME= PyRTF-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= Library to create RTF documents using the Python language +LICENSE= GPLv1 + USES= python -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils +NO_ARCH= yes -EXAMPLESDIR= ${PREFIX}/share/examples/py-rtf PORTEXAMPLES= * -post-install: +OPTIONS_DEFINE= EXAMPLES + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR} .include