openbsd-ports/databases/percona-toolkit/Makefile
2012-03-08 14:27:17 +00:00

36 lines
796 B
Makefile

# $OpenBSD: Makefile,v 1.2 2012/03/08 14:27:17 giovanni Exp $
COMMENT = MySQL Percona tools
V = 2.0.4
DISTNAME = percona-toolkit-${V}
EPOCH = 0
CATEGORIES = databases perl5
HOMEPAGE = http://www.percona.com/software/percona-toolkit/
MAINTAINER = Giovanni Bechis <giovanni@openbsd.org>
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = http://www.percona.com/redir/downloads/percona-toolkit/${V}/
RUN_DEPENDS = databases/p5-DBD-mysql>=3.0 \
devel/p5-Term-ReadKey \
shells/bash \
sysutils/flock \
sysutils/lsof
CONFIGURE_STYLE = perl
pre-configure:
${SUBST_CMD} ${WRKSRC}/bin/pt-summary
@find ${WRKSRC} \( -name "*.orig" -or -name "*.beforesubst" \) \
-exec rm -f {} \;
.include <bsd.port.mk>