Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Dec 2013 18:05:04 +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: r337052 - head/devel/py-spark
Message-ID:  <201312201805.rBKI5458069587@svn.freebsd.org>

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

Log:
  devel/py-spark: allow staging
  
  - Allow staging
  - Restrict to python 2
  - Remove now useless NOPORTDOCS

Modified:
  head/devel/py-spark/Makefile

Modified: head/devel/py-spark/Makefile
==============================================================================
--- head/devel/py-spark/Makefile	Fri Dec 20 17:49:52 2013	(r337051)
+++ head/devel/py-spark/Makefile	Fri Dec 20 18:05:04 2013	(r337052)
@@ -11,17 +11,17 @@ PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Scanning, Parsing, and Rewriting Kit
 
-USE_PYTHON=	yes
+USE_PYTHON=	2
 NO_BUILD=	yes
 
-NO_STAGE=	yes
+OPTIONS_DEFINE=	DOCS
+
 do-install:
-	${INSTALL_SCRIPT} ${WRKSRC}/spark.py ${PYTHON_SITELIBDIR}
-.if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
+	${INSTALL_SCRIPT} ${WRKSRC}/spark.py ${STAGEDIR}${PYTHON_SITELIBDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for file in doc.html doc.tex paper.ps.gz
-	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



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