Use staging
This commit is contained in:
parent
2d5b2cc669
commit
0d55bb5a7d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=360230
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user