svn commit: r346644 - head/net/py-tofu

Antoine Brodin antoine at FreeBSD.org
Sat Mar 1 16:35:55 UTC 2014


Author: antoine
Date: Sat Mar  1 16:35:55 2014
New Revision: 346644
URL: http://svnweb.freebsd.org/changeset/ports/346644
QAT: https://qat.redports.org/buildarchive/r346644/

Log:
  Stage support

Deleted:
  head/net/py-tofu/pkg-plist
Modified:
  head/net/py-tofu/Makefile

Modified: head/net/py-tofu/Makefile
==============================================================================
--- head/net/py-tofu/Makefile	Sat Mar  1 16:31:59 2014	(r346643)
+++ head/net/py-tofu/Makefile	Sat Mar  1 16:35:55 2014	(r346644)
@@ -16,15 +16,15 @@ USE_BZIP2=	yes
 USE_PYTHON=	yes
 USES=		twisted
 USE_PYDISTUTILS=	yes
-PYDISTUTILS_PKGNAME=	Tofu
+PYDISTUTILS_AUTOPLIST=	yes
 WRKSRC=		${WRKDIR}/Tofu-${PORTVERSION}
 EXAMPLESDIR=	${PREFIX}/share/examples/py-tofu
+PORTEXAMPLES=	*
+
+OPTIONS_DEFINE=	EXAMPLES
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/demo/* ${EXAMPLESDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/demo/* ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list