svn commit: r367424 - head/graphics/py-graphy
Antoine Brodin
antoine at FreeBSD.org
Sat Sep 6 13:07:31 UTC 2014
Author: antoine
Date: Sat Sep 6 13:07:30 2014
New Revision: 367424
URL: http://svnweb.freebsd.org/changeset/ports/367424
QAT: https://qat.redports.org/buildarchive/r367424/
Log:
- Allow staging as a regular user
- USES=python
Modified:
head/graphics/py-graphy/Makefile
Modified: head/graphics/py-graphy/Makefile
==============================================================================
--- head/graphics/py-graphy/Makefile Sat Sep 6 13:05:50 2014 (r367423)
+++ head/graphics/py-graphy/Makefile Sat Sep 6 13:07:30 2014 (r367424)
@@ -11,8 +11,7 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= sahil at FreeBSD.org
COMMENT= Simple chart library for Python
-USES= tar:bzip2
-USE_PYTHON_RUN= yes
+USES= python:run tar:bzip2
PORTDOCS= README
PORTEXAMPLES= *
@@ -31,10 +30,10 @@ post-patch:
do-install:
@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}
@(cd ${WRKSRC}/${PORTNAME}/ && \
- ${COPYTREE_SHARE} \* ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME})
- @${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${STAGEDIR}${DOCSDIR}
- @${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
- @${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 -d ${STAGEDIR}${EXAMPLESDIR}
- @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
+ ${COPYTREE_SHARE} . ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME})
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list