Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/perlmods In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv18917
Modified Files: mojolicious-pm.info Log Message: fix validation problems of variant orthogonality: location of manpage (goes in perlvarianted location) and executables (rename to varianted, use update-alternatives to select); new version (why the heck not?). Okayed w/maintainer Index: mojolicious-pm.info =================================================================== RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/libs/perlmods/mojolicious-pm.info,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- mojolicious-pm.info 16 Jun 2013 13:59:35 -0000 1.8 +++ mojolicious-pm.info 7 Jul 2013 01:12:46 -0000 1.9 @@ -1,13 +1,13 @@ Info2: << Package: mojolicious-pm%type_pkg[perl] -Version: 4.14 +Version: 4.17 Revision: 1 Description: The Mojolicious MVC Perl web framework Type: perl (5.12.3 5.12.4) License: Artistic Maintainer: Sjors Gielen <f...@sjorsgielen.nl> Source: mirror:cpan:authors/id/S/SR/SRI/Mojolicious-%v.tar.gz -Source-MD5: 1618d2b8654d04b01a819cc94c56c977 +Source-MD5: 489011fa8345ec517c999e591ce73093 Homepage: http://mojolicio.us/ #Type:perl handles the perl-interp version and dependency @@ -24,6 +24,30 @@ TestScript: make test || exit 2 << +InstallScript: << +#!/bin/sh -ev + %{default_script} + mv %i/share/man %i/lib/perl5/%type_raw[perl] + for prog in hypnotoad mojo morbo; do + mv %i/bin/$prog %i/bin/$prog-%type_raw[perl] + done +<< + +PostInstScript: << + if [ "$1" = "configure" ]; then + for prog in hypnotoad mojo morbo; do + update-alternatives --install %p/bin/$prog $prog %p/bin/$prog-%type_raw[perl] %type_pkg[perl] + done + fi +<< +PreRmScript: << + if [ "$1" = "remove" ]; then + for prog in hypnotoad mojo morbo; do + update-alternatives --remove $prog %p/bin/$prog-%type_raw[perl] + done + fi +<< + DescDetail: << Back in the early days of the web, many people learned Perl because of a wonderful Perl library called CGI. It was simple enough to get started ------------------------------------------------------------------------------ This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev _______________________________________________ Fink-commits mailing list Fink-commits@lists.sourceforge.net http://news.gmane.org/gmane.os.apple.fink.cvs