Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Jan 2014 18:34:42 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r340333 - head/math/py-nzmath
Message-ID:  <201401191834.s0JIYgAC042176@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Jan 19 18:34:41 2014
New Revision: 340333
URL: http://svnweb.freebsd.org/changeset/ports/340333
QAT: https://qat.redports.org/buildarchive/r340333/

Log:
  Support stage
  Get rid of NOPORTDATA

Modified:
  head/math/py-nzmath/Makefile

Modified: head/math/py-nzmath/Makefile
==============================================================================
--- head/math/py-nzmath/Makefile	Sun Jan 19 18:32:38 2014	(r340332)
+++ head/math/py-nzmath/Makefile	Sun Jan 19 18:34:41 2014	(r340333)
@@ -15,16 +15,10 @@ USE_PYTHON=		yes
 USE_PYDISTUTILS=	yes
 PYDISTUTILS_PKGNAME=	NZMATH
 
-NO_STAGE=	yes
 post-install:
-.if !defined(NOPORTDATA)
-	${MKDIR} ${DATADIR}
-	${CP} ${WRKSRC}/data/discriminant.csv ${DATADIR}
-.endif
-
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
-	${CP} ${WRKSRC}/manual/*.pdf ${DOCSDIR}
-.endif
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/data/discriminant.csv ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/manual/*.pdf ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>



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