Bernard Spil a8e7b5f4b6 databases/mytop: Adopt port and fix conflicts
* The MariaDB ports have shipped a mytop for a long time. This was
   commented out due to earlier conflicts. These changes use the
   packaged mytop for MariaDB ports whilst providing the port for
   MySQL versions.

Reported by:	till php net
PR:		266630
2024-11-10 14:34:56 +01:00

31 lines
527 B
Makefile

PORTNAME= mytop
PORTVERSION= 1.7
PORTREVISION= 2
CATEGORIES= databases
MAINTAINER= brnrd@FreeBSD.org
COMMENT= Top clone for MySQL
WWW= https://jeremy.zawodny.com/mysql/mytop/
LICENSE= GPLv2
CONFLICTS_INSTALL= mariadb*-client
RUN_DEPENDS= ${DBD_MYSQL} \
p5-DBI>=1.13:databases/p5-DBI \
p5-Term-ReadKey>=2.10:devel/p5-Term-ReadKey
USE_GITHUB= yes
GH_ACCOUNT= jzawodn
GH_TAGNAME= 437f2ef
NO_ARCH= yes
USES+= mysql perl5
USE_PERL5= configure
PLIST_FILES= bin/mytop \
${SITE_MAN1}/mytop.1.gz
.include <bsd.port.mk>