svn commit: r353556 - head/graphics/py-graphy

Sahil Tandon sahil at FreeBSD.org
Sat May 10 00:37:44 UTC 2014


Author: sahil
Date: Sat May 10 00:37:43 2014
New Revision: 353556
URL: http://svnweb.freebsd.org/changeset/ports/353556
QAT: https://qat.redports.org/buildarchive/r353556/

Log:
  - Refactor to supporting staging
  
  PR:		ports/188921
  Submitted by:	Bartek Rutkowski <ports at robakdesign.com>

Modified:
  head/graphics/py-graphy/Makefile

Modified: head/graphics/py-graphy/Makefile
==============================================================================
--- head/graphics/py-graphy/Makefile	Sat May 10 00:29:34 2014	(r353555)
+++ head/graphics/py-graphy/Makefile	Sat May 10 00:37:43 2014	(r353556)
@@ -9,7 +9,7 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 DISTNAME=	${PORTNAME}_${PORTVERSION}
 
 MAINTAINER=	sahil at FreeBSD.org
-COMMENT=	A simple chart library for Python
+COMMENT=	Simple chart library for Python
 
 USE_BZIP2=	yes
 USE_PYTHON_RUN=	yes
@@ -20,7 +20,6 @@ PORTEXAMPLES=	*
 NO_BUILD=	yes
 NO_INSTALL_MANPAGES=	yes
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 post-patch:
@@ -31,16 +30,16 @@ post-patch:
 		${XARGS} ${RM} -rf
 
 do-install:
-	@${MKDIR} ${PYTHON_SITELIBDIR}/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME}
 	@(cd ${WRKSRC}/${PORTNAME}/ && \
-	     ${COPYTREE_SHARE} \* ${PYTHON_SITELIBDIR}/${PORTNAME})
+	     ${COPYTREE_SHARE} \* ${STAGEDIR}${PYTHON_SITELIBDIR}/${PORTNAME})
 .if !defined(NOPORTDOCS)
-	@${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${DOCSDIR}
-	@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
+	@${INSTALL} -o ${DOCOWN} -g ${DOCGRP} -m 555 -d ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 .if !defined(NOPORTEXAMPLES)
-	@${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 -d ${EXAMPLESDIR}
-	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${EXAMPLESDIR})
+	@${INSTALL} -o ${SHAREOWN} -g ${SHAREGRP} -m 555 -d ${STAGEDIR}${EXAMPLESDIR}
+	@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR})
 .endif
 
 .include <bsd.port.post.mk>


More information about the svn-ports-all mailing list