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

igalic at users.sourceforge.net igalic at users.sourceforge.net
Thu Sep 8 01:05:49 CEST 2011


Revision: 15561
          http://gar.svn.sourceforge.net/gar/?rev=15561&view=rev
Author:   igalic
Date:     2011-09-07 23:05:48 +0000 (Wed, 07 Sep 2011)
Log Message:
-----------
Rename lib to incorporate soname.
remove deprecated directives
replace renaming with a variable.

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

Modified: csw/mgar/pkg/tcl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/tcl/trunk/Makefile	2011-09-07 22:59:25 UTC (rev 15560)
+++ csw/mgar/pkg/tcl/trunk/Makefile	2011-09-07 23:05:48 UTC (rev 15561)
@@ -13,10 +13,8 @@
 DISTFILES += soname.diff
 DISTFILES += tcl.m4.patch
 
-# We define upstream file regex so we can be notifed of new upstream software release
 UPSTREAM_MASTER_SITES = $(SF_PROJECT_SHOWFILE)=10894
 UPSTREAM_USE_SF = 1
-UFILES_REGEX = $(NAME)(\d+(?:\.\d+)*)-src.tar.gz
 
 VENDOR_URL = http://www.tcl.tk/
 LICENSE = license.terms
@@ -27,32 +25,33 @@
 #PATCHFILES += tclInt.h.patch
 
 REN_LIBTCL  = libtcl8.5.so
+REN_TCLSH   = tclsh8.5
 
 PATCHDIR = $(WORKDIR)/$(DISTNAME)
 PATCHFILES  = soname.diff
 PATCHFILES += tcl.m4.patch
 
 PACKAGES  = CSWtcl
-PACKAGES += CSWlibtcl8-5
+PACKAGES += CSWlibtcl8-5-0
 PACKAGES += CSWtcl-dev
 PACKAGES += CSWtcl-doc
-CATALOGNAME_CSWtcl       = tcl
-CATALOGNAME_CSWlibtcl8-5 = libtcl8_5
-CATALOGNAME_CSWtcl-dev   = tcl_dev
-CATALOGNAME_CSWtcl-doc   = tcl_doc
 
-RUNTIME_DEP_PKGS_CSWtcl       += CSWsunmath
-RUNTIME_DEP_PKGS_CSWlibtcl8-5 += CSWsunmath
+RUNTIME_DEP_PKGS_CSWtcl         += CSWsunmath
+RUNTIME_DEP_PKGS_CSWtcl         += CSWlibtcl8-5-0
+RUNTIME_DEP_PKGS_CSWlibtcl8-5-0 += CSWsunmath
+RUNTIME_DEP_PKGS_CSWtcl-dev     += CSWlibtcl8-5-0
 
-SPKG_DESC_CSWtcl        = $(DESCRIPTION)
-SPKG_DESC_CSWlibtcl8-5  = $(DESCRIPTION), libraries
-SPKG_DESC_CSWtcl-dev    = $(DESCRIPTION), development files
-SPKG_DESC_CSWtcl-doc    = $(DESCRIPTION), documentation
+SPKG_DESC_CSWtcl          = $(DESCRIPTION)
+SPKG_DESC_CSWlibtcl8-5-0  = $(DESCRIPTION), libraries
+SPKG_DESC_CSWtcl-dev      = $(DESCRIPTION), development files
+SPKG_DESC_CSWtcl-doc      = $(DESCRIPTION), documentation
 
-PKGFILES_CSWlibtcl8-5   = $(call pkgfiles_lib,libtcl8.5.so.0)
-PKGFILES_CSWtcl-dev     = $(PKGFILES_DEVEL)
-PKGFILES_CSWtcl-doc     = $(PKGFILES_DOC)
+PKGFILES_CSWlibtcl8-5-0   = $(call pkgfiles_lib,libtcl8.5.so.0)
+PKGFILES_CSWtcl-dev       = $(PKGFILES_DEVEL)
+PKGFILES_CSWtcl-doc       = $(PKGFILES_DOC)
 
+ARCHALL_CSWtcl-doc = 1 
+
 BUILD64 = 1
 
 INCLUDE_FLAGS =
@@ -95,23 +94,23 @@
 post-install-isa-sparcv8:
 	@# Need to manually create symlink to latest version
 	@echo Creating tclsh link
-	@ln -s tclsh8.5 $(INSTALLISADIR)/$(bindir)/tclsh
+	@ln -s $(REN_TCLSH) $(INSTALLISADIR)/$(bindir)/tclsh
 	@$(MAKECOOKIE)
 
 post-install-isa-sparcv9:
 	@# Need to manually create symlink to latest version
 	@echo Creating tclsh link
-	@ln -s tclsh8.5 $(INSTALLISADIR)/$(bindir)/tclsh
+	@ln -s $(REN_TCLSH) $(INSTALLISADIR)/$(bindir)/tclsh
 	@$(MAKECOOKIE)
 
 post-install-isa-i386:
 	@# Need to manually create symlink to latest version
 	@echo Creating tclsh link
-	@ln -s tclsh8.5 $(INSTALLISADIR)/$(bindir)/tclsh
+	@ln -s $(REN_TCLSH) $(INSTALLISADIR)/$(bindir)/tclsh
 	@$(MAKECOOKIE)
 
 post-install-isa-amd64:
 	@# Need to manually create symlink to latest version
 	@echo Creating tclsh link
-	@ln -s tclsh8.5 $(INSTALLISADIR)/$(bindir)/tclsh
+	@ln -s $(REN_TCLSH) $(INSTALLISADIR)/$(bindir)/tclsh
 	@$(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