[csw-devel] SF.net SVN: gar:[8326] csw/mgar/pkg/cpan/MIME-Lite/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Wed Feb 3 10:09:13 CET 2010


Revision: 8326
          http://gar.svn.sourceforge.net/gar/?rev=8326&view=rev
Author:   dmichelsen
Date:     2010-02-03 09:09:13 +0000 (Wed, 03 Feb 2010)

Log Message:
-----------
cpan/MIME-Lite: Complete make-over to mGAR v2

Modified Paths:
--------------
    csw/mgar/pkg/cpan/MIME-Lite/trunk/Makefile
    csw/mgar/pkg/cpan/MIME-Lite/trunk/checksums
    csw/mgar/pkg/cpan/MIME-Lite/trunk/files/config.diff

Added Paths:
-----------
    csw/mgar/pkg/cpan/MIME-Lite/trunk/files/0001-Skip-prompting.patch

Removed Paths:
-------------
    csw/mgar/pkg/cpan/MIME-Lite/trunk/files/CSWpmmimelite.depend
    csw/mgar/pkg/cpan/MIME-Lite/trunk/files/CSWpmmimelite.gspec

Property Changed:
----------------
    csw/mgar/pkg/cpan/MIME-Lite/trunk/


Property changes on: csw/mgar/pkg/cpan/MIME-Lite/trunk
___________________________________________________________________
Modified: svn:externals
   - gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v1

   + gar https://gar.svn.sourceforge.net/svnroot/gar/csw/mgar/gar/v2


Modified: csw/mgar/pkg/cpan/MIME-Lite/trunk/Makefile
===================================================================
--- csw/mgar/pkg/cpan/MIME-Lite/trunk/Makefile	2010-02-03 09:07:27 UTC (rev 8325)
+++ csw/mgar/pkg/cpan/MIME-Lite/trunk/Makefile	2010-02-03 09:09:13 UTC (rev 8326)
@@ -1,9 +1,9 @@
 GARNAME = MIME-Lite
-GARVERSION = 3.01_04
+GARVERSION = 3.027
 CATEGORIES = cpan
-AUTHOR = YVES
+AUTHOR = RJBS
 
-DESCRIPTION = low-calorie MIME generator
+DESCRIPTION = Perl low-calorie MIME generator
 define BLURB
   MIME::Lite is intended as a simple, standalone module for generating (not
   parsing!) MIME messages... specifically, it allows you to output a simple,
@@ -11,15 +11,15 @@
   does not require that you have the Mail:: or MIME:: modules installed.
 endef
 
-DISTFILES += CSWpmmimelite.gspec CSWpmmimelite.depend
+PACKAGES = CSWpmmimelite
+CATALOGNAME = pm_mimelite
 
-# Always add the prerequisite modules
-PATCHFILES = config.diff
+REQUIRED_PKGS = CSWpmmimetypes CSWpmmailtools CSWpmemaildateformat
+PREREQUISITE_PKGS = $(REQUIRED_PKGS)
 
-DEPENDS += cpan/MIME-Types
+# Do not prompt for stuff
+PATCHFILES = 0001-Skip-prompting.patch
 
-# Test seems to work, but wierd test harness makes it difficult
-# to tell why the test fails.  Disable for now.
-TEST_SCRIPTS =
+ARCHALL = 1
 
 include gar/category.mk

Modified: csw/mgar/pkg/cpan/MIME-Lite/trunk/checksums
===================================================================
--- csw/mgar/pkg/cpan/MIME-Lite/trunk/checksums	2010-02-03 09:07:27 UTC (rev 8325)
+++ csw/mgar/pkg/cpan/MIME-Lite/trunk/checksums	2010-02-03 09:09:13 UTC (rev 8326)
@@ -1,4 +1,2 @@
-ec8e4c88c1b865c85d5b9f5475217aaa  download/CSWpmmimelite.gspec
-15fcda8ed992eae8ad3b2d92bce5a2e6  download/CSWpmmimelite.depend
-efaecdde18b40ca57e1ef440a4b4c742  download/MIME-Lite-3.01_04.tar.gz
-be573c9365b3e5b1b974c95a2116d99f  download/config.diff
+28916ea06f829171267766874ccefeec  0001-Skip-prompting.patch
+e857febd66c45f2a5919b031fbe70aa7  MIME-Lite-3.027.tar.gz

Added: csw/mgar/pkg/cpan/MIME-Lite/trunk/files/0001-Skip-prompting.patch
===================================================================
--- csw/mgar/pkg/cpan/MIME-Lite/trunk/files/0001-Skip-prompting.patch	                        (rev 0)
+++ csw/mgar/pkg/cpan/MIME-Lite/trunk/files/0001-Skip-prompting.patch	2010-02-03 09:09:13 UTC (rev 8326)
@@ -0,0 +1,34 @@
+From 86a30aff5287b758ebccdc5d6d96165b9ba83773 Mon Sep 17 00:00:00 2001
+From: Dagobert Michelsen <dam at opencsw.org>
+Date: Tue, 2 Feb 2010 17:52:02 +0100
+Subject: [PATCH] Skip prompting
+
+---
+ Makefile.PL |    4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile.PL b/Makefile.PL
+index 2b0fa6e..cdfeac7 100644
+--- a/Makefile.PL
++++ b/Makefile.PL
+@@ -21,7 +21,7 @@ my %prereq = (
+   'File::Spec'          => 0,
+   'Email::Date::Format' => '1.000', # first release
+ );
+-if (prompt("Add prereqs?",'Yes')=~/y/i) {
++#if (prompt("Add prereqs?",'Yes')=~/y/i) {
+     %prereq=( %prereq,
+               'Mail::Address'     => 1.62,
+               'MIME::Types'       => 1.28,
+@@ -29,7 +29,7 @@ if (prompt("Add prereqs?",'Yes')=~/y/i) {
+               'MIME::Base64'      => undef,
+               'MIME::QuotedPrint' => undef,
+             );
+-}
++#}
+ 
+ # Write the Makefile:
+ WriteMakefile(
+-- 
+1.6.6
+

Deleted: csw/mgar/pkg/cpan/MIME-Lite/trunk/files/CSWpmmimelite.depend
===================================================================
--- csw/mgar/pkg/cpan/MIME-Lite/trunk/files/CSWpmmimelite.depend	2010-02-03 09:07:27 UTC (rev 8325)
+++ csw/mgar/pkg/cpan/MIME-Lite/trunk/files/CSWpmmimelite.depend	2010-02-03 09:09:13 UTC (rev 8326)
@@ -1 +0,0 @@
-P CSWpmmimetypes pm_mimetypes - definition of MIME types

Deleted: csw/mgar/pkg/cpan/MIME-Lite/trunk/files/CSWpmmimelite.gspec
===================================================================
--- csw/mgar/pkg/cpan/MIME-Lite/trunk/files/CSWpmmimelite.gspec	2010-02-03 09:07:27 UTC (rev 8325)
+++ csw/mgar/pkg/cpan/MIME-Lite/trunk/files/CSWpmmimelite.gspec	2010-02-03 09:09:13 UTC (rev 8326)
@@ -1,5 +0,0 @@
-%var            bitname pm_mimelite
-%var            pkgname CSWpmmimelite
-%var            arch all
-%include        url file://%{PKGLIB}/csw_cpan.gspec
-%copyright      url file://%{WORKSRC}/COPYING

Modified: csw/mgar/pkg/cpan/MIME-Lite/trunk/files/config.diff
===================================================================
--- csw/mgar/pkg/cpan/MIME-Lite/trunk/files/config.diff	2010-02-03 09:07:27 UTC (rev 8325)
+++ csw/mgar/pkg/cpan/MIME-Lite/trunk/files/config.diff	2010-02-03 09:09:13 UTC (rev 8326)
@@ -2,35 +2,35 @@
 --- MIME-Lite-3.01_04.orig/Makefile.PL	2004-05-07 10:04:57.000000000 -0700
 +++ MIME-Lite-3.01_04/Makefile.PL	2004-05-17 16:17:26.501373000 -0700
 @@ -5,6 +5,8 @@
- # Makefile:
- #------------------------------------------------------------
- 
-+=head1 COMMENTED
-+
- print "MIME::Lite is designed to take advantage of a variety of external modules\n",
-       "if they are not present then MIME::Lite will attempt to do its best\n",
-       "but its strongly recommend that you install them.\n\n",
+ # Makefile:
+ #------------------------------------------------------------
+ 
++=head1 COMMENTED
++
+ print "MIME::Lite is designed to take advantage of a variety of external modules\n",
+       "if they are not present then MIME::Lite will attempt to do its best\n",
+       "but its strongly recommend that you install them.\n\n",
 @@ -19,15 +21,22 @@
-       "automatically installed if they arent already present\n";
- my %prereq;
- if (prompt("Add prereqs?",'Yes')=~/y/i) {
--    %prereq=(
-+
-+=cut
-+
-+    my %prereq=(
-               'Mail::Address'     => 1.62,
-               'MIME::Types'       => 1.13,
-               'File::Basename'    => undef,
-               'MIME::Base64'      => undef,
-               'MIME::QuotedPrint' => undef,
-             );
-+
-+=head1 COMMENTED
-+
- }
- 
-+=cut
- 
- 
- 
+       "automatically installed if they arent already present\n";
+ my %prereq;
+ if (prompt("Add prereqs?",'Yes')=~/y/i) {
+-    %prereq=(
++
++=cut
++
++    my %prereq=(
+               'Mail::Address'     => 1.62,
+               'MIME::Types'       => 1.13,
+               'File::Basename'    => undef,
+               'MIME::Base64'      => undef,
+               'MIME::QuotedPrint' => undef,
+             );
++
++=head1 COMMENTED
++
+ }
+ 
++=cut
+ 
+ 
+ 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list