mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-22 00:35:15 +00:00
e6ab3ba661
By request of Gea-Suan Lin <gslin@gslin.org> - reset ports to ports@FreeBSD. Gea-Suan Lin's work is much appreciated. Approved by: portmgr (implicit) (not really, skipping NO_STAGE check)
55 lines
1.1 KiB
Makefile
55 lines
1.1 KiB
Makefile
# Created by: Gea-Suan Lin <gslin@ccca.nctu.edu.tw>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= super-smack
|
|
PORTVERSION= 1.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= benchmarks databases
|
|
MASTER_SITES= http://vegan.net/tony/supersmack/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Benchmarking, stress testing, and load generation tool for Databases
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --with-smacks-dir=${DATADIR}
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
PORTDOCS= README TUTORIAL
|
|
|
|
OPTIONS_MULTI= DB
|
|
OPTIONS_MULTI_DB= MYSQL PGSQL
|
|
OPTIONS_DEFAULT= MYSQL
|
|
|
|
PGSQL_DESC= Enable PostgreSQL support
|
|
MYSQL_DESC= Enable MySQL support
|
|
|
|
NO_STAGE= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MMYSQL}
|
|
USE_MYSQL= yes
|
|
CONFIGURE_ARGS+=--with-mysql \
|
|
--with-mysql-include=${LOCALBASE}/include/mysql \
|
|
--with-mysql-lib=${LOCALBASE}/lib/mysql
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MPGSQL}
|
|
USES+= pgsql
|
|
CONFIGURE_ARGS+=--with-pgsql \
|
|
--with-pgsql-include=${LOCALBASE}/include \
|
|
--with-pgsql-lib=${LOCALBASE}/lib
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
post-install:
|
|
${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|