Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Dec 2013 12:59:20 +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: r338108 - head/www/py-meld
Message-ID:  <201312301259.rBUCxK1v027258@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: wg
Date: Mon Dec 30 12:59:20 2013
New Revision: 338108
URL: http://svnweb.freebsd.org/changeset/ports/338108

Log:
  www/py-meld: support staging

Modified:
  head/www/py-meld/Makefile

Modified: head/www/py-meld/Makefile
==============================================================================
--- head/www/py-meld/Makefile	Mon Dec 30 12:59:08 2013	(r338107)
+++ head/www/py-meld/Makefile	Mon Dec 30 12:59:20 2013	(r338108)
@@ -11,17 +11,16 @@ EXTRACT_SUFX=	.py
 EXTRACT_ONLY=	# This space left intentionally empty
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A system for manipulating HTML using a Pythonic object model
+COMMENT=	System for manipulating HTML using a Pythonic object model
 
 LICENSE=	MIT
 
-USE_PYTHON=	-2.7
+USE_PYTHON=	2
 
 PLIST_FILES=	%%PYTHON_SITELIBDIR%%/PyMeld.py \
 		%%PYTHON_SITELIBDIR%%/PyMeld.pyc \
 		%%PYTHON_SITELIBDIR%%/PyMeld.pyo
 
-NO_STAGE=	yes
 pre-build:
 	@${MKDIR} ${WRKSRC}
 	@${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
@@ -31,8 +30,9 @@ do-build:
 	${PYTHON_CMD} -c 'import PyMeld'
 
 do-install:
-	${INSTALL_DATA} ${WRKSRC}/PyMeld.py ${PYTHON_SITELIBDIR}
-	${INSTALL_DATA} ${WRKSRC}/PyMeld.pyc ${PYTHON_SITELIBDIR}
-	${INSTALL_DATA} ${WRKSRC}/PyMeld.pyo ${PYTHON_SITELIBDIR}
+	@${MKDIR} ${STAGEDIR}${PYTHON_SITELIBDIR}
+	${INSTALL_DATA} ${WRKSRC}/PyMeld.py ${STAGEDIR}${PYTHON_SITELIBDIR}
+	${INSTALL_DATA} ${WRKSRC}/PyMeld.pyc ${STAGEDIR}${PYTHON_SITELIBDIR}
+	${INSTALL_DATA} ${WRKSRC}/PyMeld.pyo ${STAGEDIR}${PYTHON_SITELIBDIR}
 
 .include <bsd.port.mk>



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