svn commit: r343389 - head/benchmarks/bonnie

Emanuel Haupt ehaupt at FreeBSD.org
Sat Feb 8 21:15:29 UTC 2014


Author: ehaupt
Date: Sat Feb  8 21:15:28 2014
New Revision: 343389
URL: http://svnweb.freebsd.org/changeset/ports/343389
QAT: https://qat.redports.org/buildarchive/r343389/

Log:
  - Support staging
  - Add STATIC option
    (inspired by commented out CFLAGS+=-static)

Modified:
  head/benchmarks/bonnie/Makefile

Modified: head/benchmarks/bonnie/Makefile
==============================================================================
--- head/benchmarks/bonnie/Makefile	Sat Feb  8 21:10:00 2014	(r343388)
+++ head/benchmarks/bonnie/Makefile	Sat Feb  8 21:15:28 2014	(r343389)
@@ -13,15 +13,18 @@ MAINTAINER=	kuriyama at 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>


More information about the svn-ports-head mailing list