Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2014 17:04:56 +0000 (UTC)
From:      David Naylor <dbn@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353878 - head/devel/py-tables
Message-ID:  <201405121704.s4CH4uuJ047613@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: dbn
Date: Mon May 12 17:04:55 2014
New Revision: 353878
URL: http://svnweb.freebsd.org/changeset/ports/353878
QAT: https://qat.redports.org/buildarchive/r353878/

Log:
  Stagify devel/py-tables.
  
   - Add LICENSE (BSD3CLAUSE)
  
  PR:		ports/188568
  Submitted by:	Bartek Rutkowski <ports@robakdesign.com>
  Approved by:	portmgr (implicit)

Modified:
  head/devel/py-tables/Makefile

Modified: head/devel/py-tables/Makefile
==============================================================================
--- head/devel/py-tables/Makefile	Mon May 12 16:59:11 2014	(r353877)
+++ head/devel/py-tables/Makefile	Mon May 12 17:04:55 2014	(r353878)
@@ -13,6 +13,8 @@ EXTRACT_ONLY=	tables-${PORTVERSION}.tar.
 MAINTAINER=	wen@FreeBSD.org
 COMMENT=	Hierarchical database for Python
 
+LICENSE=	BSD3CLAUSE
+
 BUILD_DEPENDS=	${PYNUMPY} \
 		${LOCALBASE}/bin/cython:${PORTSDIR}/lang/cython \
 		${PYTHON_PKGNAMEPREFIX}numexpr>=1.4.1:${PORTSDIR}/math/py-numexpr
@@ -31,7 +33,6 @@ PYREX_DESC=	Use code generated by Pyrex 
 
 OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MPYREX}
@@ -42,27 +43,27 @@ post-patch:
 	@${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/setup.py
 
 post-install:
-	@${FIND} ${PYTHONPREFIX_SITELIBDIR}/tables ! -type d | \
-		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
-	@${FIND} ${PYTHONPREFIX_SITELIBDIR}/tables -type d | ${SORT} -r | \
-		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+	@${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tables ! -type d | \
+		${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
+	@${FIND} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/tables -type d | ${SORT} -r | \
+		${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
 
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${DISTDIR}/pytablesmanual-${PORTVERSION}.pdf ${DOCSDIR}
-	${ECHO} '${DOCSDIR}/pytablesmanual-${PORTVERSION}.pdf' | ${SED} 's,^${PREFIX}/,,' \
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${DISTDIR}/pytablesmanual-${PORTVERSION}.pdf ${STAGEDIR}${DOCSDIR}
+	${ECHO} '${STAGEDIR}${DOCSDIR}/pytablesmanual-${PORTVERSION}.pdf' | ${SED} 's,^${STAGEDIR}${PREFIX}/,,' \
 		 >> ${TMPPLIST}
-	${ECHO} '${DOCSDIR}' | ${SED} 's,^${PREFIX}/,@dirrm ,' \
+	${ECHO} '${STAGEDIR}${DOCSDIR}' | ${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' \
 		>> ${TMPPLIST}
 .endif
 
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/*.py ${EXAMPLESDIR}
-	@${FIND} ${EXAMPLESDIR} ! -type d | \
-		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
-	@${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \
-		${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/*.py ${STAGEDIR}${EXAMPLESDIR}
+	@${FIND} ${STAGEDIR}${EXAMPLESDIR} ! -type d | \
+		${SED} 's,^${STAGEDIR}${PREFIX}/,,' >> ${TMPPLIST}
+	@${FIND} ${STAGEDIR}${EXAMPLESDIR} -type d | ${SORT} -r | \
+		${SED} 's,^${STAGEDIR}${PREFIX}/,@dirrm ,' >> ${TMPPLIST}
 .endif
 
 .include <bsd.port.mk>



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