freebsd-ports/www/reportmagic/files/patch-aa
Norikatsu Shigemura 941e38f63a Update to 2.21.
PR:		ports/50610
Submitted by:	Kevin Golding <kevin@caomhin.demon.co.uk>
Approved by:	maintainer timeout (1 week)
2003-04-11 15:41:07 +00:00

34 lines
994 B
Text

--- Install.PL.orig Wed Apr 2 09:21:00 2003
+++ Install.PL Fri Apr 4 19:59:41 2003
@@ -59,13 +59,13 @@
# 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'}/reportmagic/";
#
# 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/";
#
@@ -269,7 +269,6 @@
$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
@@ -305,7 +304,6 @@
chmod( $mode, $dest );
} else {
print "\t***Error: Can not copy $src to $dest. $!.\n";
- $rc = 0;
} # end if
} # end if
return $rc;