Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Dec 2013 11:24:08 +0000 (UTC)
From:      William Grzybowski <wg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r337957 - head/print/py-fonttools
Message-ID:  <201312291124.rBTBO8Fb096421@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Sun Dec 29 11:24:08 2013
New Revision: 337957
URL: http://svnweb.freebsd.org/changeset/ports/337957

Log:
  print/py-fonttools: support staging

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

Modified: head/print/py-fonttools/Makefile
==============================================================================
--- head/print/py-fonttools/Makefile	Sun Dec 29 11:23:22 2013	(r337956)
+++ head/print/py-fonttools/Makefile	Sun Dec 29 11:24:08 2013	(r337957)
@@ -18,24 +18,18 @@ OPTIONS_DEFINE=	DOCS
 
 USE_PYTHON=	yes
 USE_PYDISTUTILS=	yes
-PYDISTUTILS_EGGINFODIR=	${PYTHON_SITELIBDIR}/FontTools
-
-MAN1=		ttx.1
+PYDISTUTILS_AUTOPLIST=	yes
 
 DOCSDIR=	${PREFIX}/share/doc/py-fonttools
-
-NO_STAGE=	yes
-.include <bsd.port.options.mk>
+PORTDOCS=	*
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|g' ${WRKSRC}/setup.py
 
 post-install:
-.if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/Doc/ChangeLog ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/Doc/*.html ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/Doc/*.txt ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/Doc/ChangeLog ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/Doc/*.html ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/Doc/*.txt ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312291124.rBTBO8Fb096421>