Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 2014 17:28:30 +0000 (UTC)
From:      Brendan Fabeny <bf@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r360230 - in head/math: lrng sfft
Message-ID:  <201407021728.s62HSUDM083500@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bf
Date: Wed Jul  2 17:28:30 2014
New Revision: 360230
URL: http://svnweb.freebsd.org/changeset/ports/360230
QAT: https://qat.redports.org/buildarchive/r360230/

Log:
  Use staging

Modified:
  head/math/lrng/Makefile
  head/math/sfft/Makefile

Modified: head/math/lrng/Makefile
==============================================================================
--- head/math/lrng/Makefile	Wed Jul  2 17:24:15 2014	(r360229)
+++ head/math/lrng/Makefile	Wed Jul  2 17:28:30 2014	(r360230)
@@ -20,11 +20,11 @@ COMMENT=	Uniform random number generator
 LICENSE=	GPLv3
 
 CLEANFILES=	${SRCS}
-LIB=	${PORTNAME}
+LIB=		${PORTNAME}
 LIBDIR =	${PREFIX}/lib
 MAKE_ENV+=	CLEANFILES="${CLEANFILES}" \
-	LIB="${LIB}" LIBDIR="${LIBDIR}" SHLIB_MAJOR="${SHLIB_MAJOR}" \
-	SRCS="${SRCS}" SRCCONF="${SRCCONF}"
+		LIB="${LIB}" LIBDIR="${LIBDIR}" SHLIB_MAJOR="${SHLIB_MAJOR}" \
+		SRCS="${SRCS}" SRCCONF="${SRCCONF}"
 NO_WRKSUBDIR=	yes
 OPTIONS_DEFINE=	PROFILE
 PLIST_DIRS=	include/${PORTNAME}
@@ -36,7 +36,6 @@ SRCCONF=	/dev/null
 SRCS=	${DISTFILES:M*.c\:1:Nex1.c\:1:S|:1$||}
 USE_LDCONFIG=	yes
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MDOCS} || make(makesum)
@@ -69,15 +68,15 @@ post-extract:
 	@${ECHO_CMD} ".include <bsd.lib.mk>" > ${WRKSRC}/Makefile
 
 post-install:
-	@${MKDIR} ${PREFIX}/include/${PORTNAME}
-	@${INSTALL_DATA} ${WRKSRC}/*.h ${PREFIX}/include/${PORTNAME}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/include/${PORTNAME}
+	@${INSTALL_DATA} ${WRKSRC}/*.h ${STAGEDIR}${PREFIX}/include/${PORTNAME}
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@(cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR})
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@(cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR})
 .endif
 .if ${PORT_OPTIONS:MEXAMPLES}
-	@${MKDIR} ${EXAMPLESDIR}
-	@(cd ${WRKSRC}; ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR})
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	@(cd ${WRKSRC}; ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR})
 .endif
 
 check regression-test test: build

Modified: head/math/sfft/Makefile
==============================================================================
--- head/math/sfft/Makefile	Wed Jul  2 17:24:15 2014	(r360229)
+++ head/math/sfft/Makefile	Wed Jul  2 17:28:30 2014	(r360230)
@@ -41,7 +41,6 @@ SRCS=	common.cc computefourier-1.0-2.0.c
 	computefourier-3.0.cc fftw.cc filters.cc parameters.cc \
 	sfft.cc simulation.cc timer.cc utils.cc
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if !${ARCH:Mamd64} && !${MACHINE_CPU:Msse2}
@@ -115,11 +114,11 @@ check regression-test test: build
 	done ; done
 
 post-install:
-	@${MKDIR} ${PREFIX}/${HDIR}
-	@cd ${BUILD_WRKSRC}; ${INSTALL_DATA} ${HEADERS} ${PREFIX}/${HDIR}
+	@${MKDIR} ${STAGEDIR}${PREFIX}/${HDIR}
+	@cd ${BUILD_WRKSRC}; ${INSTALL_DATA} ${HEADERS} ${STAGEDIR}${PREFIX}/${HDIR}
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	@${INSTALL_DATA} ${_DISTDIR}/${PORTDOCS} ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	@${INSTALL_DATA} ${_DISTDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
 .endif
 
 .include <bsd.port.mk>



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