Changeset View
Changeset View
Standalone View
Standalone View
Makefile
Context not available. | |||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= sysbench | PORTNAME= sysbench | ||||
PORTVERSION= 0.4.12 | PORTVERSION= 0.5 | ||||
PORTREVISION= 3 | |||||
CATEGORIES= benchmarks databases | CATEGORIES= benchmarks databases | ||||
MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ | |||||
# Project gone from sourceforge, both site and downloads | |||||
# Something exists on launchpad (https://code.launchpad.net/sysbench) | |||||
# maybe the port swould be switched there, however there are no | |||||
# direct downloads | |||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= ports@FreeBSD.org | ||||
COMMENT= Modular, cross-platform, and multi-threaded benchmark tool | COMMENT= Modular, cross-platform, and multi-threaded benchmark tool | ||||
Context not available. | |||||
LICENSE= GPLv2 | LICENSE= GPLv2 | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
USES= autoreconf libtool | USE_GITHUB= yes | ||||
GH_ACCOUNT= akopytov | |||||
GH_TAGNAME= a099b20 | |||||
mat: This is the default and should be removed. | |||||
Not Done Inline ActionsGH_TAGNAME can be removed if you update it to 1.0.7. sunpoet: GH_TAGNAME can be removed if you update it to 1.0.7. | |||||
USES= autoreconf libtool lua | |||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
PLIST_FILES= bin/sysbench | |||||
PORTDOCS= manual.html | |||||
OPTIONS_DEFINE= LARGEFILE MYSQL PGSQL DOCS | OPTIONS_DEFINE= LARGEFILE MYSQL PGSQL DOCS | ||||
OPTIONS_DEFAULT= LARGEFILE MYSQL | OPTIONS_DEFAULT= LARGEFILE MYSQL | ||||
Context not available. | |||||
LARGEFILE_CONFIGURE_ENABLE= largefile | LARGEFILE_CONFIGURE_ENABLE= largefile | ||||
MYSQL_CONFIGURE_ON= --with-mysql | MYSQL_CONFIGURE_ON= --with-mysql | ||||
MYSQL_CONFIGURE_OFF= --with-mysql=no | MYSQL_CONFIGURE_OFF= --without-mysql | ||||
MYSQL_USE= MYSQL=yes | MYSQL_USES= mysql | ||||
PGSQL_CONFIGURE_ON= --with-pgsql | PGSQL_CONFIGURE_ON= --with-pgsql | ||||
PGSQL_CONFIGURE_OFF= --with-pgsql=no | PGSQL_USES= pgsql | ||||
PGSQL_USES= pgsql | |||||
post-configure: | |||||
@${REINPLACE_CMD} -e 's/^program_transform_name/#/' \ | |||||
Not Done Inline ActionsRemove && cd - ? Also, isn't autogen.sh doing about the same thing as USES=autoreconf ? mat: Remove `&& cd -` ?
Also, isn't autogen.sh doing about the same thing as USES=autoreconf ? | |||||
${WRKSRC}/Makefile ${WRKSRC}/sysbench/Makefile | |||||
pre-install: | |||||
${MKDIR} ${STAGEDIR}${DATADIR}/tests | |||||
(cd ${WRKSRC}/sysbench/tests && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/tests) | |||||
Not Done Inline ActionsDoes this have to be pre-install ? if it is not needed for do-install to work, it should be post-install. mat: Does this have to be `pre-install` ? if it is not needed for `do-install` to work, it should be… | |||||
.include <bsd.port.mk> | .include <bsd.port.mk> | ||||
Context not available. | |||||
Not Done Inline ActionsDon't use cp -r, use the COPYTREE_* macros. https://www.freebsd.org/doc/en/books/porters-handbook/install.html mat: Don't use cp -r, use the `COPYTREE_*` macros.
https://www.freebsd.org/doc/en/books/porters… |
This is the default and should be removed.