ports/68157: [NEW PORT] devel/p5-Unix-Statgrab: Perl extension for collecting information about the machine
Tim Bishop
tim at bishnet.net
Sun Jun 20 22:00:45 UTC 2004
>Number: 68157
>Category: ports
>Synopsis: [NEW PORT] devel/p5-Unix-Statgrab: Perl extension for collecting information about the machine
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Jun 20 22:00:44 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator: Tim Bishop
>Release: FreeBSD 5.2.1-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD pendennis.ukc.ac.uk 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #0: Fri Apr 30 17:57:19 BST 2004
>Description:
"Unix::Statgrab is a wrapper for libstatgrab, as available from
http://www.i-scream.org/libstatgrab/. It is a reasonably portable
attempt to query interesting stats about your computer. It covers
information on the operating system, CPU, memory usage, network
interfaces, hard-disks etc."
WWW: http://search.cpan.org/dist/Unix-Statgrab/
Generated with FreeBSD Port Tools 0.50
>How-To-Repeat:
>Fix:
--- p5-Unix-Statgrab-0.01.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-Unix-Statgrab
# p5-Unix-Statgrab/Makefile
# p5-Unix-Statgrab/distinfo
# p5-Unix-Statgrab/pkg-descr
# p5-Unix-Statgrab/pkg-plist
# p5-Unix-Statgrab/files
# p5-Unix-Statgrab/files/patch-Makefile.PL
#
echo c - p5-Unix-Statgrab
mkdir -p p5-Unix-Statgrab > /dev/null 2>&1
echo x - p5-Unix-Statgrab/Makefile
sed 's/^X//' >p5-Unix-Statgrab/Makefile << 'END-of-p5-Unix-Statgrab/Makefile'
X# New ports collection makefile for: p5-Unix-Statgrab
X# Date created: June 20th, 2004
X# Whom: Tim Bishop <tim at bishnet.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Unix-Statgrab
XPORTVERSION= 0.01
XCATEGORIES= devel perl5
XMASTER_SITES= ${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR= Unix
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= tim at bishnet.net
XCOMMENT= Perl extension for collecting information about the machine
X
XLIB_DEPENDS= statgrab.5:${PORTSDIR}/devel/libstatgrab
X
XUSE_GNOME= pkgconfig
X
XPERL_CONFIGURE= yes
XCONFIGURE_ARGS+= INC="`pkg-config libstatgrab --cflags`" \
X LIBS="`pkg-config libstatgrab --libs`"
X
XMAN3= Unix::Statgrab.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500600
Xpost-patch:
X ${PERL} -i -pe 's/}\(/}->(/' ${WRKSRC}/lib/Unix/Statgrab.pm
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Unix-Statgrab/Makefile
echo x - p5-Unix-Statgrab/distinfo
sed 's/^X//' >p5-Unix-Statgrab/distinfo << 'END-of-p5-Unix-Statgrab/distinfo'
XMD5 (Unix-Statgrab-0.01.tar.gz) = a9af99129244c8bdc73ff447e6059969
XSIZE (Unix-Statgrab-0.01.tar.gz) = 20459
END-of-p5-Unix-Statgrab/distinfo
echo x - p5-Unix-Statgrab/pkg-descr
sed 's/^X//' >p5-Unix-Statgrab/pkg-descr << 'END-of-p5-Unix-Statgrab/pkg-descr'
XUnix::Statgrab is a wrapper for libstatgrab, as available from
Xhttp://www.i-scream.org/libstatgrab/. It is a reasonably portable
Xattempt to query interesting stats about your computer. It covers
Xinformation on the operating system, CPU, memory usage, network
Xinterfaces, hard-disks etc.
X
XWWW: http://search.cpan.org/dist/Unix-Statgrab/
END-of-p5-Unix-Statgrab/pkg-descr
echo x - p5-Unix-Statgrab/pkg-plist
sed 's/^X//' >p5-Unix-Statgrab/pkg-plist << 'END-of-p5-Unix-Statgrab/pkg-plist'
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix/Statgrab/Statgrab.so
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix/Statgrab/Statgrab.bs
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix/Statgrab/autosplit.ix
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix/Statgrab/.packlist
X%%SITE_PERL%%/%%PERL_ARCH%%/Unix/Statgrab.pm
X at dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix/Statgrab
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Unix 2>/dev/null || true
X at unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/Unix 2>/dev/null || true
END-of-p5-Unix-Statgrab/pkg-plist
echo c - p5-Unix-Statgrab/files
mkdir -p p5-Unix-Statgrab/files > /dev/null 2>&1
echo x - p5-Unix-Statgrab/files/patch-Makefile.PL
sed 's/^X//' >p5-Unix-Statgrab/files/patch-Makefile.PL << 'END-of-p5-Unix-Statgrab/files/patch-Makefile.PL'
X--- Makefile.PL.bak Sun Jun 20 22:44:53 2004
X+++ Makefile.PL Sun Jun 20 22:45:05 2004
X@@ -7,7 +7,7 @@
X my %args = map { split /\s*=\s*/ } @ARGV;
X my $LIBS = $args{ LIBS } || "-lstatgrab";
X my $INC = $args{ INC };
X- return 1 if system("$CC check.c $INC $LIBS -o /dev/null 2>/dev/null") == 0;
X+ return 1 if system("$CC check.c $INC $LIBS 2>/dev/null") == 0;
X return 0;
X }
X
END-of-p5-Unix-Statgrab/files/patch-Makefile.PL
exit
--- p5-Unix-Statgrab-0.01.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list