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

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Sat Jan 16 20:32:02 CET 2010


Revision: 8033
          http://gar.svn.sourceforge.net/gar/?rev=8033&view=rev
Author:   dmichelsen
Date:     2010-01-16 19:32:02 +0000 (Sat, 16 Jan 2010)

Log Message:
-----------
mutt: Add custom merge rules and split into different packages

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

Modified: csw/mgar/pkg/mutt/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mutt/trunk/Makefile	2010-01-16 15:23:32 UTC (rev 8032)
+++ csw/mgar/pkg/mutt/trunk/Makefile	2010-01-16 19:32:02 UTC (rev 8033)
@@ -15,8 +15,22 @@
 # We define upstream file regex so we can be notifed of new upstream software release
 UFILES_REGEX = $(GARNAME)-(\d+(?:\.\d+)*).tar.gz
 
-REQUIRED_PKGS = CSWggettextrt CSWiconv CSWlibidn CSWncurses
+LICENSE = COPYRIGHT
 
+PACKAGES = CSWmutt-base CSWmutt-ncurses CSWmutt-slang
+
+REQUIRED_PKGS_CSWmutt-base = CSWggettextrt CSWiconv CSWlibidn
+REQUIRED_PKGS_CSWmutt-ncurses = CSWmutt-base CSWncurses CSWggettextrt CSWiconv CSWlibidn
+REQUIRED_PKGS_CSWmutt-slang = CSWmutt-base CSWslang CSWggettextrt CSWiconv CSWlibidn
+
+CATALOGNAME_CSWmutt-base = mutt_base
+CATALOGNAME_CSWmutt-ncurses = mutt_ncurses
+CATALOGNAME_CSWmutt-slang = mutt_slang
+
+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
+
 # Raise optimizer level unless this bug has been fixed:
 #   http://dev.mutt.org/trac/ticket/3347
 OPT_FLAGS_SOS = -xO4
@@ -33,6 +47,19 @@
 PRESERVECONF  = $(sysconfdir)/mime.types
 PRESERVECONF += $(sysconfdir)/Muttrc
 
-MIGRATE_FILES = mime.types Muttrc
+EXTRA_MERGE_EXCLUDE_FILES = .*\.dist
 
+MIGRATE_FILES_CSWmutt-base = mime.types Muttrc
+
+MERGE_SCRIPTS_isa-default-slang-no = copy-all
+MERGE_SCRIPTS_isa-default-slang-yes = copy-mutt-only
+
+PKGFILES_CSWmutt-ncurses = $(bindir)/mutt
+PKGFILES_CSWmutt-slang = $(bindir)/mutt-slang
+
 include gar/category.mk
+
+merge-copy-mutt-only: $(PKGROOT)
+	ginstall -d $(PKGROOT)$(bindir)
+	ginstall $(INSTALLISADIR)$(bindir)/mutt $(PKGROOT)$(bindir)/mutt-slang
+	@$(MAKECOOKIE)


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