diff options
-rw-r--r-- | databases/Makefile | 1 | ||||
-rw-r--r-- | databases/pgtop/Makefile | 27 | ||||
-rw-r--r-- | databases/pgtop/distinfo | 3 | ||||
-rw-r--r-- | databases/pgtop/pkg-descr | 7 | ||||
-rw-r--r-- | databases/pgtop/pkg-plist | 6 |
5 files changed, 44 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile index 687e79a09de9..e1e02d9f5227 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -302,6 +302,7 @@ SUBDIR += pgbash SUBDIR += pgcluster SUBDIR += pgpool + SUBDIR += pgtop SUBDIR += pgworksheet SUBDIR += php-sqlrelay SUBDIR += php4-dba diff --git a/databases/pgtop/Makefile b/databases/pgtop/Makefile new file mode 100644 index 000000000000..f30750966d05 --- /dev/null +++ b/databases/pgtop/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: pgtop +# Date created: 30 May 2006 +# Whom: Bartek Rutkowski <r@robakdesign.com> +# +# $FreeBSD$ +# + +PORTNAME= pgtop +PORTVERSION= 0.04 +CATEGORIES= databases +MASTER_SITES= ${MASTER_SITE_PERL_CPAN} +MASTER_SITE_SUBDIR= ../../authors/id/C/CO/COSIMO + +MAINTAINER= r@robakdesign.com +COMMENT= Display PostgreSQL performance info like top(1) + +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \ + ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg \ + ${SITE_PERL}/${PERL_ARCH}/Bundle/DBI.pm:${PORTSDIR}/databases/p5-DBI \ + ${SITE_PERL}/Term/ANSIColor.pm:${PORTSDIR}/devel/p5-Term-ANSIColor \ + ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long + +PERL_CONFIGURE= yes + +MAN1= pgtop.1 + +.include <bsd.port.mk> diff --git a/databases/pgtop/distinfo b/databases/pgtop/distinfo new file mode 100644 index 000000000000..74169d06a6fe --- /dev/null +++ b/databases/pgtop/distinfo @@ -0,0 +1,3 @@ +MD5 (pgtop-0.04.tar.gz) = 46847c19737b2c09830bb1c80ca5b2ba +SHA256 (pgtop-0.04.tar.gz) = e4670c2704a7f788e4d1a5b5c048cd0b76e572a3b64b45e0070cff29a268c0da +SIZE (pgtop-0.04.tar.gz) = 18133 diff --git a/databases/pgtop/pkg-descr b/databases/pgtop/pkg-descr new file mode 100644 index 000000000000..3ade5fa23076 --- /dev/null +++ b/databases/pgtop/pkg-descr @@ -0,0 +1,7 @@ +pgtop was inspired by mytop (http://jeremy.zawodny.com/mysql/mytop/), +which in turn was inspired by the system monitoring tool top. +pgtop will connect to a PostgreSQL server and periodically +run queries against the pg_stat* relations and attempt +to summarize the information from them in a useful format. + +WWW: http://search.cpan.org/~cosimo/pgtop-0.04/pgtop diff --git a/databases/pgtop/pkg-plist b/databases/pgtop/pkg-plist new file mode 100644 index 000000000000..37e011ebe33e --- /dev/null +++ b/databases/pgtop/pkg-plist @@ -0,0 +1,6 @@ +bin/pgtop +%%SITE_PERL%%/%%PERL_ARCH%%/auto/pgtop/.packlist +share/nls/POSIX +share/nls/en_US.US-ASCII +@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/pgtop +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto |