svn commit: r337960 - head/print/py-rtf

William Grzybowski wg at FreeBSD.org
Sun Dec 29 11:27:59 UTC 2013


Author: wg
Date: Sun Dec 29 11:27:58 2013
New Revision: 337960
URL: http://svnweb.freebsd.org/changeset/ports/337960

Log:
  print/py-rtf: support staging and use auto plist

Deleted:
  head/print/py-rtf/pkg-plist
Modified:
  head/print/py-rtf/Makefile

Modified: head/print/py-rtf/Makefile
==============================================================================
--- head/print/py-rtf/Makefile	Sun Dec 29 11:25:29 2013	(r337959)
+++ head/print/py-rtf/Makefile	Sun Dec 29 11:27:58 2013	(r337960)
@@ -13,13 +13,13 @@ COMMENT=	Library to create RTF documents
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
-PYDISTUTILS_PKGNAME=	PyRTF
+PYDISTUTILS_AUTOPLIST=	yes
 
 EXAMPLESDIR=	${PREFIX}/share/examples/py-rtf
+PORTEXAMPLES=	*
 
-NO_STAGE=	yes
 post-install:
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list