mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Support staging
- Add STATIC option (inspired by commented out CFLAGS+=-static)
This commit is contained in:
parent
8684843b84
commit
2fab0630c9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=343389
@ -13,15 +13,18 @@ MAINTAINER= kuriyama@FreeBSD.org
|
||||
COMMENT= Performance Test of Filesystem I/O
|
||||
|
||||
NO_WRKSUBDIR= yes
|
||||
#CFLAGS+= -static
|
||||
MAKE_ARGS+= -e CFLAGS="${CFLAGS}"
|
||||
ALL_TARGET= bsd
|
||||
MAN1= bonnie.1
|
||||
PLIST_FILES= bin/bonnie
|
||||
PLIST_FILES= bin/bonnie man/man1/bonnie.1.gz
|
||||
|
||||
OPTIONS_DEFINE= STATIC
|
||||
|
||||
STATIC_CFLAGS+= -static
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
NO_STAGE= yes
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/Bonnie ${PREFIX}/bin/bonnie
|
||||
${INSTALL_MAN} ${FILESDIR}/bonnie.1 ${PREFIX}/man/man1
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/Bonnie ${STAGEDIR}${PREFIX}/bin/bonnie
|
||||
${INSTALL_MAN} ${FILESDIR}/bonnie.1 ${STAGEDIR}${PREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user