Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods
In directory 
sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv6663/10.4/unstable/main/finkinfo/libs/perlmods

Modified Files:
        html-mason-pm.info 
Log Message:
New revision that now works nicely with libapache2-mod-perl2-perl


Index: html-mason-pm.info
===================================================================
RCS file: 
/cvsroot/fink/dists/10.4/unstable/main/finkinfo/libs/perlmods/html-mason-pm.info,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- html-mason-pm.info  15 Nov 2006 23:35:51 -0000      1.3
+++ html-mason-pm.info  22 Nov 2006 21:16:08 -0000      1.4
@@ -1,7 +1,7 @@
 Info2: <<
 Package: html-mason-pm%type_pkg[perl]
 Version: 1.35
-Revision: 1
+Revision: 12
 Architecture: (%type_pkg[perl] = 581) powerpc, (%type_pkg[perl] = 584) powerpc
 Description: Perl-based web site development system
 Type: perl (5.8.1 5.8.4 5.8.6)
@@ -26,6 +26,7 @@
  test-simple-pm%type_pkg[perl],
  module-build-pm%type_pkg[perl]
 <<
+Suggests: libapache2-mod-perl2-perl%type_pkg[perl]
 Conflicts: %N-man
 Replaces: %N-man
 
@@ -54,9 +55,14 @@
 UpdatePOD: true
 DocFiles: Changes CREDITS MANIFEST README UPGRADE
 InstallScript: <<
+       /usr/bin/install -d %i/etc/apache2
+       /usr/bin/install -m 700 -d %i/etc/apache2/mason
        ./Build install
        find %d -name .packlist -exec rm -rf {} \;
 <<
+PostInstScript: <<
+ chown www:admin %p/etc/apache2/mason
+<<
 
 # Additional Data:
 DescDetail: <<
@@ -73,5 +79,24 @@
 facilities, and a HTML/data caching model.  See
 http://www.masonhq.com/ for more information.
 <<
+DescUsage: <<
+ To use html-mason-pm%type_pkg[perl] with apache2 do the following:
+ 
+ fink install libapache2-mod-perl2-perl%type_pkg[perl]
+ 
+ Then add the mason configuration to your configuration file in 
+ %p/etc/apache2/sites-enabled/
+ E.g. add:
+
+ PerlModule HTML::Mason::ApacheHandler
+ <Location />
+   SetHandler perl-script
+   PerlHandler HTML::Mason::ApacheHandler
+ </Location>
+ 
+ Now restart apache2 with '%p/sbin/apachectl graceful'
+ 
+ See http://www.masonhq.com/docs/manual/Admin.html for information.
+<<
 Homepage: http://search.cpan.org/dist/HTML-Mason/
 <<


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to