1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

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

This commit is contained in:
William Grzybowski 2013-12-20 18:07:52 +00:00
parent ca943766a7
commit 041d2589b9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337054

View File

@ -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>