diff options
-rw-r--r-- | math/lrng/Makefile | 19 | ||||
-rw-r--r-- | math/sfft/Makefile | 9 |
2 files changed, 13 insertions, 15 deletions
diff --git a/math/lrng/Makefile b/math/lrng/Makefile index c090b9fdfdbe..b69be81cdd28 100644 --- a/math/lrng/Makefile +++ b/math/lrng/Makefile @@ -20,11 +20,11 @@ COMMENT= Uniform random number generators of P. L'Ecuyer and his colleagues 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 diff --git a/math/sfft/Makefile b/math/sfft/Makefile index 5a8cc1de5880..9adbdc66a01b 100644 --- a/math/sfft/Makefile +++ b/math/sfft/Makefile @@ -41,7 +41,6 @@ SRCS= common.cc computefourier-1.0-2.0.cc \ 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> |