Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 May 2014 00:37:43 +0000 (UTC)
From:      Sahil Tandon <sahil@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353556 - head/graphics/py-graphy
Message-ID:  <201405100037.s4A0bhWv071855@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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@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>



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