Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 18:07:53 +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: r337054 - head/devel/py-xoltar-toolkit
Message-ID:  <201312201807.rBKI7rdP070121@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Fri Dec 20 18:07:52 2013
New Revision: 337054
URL: http://svnweb.freebsd.org/changeset/ports/337054

Log:
  devel/py-xoltar-toolkit: allow staging and minor fixes

Modified:
  head/devel/py-xoltar-toolkit/Makefile

Modified: head/devel/py-xoltar-toolkit/Makefile
==============================================================================
--- head/devel/py-xoltar-toolkit/Makefile	Fri Dec 20 18:07:23 2013	(r337053)
+++ head/devel/py-xoltar-toolkit/Makefile	Fri Dec 20 18:07:52 2013	(r337054)
@@ -11,21 +11,17 @@ DISTNAME=	${PORTNAME}-01jun01
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Functional programming, lazy expressions, and thread pools for Python
 
-USE_PYTHON=	yes
+USE_PYTHON=	2
 NO_WRKSUBDIR=	yes
 
-NO_STAGE=	yes
 do-build:
-	@ ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
-	@ ${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+	@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
+	@${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py ${WRKSRC}
 
 do-install:
-	@ ${INSTALL_DATA} ${WRKSRC}/*.py* ${PYTHON_SITELIBDIR}
-
-post-install:
-.if !defined(NOPORTDOCS)
-	@ ${MKDIR} ${DOCSDIR}
-	@ ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.py* ${STAGEDIR}${PYTHON_SITELIBDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/*.txt ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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