Remove Perl core modules

- Add BUILD_DEPENDS
- Add LICENSE
- Add NO_ARCH
- Regenerate patch file with makepatch:
- Bump PORTREVISION for dependency change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-06-30 22:13:20 +00:00
parent f02458dc78
commit 777eab4f3f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=444786
2 changed files with 11 additions and 7 deletions

View File

@ -3,17 +3,21 @@
PORTNAME= mtop
PORTVERSION= 0.6.6
PORTREVISION= 4
PORTREVISION= 5
CATEGORIES= databases
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= MySQL Monitoring Tool
RUN_DEPENDS= p5-Curses>=0:devel/p5-Curses \
p5-DBD-mysql>=0:databases/p5-DBD-mysql \
p5-Net>=0:net/p5-Net
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= p5-Curses>=0:devel/p5-Curses \
p5-DBD-mysql>=0:databases/p5-DBD-mysql
RUN_DEPENDS:= ${BUILD_DEPENDS}
NO_ARCH= yes
USES= perl5
USE_PERL5= configure

View File

@ -1,6 +1,6 @@
--- mtop.PL.orig 2004-09-12 22:22:03.000000000 +0000
+++ mtop.PL 2008-10-04 13:26:58.000000000 +0000
@@ -1253,7 +1253,7 @@
--- mtop.PL.orig 2004-09-12 22:22:03 UTC
+++ mtop.PL
@@ -1253,7 +1253,7 @@ sub refresh_screen {
$data =~ s/\.$DOMAIN//o if $col eq "Host";
if ($col eq "Info") {
$data = strip_comments($data);