freebsd-ports/benchmarks/sysbench/Makefile
Bryan Drewery 6910bf819a - Please welcome back Chris Petrik as maintainer of
these ports [1]
- Trim headers
- Remove indefinite article from COMMENT
- Convert tab to space in WWW lines

PR:		ports/175415 [1]
Submitted by:	Chris Petrik <c.petrik.sosa@gmail.com> [1]
Discussed with:	bapt
2013-03-07 03:25:10 +00:00

54 lines
1.1 KiB
Makefile

# Created by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
# $FreeBSD$
PORTNAME= sysbench
PORTVERSION= 0.4.12
PORTREVISION= 1
CATEGORIES= benchmarks databases
MASTER_SITES= SF
MAINTAINER= c.petrik.sosa@gmail.com
COMMENT= Modular, cross-platform, and multi-threaded benchmark tool
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_AUTOTOOLS= libtool
OPTIONS_DEFINE= LARGEFILE MYSQL PGSQL DOCS
OTPIONS_DEFAULT= LARGEFILE MYSQL
LARGEFILE_DESC= Enable Largefile support
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MLARGEFILE}
CONFIGURE_ARGS+= --enable-largefile
.else
CONFIGURE_ARGS+= --disable-largefile
.endif
.if ${PORT_OPTIONS:MMYSQL}
USE_MYSQL= yes
CONFIGURE_ARGS+= --with-mysql
.else
CONFIGURE_ARGS+= --with-mysql=no
.endif
.if ${PORT_OPTIONS:MPOSTGRESQL}
USE_PGSQL= yes
CONFIGURE_ARGS+= --with-pgsql
.else
CONFIGURE_ARGS+= --with-pgsql=no
.endif
post-configure:
@${REINPLACE_CMD} -e 's/^program_transform_name/#/' \
${WRKSRC}/Makefile ${WRKSRC}/sysbench/Makefile
.if empty(PORT_OPTIONS:MDOCS)
post-install:
${RM} ${DOCSDIR}/manual.html
${RMDIR} ${DOCSDIR}
.endif
.include <bsd.port.mk>