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

bdwalton at users.sourceforge.net bdwalton at users.sourceforge.net
Thu Mar 19 16:47:40 CET 2009


Revision: 3820
          http://gar.svn.sourceforge.net/gar/?rev=3820&view=rev
Author:   bdwalton
Date:     2009-03-19 15:47:39 +0000 (Thu, 19 Mar 2009)

Log Message:
-----------
Version bump to 1.6.2.1
Modify how PKGFILES_ are put together to be more specific.

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

Modified: csw/mgar/pkg/git/trunk/Makefile
===================================================================
--- csw/mgar/pkg/git/trunk/Makefile	2009-03-19 14:37:46 UTC (rev 3819)
+++ csw/mgar/pkg/git/trunk/Makefile	2009-03-19 15:47:39 UTC (rev 3820)
@@ -1,5 +1,5 @@
 GARNAME = git
-GARVERSION = 1.6.2
+GARVERSION = 1.6.2.1
 CATEGORIES = devel
 
 PACKAGES = CSWgit CSWgitk CSWgitgui CSWgitsvn CSWgitcvs CSWgitemacs CSWgitdoc
@@ -65,12 +65,17 @@
 PATCHFILES += 0006-configure-make-iconv-tests-aware-of-user-arguments.patch
 PATCHFILES += 0007-configure-rework-pthread-handling-to-allow-for-user.patch
 
-PKGFILES_CSWgitsvn = .*svn.*
-PKGFILES_CSWgitgui = .*git-gui.* .*git-citool.*
-PKGFILES_CSWgitk = .*gitk.*
+fdirs = $(bindir_install) $(mandir) $(libexecdir_install)
+define _git_files
+$(foreach d,$(fdirs),$(d)/.*$(1).*) $(sharedstatedir)/$(1).*
+endef
+
+PKGFILES_CSWgitsvn = $(call _git_files,git-svn)
+PKGFILES_CSWgitgui = $(call _git_files,git-gui) $(call _git_files,git-citool)
+PKGFILES_CSWgitk = $(call _git_files,gitk)
+PKGFILES_CSWgitcvs = $(foreach d,$(fdirs),$(d)/.*cvs.*)
 PKGFILES_CSWgitemacs = .*emacs.*
-PKGFILES_CSWgitcvs = .*cvs.*
-PKGFILES_CSWgitdoc = $(PKGFILES_DOC)
+PKGFILES_CSWgitdoc = $(docdir)/.*
 
 # We define upstream file regex so we can be notifed of new upstream
 # software release


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