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

skayser at users.sourceforge.net skayser at users.sourceforge.net
Tue Mar 15 20:03:30 CET 2011


Revision: 13818
          http://gar.svn.sourceforge.net/gar/?rev=13818&view=rev
Author:   skayser
Date:     2011-03-15 19:03:30 +0000 (Tue, 15 Mar 2011)

Log Message:
-----------
mgar: add bash auto completion

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

Modified: csw/mgar/pkg/mgar/trunk/Makefile
===================================================================
--- csw/mgar/pkg/mgar/trunk/Makefile	2011-03-15 18:28:59 UTC (rev 13817)
+++ csw/mgar/pkg/mgar/trunk/Makefile	2011-03-15 19:03:30 UTC (rev 13818)
@@ -1,10 +1,7 @@
 # TODO (release-critical prefixed with !, non release-critical with *)
-# ! Check man pages for formatting/spelling bugs. Edit getting started to
-#   include some common tasks (see mgar wiki page).
-# ! Add a license
-# * Add bash auto-completion configuration
+#
 NAME = mgar
-VERSION = 0.90
+VERSION = 0.91
 CATEGORIES = apps
 
 DESCRIPTION = Command line interface to the OpenCSW build system
@@ -14,7 +11,7 @@
 
 VENDOR_URL = http://gar.opencsw.org
 SVNROOT    = https://opencsw.svn.sourceforge.net/svnroot/opencsw/gar-wrapper
-SVNREV     = 317
+SVNREV     = 329
 
 ARCHALL = 1
 
@@ -23,6 +20,7 @@
 RUNTIME_DEP_PKGS += CSWfindutils
 RUNTIME_DEP_PKGS += CSWgmake
 RUNTIME_DEP_PKGS += CSWsvn
+RUNTIME_DEP_PKGS += CSWbashcmplt
 RUNTIME_DEP_PKGS += CSWgardevel # Meta pkg. Pulls in deps required by GAR.
 
 CHECKPKG_OVERRIDES_CSWmgar += surplus-dependency
@@ -37,13 +35,13 @@
 build-custom:
 	svn export --force -r $(SVNREV) $(SVNROOT)/ $(WORKSRC)
 	a2x -d manpage -f manpage $(WORKSRC)/mgar.1.txt
-	a2x -d manpage -f manpage $(WORKSRC)/mgar.5.txt
 	$(MAKECOOKIE)
 
 install-custom:
 	mkdir -p $(DESTDIR)$(bindir)
 	mkdir -p $(DESTDIR)$(mandir)/man1 $(DESTDIR)$(mandir)/man5
+	mkdir -p $(DESTDIR)$(prefix)/etc/bash_completion.d
 	cp $(WORKSRC)/mgar $(DESTDIR)$(bindir)
 	cp $(WORKSRC)/mgar.1 $(DESTDIR)$(mandir)/man1/
-	cp $(WORKSRC)/mgar.5 $(DESTDIR)$(mandir)/man5/
+	cp $(WORKSRC)/bash_completion.mgar $(DESTDIR)$(prefix)/etc/bash_completion.d
 	$(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