[csw-devel] SF.net SVN: gar:[8522] csw/mgar/pkg/mutt/trunk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Fri Feb 12 15:23:36 CET 2010


Revision: 8522
          http://gar.svn.sourceforge.net/gar/?rev=8522&view=rev
Author:   dmichelsen
Date:     2010-02-12 14:23:36 +0000 (Fri, 12 Feb 2010)

Log Message:
-----------
mutt: Add meta-package and notice on alternatives

Modified Paths:
--------------
    csw/mgar/pkg/mutt/trunk/Makefile
    csw/mgar/pkg/mutt/trunk/checksums

Added Paths:
-----------
    csw/mgar/pkg/mutt/trunk/files/CSWmutt.postmsg

Modified: csw/mgar/pkg/mutt/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mutt/trunk/Makefile	2010-02-12 14:16:20 UTC (rev 8521)
+++ csw/mgar/pkg/mutt/trunk/Makefile	2010-02-12 14:23:36 UTC (rev 8522)
@@ -17,11 +17,12 @@
 VENDOR_URL   = http://www.mutt.org
 MASTER_SITES = $(SF_MIRRORS)
 DISTFILES    = $(GARNAME)-$(GARVERSION).tar.gz
+DISTFILES   += CSWmutt.postmsg
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
 LICENSE = COPYRIGHT
 
-PACKAGES = CSWmutt-base CSWmutt-ncurses CSWmutt-slang
+PACKAGES = CSWmutt CSWmutt-base CSWmutt-ncurses CSWmutt-slang
 
 RUNTIME_DEP_PKGS_core  = CSWgdbm
 RUNTIME_DEP_PKGS_core += CSWggettextrt
@@ -35,14 +36,17 @@
 RUNTIME_DEP_PKGS_CSWmutt-ncurses = $(RUNTIME_DEP_PKGS_core) CSWmutt-base CSWncurses
 RUNTIME_DEP_PKGS_CSWmutt-slang   = $(RUNTIME_DEP_PKGS_core) CSWmutt-base CSWslang
 RUNTIME_DEP_PKGS_CSWmutt-base    = CSWggettextrt CSWiconv CSWlibidn
+RUNTIME_DEP_PKGS_CSWmutt         = CSWmutt-ncurses CSWmutt-slang
 
 CATALOGNAME_CSWmutt-base = mutt_base
 CATALOGNAME_CSWmutt-ncurses = mutt_ncurses
 CATALOGNAME_CSWmutt-slang = mutt_slang
+CATALOGNAME_CSWmutt = mutt
 
 SPKG_DESC_CSWmutt-base = $(DESCRIPTION)
 SPKG_DESC_CSWmutt-ncurses = Mutt mail client with ncurses interface
 SPKG_DESC_CSWmutt-slang = Mutt mail client with slang interface
+SPKG_DESC_CSWmutt = Metapackage for mutt with ncurses- and slang-interface
 
 # Raise optimizer level unless this bug has been fixed:
 #   http://dev.mutt.org/trac/ticket/3347
@@ -81,13 +85,25 @@
 EXTRA_PAX_ARGS_slang-yes = -s ",\.$(bindir)/mutt$$,.$(bindir)/mutt-slang,p" -s ",.*,,"
 EXTRA_PAX_ARGS = $(EXTRA_PAX_ARGS_slang-$(SLANG))
 
+POSTMSG = $(docdir)/mutt/CSWmutt.postmsg
+
 # CSWmutt-base gets all the rest
 PKGFILES_CSWmutt-ncurses = $(bindir)/mutt-ncurses
 PKGFILES_CSWmutt-slang = $(bindir)/mutt-slang
+PKGFILES_CSWmutt = $(POSTMSG)
 
 ALTERNATIVES_CSWmutt-ncurses = ncurses
 ALTERNATIVES_CSWmutt-slang = slang
 ALTERNATIVE_ncurses = $(bindir)/mutt mutt $(bindir)/mutt-ncurses 100
 ALTERNATIVE_slang = $(bindir)/mutt mutt $(bindir)/mutt-slang 200
 
+# This warning from checkpkg is obviously wrong...
+CHECKPKG_OVERRIDES_CSWmutt-base = CSWmutt-base|missing-dependency|CSWperl
+
 include gar/category.mk
+
+post-merge:
+	ginstall -d $(PKGROOT)$(docdir)/mutt/
+	ginstall $(WORKDIR)/CSWmutt.postmsg $(PKGROOT)$(docdir)/mutt/CSWmutt.postmsg
+	@$(MAKECOOKIE)
+	

Modified: csw/mgar/pkg/mutt/trunk/checksums
===================================================================
--- csw/mgar/pkg/mutt/trunk/checksums	2010-02-12 14:16:20 UTC (rev 8521)
+++ csw/mgar/pkg/mutt/trunk/checksums	2010-02-12 14:23:36 UTC (rev 8522)
@@ -1 +1,2 @@
+f4dc40545ed4a4dd66f18782df282892  CSWmutt.postmsg
 027cdd9959203de0c3c64149a7ee351c  mutt-1.5.20.tar.gz

Added: csw/mgar/pkg/mutt/trunk/files/CSWmutt.postmsg
===================================================================
--- csw/mgar/pkg/mutt/trunk/files/CSWmutt.postmsg	                        (rev 0)
+++ csw/mgar/pkg/mutt/trunk/files/CSWmutt.postmsg	2010-02-12 14:23:36 UTC (rev 8522)
@@ -0,0 +1,12 @@
+There are now two versions of mutt on the system installed:
+
+  * mutt-ncurses  with ncurses interface
+  * mutt-slang    with slang interface (per default linked to 'mutt')
+
+You can easily select between the versions with the alternatives(8)
+system by executing
+
+  /opt/csw/sbin/alternatives --config mutt
+
+See http://wiki.opencsw.org/package-alternatives for details.
+


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