Import reportmagic 2.13l; submitted by Sam Smith <s@msmith.net>.
This program is an add-on for Analog, which produces nice looking reports from the analysis of your logfiles. It does not require Analog to be installed, merely the output from analog to be available
This commit is contained in:
parent
1deca4e55f
commit
b2aa01ab84
36
www/reportmagic/Makefile
Normal file
36
www/reportmagic/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2002/02/27 01:01:57 naddy Exp $
|
||||
|
||||
COMMENT= "make pretty graphs from Analog logfiles"
|
||||
|
||||
DISTNAME= rmagic-2.13
|
||||
CATEGORIES= www
|
||||
NEED_VERSION= 1.504
|
||||
|
||||
HOMEPAGE= http://www.reportmagic.org/
|
||||
|
||||
MAINTAINER= Sam Smith <s@msmith.net>
|
||||
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE} \
|
||||
http://www.reportmagic.de/ \
|
||||
http://www.reportmagic.org.uk/ \
|
||||
http://be.reportmagic.org/ \
|
||||
http://au.reportmagic.org/
|
||||
|
||||
RUN_DEPENDS= ::graphics/p5-GD-Graph3d \
|
||||
::www/p5-HTML-Parser \
|
||||
::devel/p5-Config-IniFiles
|
||||
|
||||
NO_BUILD= Yes
|
||||
NO_REGRESS= Yes
|
||||
|
||||
do-install:
|
||||
@perl -i -pe "s:%%PREFIX%%:${PREFIX}/share/reportmagic/:g" \
|
||||
${WRKSRC}/rmagic.pl
|
||||
cd ${WRKSRC}; ${WRKSRC}/Install.PL -no_modules
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/reportmagic/distinfo
Normal file
3
www/reportmagic/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (rmagic-2.13.tar.gz) = 19e90fa82bb367eaa38390160c853bed
|
||||
RMD160 (rmagic-2.13.tar.gz) = 31951c896758d73047b92ea7e7a7d00dd5c56a74
|
||||
SHA1 (rmagic-2.13.tar.gz) = c51a63676ea104b96e978e3358eee23c843c586a
|
70
www/reportmagic/patches/patch-Install_PL
Normal file
70
www/reportmagic/patches/patch-Install_PL
Normal file
@ -0,0 +1,70 @@
|
||||
$OpenBSD: patch-Install_PL,v 1.1.1.1 2002/02/27 01:01:57 naddy Exp $
|
||||
--- Install.PL.orig Fri Jan 18 10:13:00 2002
|
||||
+++ Install.PL Wed Feb 27 01:50:29 2002
|
||||
@@ -43,7 +43,7 @@ use strict;
|
||||
use File::Copy;
|
||||
use File::Path;
|
||||
use Cwd;
|
||||
-use vars qw( $DEST $DOC $FILE_MODE $EXEC_MODE );
|
||||
+use vars qw( $DEST $PERL_DEST $BIN_DEST $DOC $FILE_MODE $EXEC_MODE );
|
||||
|
||||
#
|
||||
# The following configurations may be made to modify the install
|
||||
@@ -56,13 +56,15 @@ use vars qw( $DEST $DOC $FILE_MODE $EXEC
|
||||
# example to use the version number in your path.
|
||||
# Make sure this remains in single quotes.
|
||||
#
|
||||
-$DEST = '/usr/local/bin/rmagic-$(VERSION)/';
|
||||
+$DEST = "$ENV{'PREFIX'}/share/reportmagic/";
|
||||
+$BIN_DEST = "$ENV{'PREFIX'}/bin/";
|
||||
+$PERL_DEST = "$ENV{'PREFIX'}/libdata/perl5/site_perl/";
|
||||
|
||||
#
|
||||
# Where do you want documentation to be installed?
|
||||
# You can use string concatenation, as in this example,
|
||||
# to install the docs below the program.
|
||||
-$DOC = $DEST . 'docs/';
|
||||
+$DOC = "$ENV{'PREFIX'}/share/doc/reportmagic/";
|
||||
|
||||
|
||||
#
|
||||
@@ -226,10 +228,10 @@ installing the necessary Perl modules no
|
||||
#
|
||||
unless( defined $args{only_modules} || $err_cnt ) {
|
||||
chdir( $cwd );
|
||||
- print "Installing Report Magic files in $DEST.\n";
|
||||
+ print "Installing Report Magic files in $ENV{'TRUEPREFIX'}.\n";
|
||||
# make sure $DEST exisits
|
||||
if( !-d $DEST ) {
|
||||
- print "... Path does not exits, making it.\n";
|
||||
+# print "... Path does not exits, making it.\n";
|
||||
mkpath( $DEST );
|
||||
} # end if
|
||||
&install( $FILE_MODE, 'README', $DEST ) || $err_cnt++;
|
||||
@@ -243,14 +245,14 @@ unless( defined $args{only_modules} || $
|
||||
print "... Installing Report Magic language files.\n";
|
||||
&install( $FILE_MODE, 'lang/', $DEST.'lang/' ) || $err_cnt++;
|
||||
print "... Installing Report Magic program files.\n";
|
||||
- &install( $EXEC_MODE, 'rmagic.pl', $DEST ) || $err_cnt++;
|
||||
- &install( $FILE_MODE, 'wadg/', $DEST.'wadg/' ) || $err_cnt++;
|
||||
+ &install( $EXEC_MODE, 'rmagic.pl', $BIN_DEST.'rmagic' ) || $err_cnt++;
|
||||
+ &install( $FILE_MODE, 'wadg/', $PERL_DEST.'wadg/' ) || $err_cnt++;
|
||||
|
||||
#
|
||||
# Now install Report Magic Documentation
|
||||
#
|
||||
|
||||
- print "Installing documentation in $DOC.\n";
|
||||
+ print "Installing documentation.\n";
|
||||
&install( $FILE_MODE, 'docs/', $DOC ) || $err_cnt++;
|
||||
&install( $FILE_MODE, 'docs/images/', $DOC.'images/' ) || $err_cnt++;
|
||||
|
||||
@@ -265,8 +267,6 @@ if( $err_cnt ) {
|
||||
} else {
|
||||
$DOC = 'docs/' if defined $args{only_modules};
|
||||
print "\nInstallation complete.\n";
|
||||
- print "For help on using Report Magic see $DOC"."index.html.\n";
|
||||
- print "You must agree to the license agreement at $DOC"."license.html before using Report Magic.\n";
|
||||
} # end if
|
||||
|
||||
|
17
www/reportmagic/patches/patch-rmagic_pl
Normal file
17
www/reportmagic/patches/patch-rmagic_pl
Normal file
@ -0,0 +1,17 @@
|
||||
$OpenBSD: patch-rmagic_pl,v 1.1.1.1 2002/02/27 01:01:57 naddy Exp $
|
||||
--- rmagic.pl.orig Fri Jan 18 10:13:00 2002
|
||||
+++ rmagic.pl Wed Feb 27 01:49:51 2002
|
||||
@@ -60,10 +60,11 @@ use File::Path;
|
||||
use File::Spec;
|
||||
|
||||
# - Find execution directory
|
||||
-use FindBin qw($RealBin);
|
||||
+#use FindBin qw($RealBin);
|
||||
+my $RealBin= '%%PREFIX%%/share/reportmagic/';
|
||||
|
||||
# - Add execution directory to lib path, resolving symbolic refs
|
||||
-use lib $RealBin;
|
||||
+use lib '%%PREFIX%%/share/reportmagic/';
|
||||
|
||||
# - Read INI files
|
||||
use Config::IniFiles;
|
7
www/reportmagic/pkg/DESCR
Normal file
7
www/reportmagic/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
This program is an add-on for Analog, which produces nice looking
|
||||
reports from the analysis of your logfiles. It does not require
|
||||
Analog to be installed, merely the output from analog to be available
|
||||
|
||||
For more details, see Readme.html in ${PREFIX}/share/doc/reportmagic/ .
|
||||
|
||||
WWW: ${HOMEPAGE}
|
125
www/reportmagic/pkg/PLIST
Normal file
125
www/reportmagic/pkg/PLIST
Normal file
@ -0,0 +1,125 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/02/27 01:01:57 naddy Exp $
|
||||
bin/rmagic
|
||||
libdata/perl5/site_perl/wadg/Errors.pm
|
||||
libdata/perl5/site_perl/wadg/Formatter.pm
|
||||
libdata/perl5/site_perl/wadg/HTMLWriter.pm
|
||||
libdata/perl5/site_perl/wadg/rm/CROParser.pm
|
||||
libdata/perl5/site_perl/wadg/rm/Graphs.pm
|
||||
libdata/perl5/site_perl/wadg/rm/Report.pm
|
||||
libdata/perl5/site_perl/wadg/rm/Report/GeneralSummary.pm
|
||||
libdata/perl5/site_perl/wadg/rm/Report/HierarchicalReport.pm
|
||||
libdata/perl5/site_perl/wadg/rm/Report/QuickSummary.pm
|
||||
libdata/perl5/site_perl/wadg/rm/Report/RangeReport.pm
|
||||
libdata/perl5/site_perl/wadg/rm/Report/TimeReport.pm
|
||||
libdata/perl5/site_perl/wadg/rm/Report/TimeSummary.pm
|
||||
libdata/perl5/site_perl/wadg/rm/Settings.pm
|
||||
share/doc/reportmagic/FTL.txt
|
||||
share/doc/reportmagic/advanced.html
|
||||
share/doc/reportmagic/changes.html
|
||||
share/doc/reportmagic/changes0.html
|
||||
share/doc/reportmagic/changes1.html
|
||||
share/doc/reportmagic/columns.html
|
||||
share/doc/reportmagic/commands.html
|
||||
share/doc/reportmagic/config.html
|
||||
share/doc/reportmagic/datefmts.html
|
||||
share/doc/reportmagic/faq.html
|
||||
share/doc/reportmagic/filefmts.html
|
||||
share/doc/reportmagic/images/logo.gif
|
||||
share/doc/reportmagic/images/title.gif
|
||||
share/doc/reportmagic/index.html
|
||||
share/doc/reportmagic/inst_mac.html
|
||||
share/doc/reportmagic/inst_osx.html
|
||||
share/doc/reportmagic/inst_src.html
|
||||
share/doc/reportmagic/inst_win.html
|
||||
share/doc/reportmagic/jpeg.txt
|
||||
share/doc/reportmagic/libgd.txt
|
||||
share/doc/reportmagic/libpng.txt
|
||||
share/doc/reportmagic/license.html
|
||||
share/doc/reportmagic/map.html
|
||||
share/doc/reportmagic/overview.html
|
||||
share/doc/reportmagic/repconf.html
|
||||
share/doc/reportmagic/reports.html
|
||||
share/doc/reportmagic/samples.html
|
||||
share/doc/reportmagic/siteindex.html
|
||||
share/doc/reportmagic/thanks.html
|
||||
share/doc/reportmagic/whatsnew.html
|
||||
share/doc/reportmagic/zlib.txt
|
||||
share/reportmagic/README
|
||||
share/reportmagic/analogo.gif
|
||||
share/reportmagic/lang/INDEX.txt
|
||||
share/reportmagic/lang/ca/cdata.ini
|
||||
share/reportmagic/lang/ca/lang.ini
|
||||
share/reportmagic/lang/ca/rdata.ini
|
||||
share/reportmagic/lang/ca/rmagic.ini
|
||||
share/reportmagic/lang/de/cdata.ini
|
||||
share/reportmagic/lang/de/lang.ini
|
||||
share/reportmagic/lang/de/rdata.ini
|
||||
share/reportmagic/lang/de/rmagic.ini
|
||||
share/reportmagic/lang/en/cdata.ini
|
||||
share/reportmagic/lang/en/lang.ini
|
||||
share/reportmagic/lang/en/rdata.ini
|
||||
share/reportmagic/lang/en/rmagic.ini
|
||||
share/reportmagic/lang/es/cdata.ini
|
||||
share/reportmagic/lang/es/lang.ini
|
||||
share/reportmagic/lang/es/rdata.ini
|
||||
share/reportmagic/lang/es/rmagic.ini
|
||||
share/reportmagic/lang/fr/cdata.ini
|
||||
share/reportmagic/lang/fr/lang.ini
|
||||
share/reportmagic/lang/fr/rdata.ini
|
||||
share/reportmagic/lang/fr/rmagic.ini
|
||||
share/reportmagic/lang/hu/cdata.ini
|
||||
share/reportmagic/lang/hu/lang.ini
|
||||
share/reportmagic/lang/hu/rdata.ini
|
||||
share/reportmagic/lang/hu/rmagic.ini
|
||||
share/reportmagic/lang/it/cdata.ini
|
||||
share/reportmagic/lang/it/lang.ini
|
||||
share/reportmagic/lang/it/rdata.ini
|
||||
share/reportmagic/lang/it/rmagic.ini
|
||||
share/reportmagic/lang/pl/cdata.ini
|
||||
share/reportmagic/lang/pl/lang.ini
|
||||
share/reportmagic/lang/pl/rdata.ini
|
||||
share/reportmagic/lang/pt-BR/cdata.ini
|
||||
share/reportmagic/lang/pt-BR/lang.ini
|
||||
share/reportmagic/lang/pt-BR/rdata.ini
|
||||
share/reportmagic/lang/pt/cdata.ini
|
||||
share/reportmagic/lang/pt/lang.ini
|
||||
share/reportmagic/lang/pt/rdata.ini
|
||||
share/reportmagic/lang/ru/cdata.ini
|
||||
share/reportmagic/lang/sv/cdata.ini
|
||||
share/reportmagic/lang/sv/lang.ini
|
||||
share/reportmagic/lang/sv/rdata.ini
|
||||
share/reportmagic/lang/sv/rmagic.ini
|
||||
share/reportmagic/rmagic.sample
|
||||
share/reportmagic/rmlogo.gif
|
||||
share/reportmagic/sample.dat
|
||||
share/reportmagic/samples/corpimg.ini
|
||||
share/reportmagic/samples/fineprint.html
|
||||
share/reportmagic/samples/images/back.jpg
|
||||
share/reportmagic/samples/images/bullet.gif
|
||||
share/reportmagic/samples/images/bullet2.gif
|
||||
share/reportmagic/samples/images/layout.gif
|
||||
share/reportmagic/samples/manyfile.ini
|
||||
share/reportmagic/samples/noframes.ini
|
||||
share/reportmagic/samples/onefile.ini
|
||||
share/reportmagic/samples/report.dat
|
||||
@dirrm share/reportmagic/samples/images
|
||||
@dirrm share/reportmagic/samples
|
||||
@dirrm share/reportmagic/lang/sv
|
||||
@dirrm share/reportmagic/lang/ru
|
||||
@dirrm share/reportmagic/lang/pt-BR
|
||||
@dirrm share/reportmagic/lang/pt
|
||||
@dirrm share/reportmagic/lang/pl
|
||||
@dirrm share/reportmagic/lang/it
|
||||
@dirrm share/reportmagic/lang/hu
|
||||
@dirrm share/reportmagic/lang/fr
|
||||
@dirrm share/reportmagic/lang/es
|
||||
@dirrm share/reportmagic/lang/en
|
||||
@dirrm share/reportmagic/lang/de
|
||||
@dirrm share/reportmagic/lang/ca
|
||||
@dirrm share/reportmagic/lang
|
||||
@dirrm share/reportmagic
|
||||
@dirrm share/doc/reportmagic/images
|
||||
@dirrm share/doc/reportmagic
|
||||
@dirrm libdata/perl5/site_perl/wadg/rm/Report
|
||||
@dirrm libdata/perl5/site_perl/wadg/rm
|
||||
@dirrm libdata/perl5/site_perl/wadg
|
Loading…
Reference in New Issue
Block a user