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

skayser at users.sourceforge.net skayser at users.sourceforge.net
Thu Jun 25 23:44:50 CEST 2009


Revision: 5365
          http://gar.svn.sourceforge.net/gar/?rev=5365&view=rev
Author:   skayser
Date:     2009-06-25 21:44:50 +0000 (Thu, 25 Jun 2009)

Log Message:
-----------
autossh: move the b in 1.4b to the rev field for pkg-get compatibility purposes

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

Modified: csw/mgar/pkg/autossh/trunk/Makefile
===================================================================
--- csw/mgar/pkg/autossh/trunk/Makefile	2009-06-25 21:14:58 UTC (rev 5364)
+++ csw/mgar/pkg/autossh/trunk/Makefile	2009-06-25 21:44:50 UTC (rev 5365)
@@ -5,7 +5,8 @@
 #   formats properly (right now no formatting works, no paragraphs
 #   no headings, no nothing).
 GARNAME = autossh
-GARVERSION = 1.4b
+GARVERSION = 1.4
+RELEASE = b
 CATEGORIES = net
 
 DESCRIPTION = Automatically restart SSH sessions and tunnels
@@ -16,8 +17,13 @@
 endef
 
 MASTER_SITES = http://www.harding.motd.ca/autossh/
-DISTFILES  = $(GARNAME)-$(GARVERSION).tgz
 
+# We need to move the "b" in version to the end to make it
+# pkg-get compatible.
+DISTVERSION = $(GARVERSION)$(RELEASE)
+DISTNAME = $(GARNAME)-$(DISTVERSION)
+DISTFILES  = $(DISTNAME).tgz
+
 TEST_SCRIPTS =
 INSTALL_SCRIPTS = custom
 
@@ -29,6 +35,8 @@
 
 include gar/category.mk
 
+SPKG_REVSTAMP := $(SPKG_REVSTAMP)_$(RELEASE)
+
 # Makefile doesn't honor $(DESTDIR) so we have to do it manually
 install-custom: DOCDEST=$(DESTDIR)$(docdir)/$(GARNAME)
 install-custom: DOCS=CHANGES README


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