mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support staging
This commit is contained in:
parent
5c366a2f30
commit
2cbbf70e4b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343439
@ -20,8 +20,7 @@ MAKE_ARGS= ${MAKE_ENV}
|
||||
ALL_TARGET= freebsd
|
||||
MAKE_JOBS_UNSAFE= yes
|
||||
|
||||
MAN1= iozone.1
|
||||
PLIST_FILES= bin/iozone
|
||||
PLIST_FILES= bin/iozone man/man1/iozone.1.gz
|
||||
|
||||
OPTIONS_DEFINE= SSH THREADS
|
||||
OPTIONS_DEFAULT=SSH THREADS
|
||||
@ -29,7 +28,6 @@ OPTIONS_DEFAULT=SSH THREADS
|
||||
SSH_DESC= Use ssh in distributed measurement
|
||||
THREADS_DESC= Enable threading (uses pthreads)
|
||||
|
||||
NO_STAGE= yes
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MTHREADS}
|
||||
@ -46,7 +44,8 @@ post-patch:
|
||||
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/iozone.1 ${MAN1PREFIX}/man/man1
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/iozone ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/docs/iozone.1 \
|
||||
${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user